Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 105.3 kB / 16.41 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 191.6 kB / 17.34 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.431/2.431, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.12 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9354/0.9367, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1909/1.128, allocations: 179.4 MB / 1.343 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009316/1.137, allocations: 7.822 MB / 1.35 GB, free: 7.891 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006968/1.138, allocations: 23.88 kB / 1.35 GB, free: 7.867 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008205/1.139, allocations: 242.2 kB / 1.35 GB, free: 7.629 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003427/1.142, allocations: 1.276 MB / 1.352 GB, free: 6.348 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002036/1.144, allocations: 0.7391 MB / 1.352 GB, free: 5.609 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001364/1.145, allocations: 1.072 MB / 1.353 GB, free: 4.535 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006036/1.146, allocations: 413.4 kB / 1.354 GB, free: 4.125 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/1.149, allocations: 0.864 MB / 1.355 GB, free: 3.27 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007253/1.149, allocations: 434.4 kB / 1.355 GB, free: 2.844 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.945e-05/1.149, allocations: 36 kB / 1.355 GB, free: 2.809 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/1.151, allocations: 0.951 MB / 1.356 GB, free: 1.855 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/1.152, allocations: 155.6 kB / 1.356 GB, free: 1.703 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002439/1.152, allocations: 250.7 kB / 1.356 GB, free: 1.457 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001421/1.153, allocations: 0.9468 MB / 1.357 GB, free: 0.5117 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/1.153, allocations: 0 / 1.357 GB, free: 0.5117 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.813e-06/1.153, allocations: 3.938 kB / 1.357 GB, free: 0.5078 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.117e-06/1.153, allocations: 0 / 1.357 GB, free: 0.5078 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001195/1.154, allocations: 0.8134 MB / 1.358 GB, free: 15.64 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/1.154, allocations: 12.88 kB / 1.358 GB, free: 15.63 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009728/1.155, allocations: 159.5 kB / 1.358 GB, free: 15.47 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005813/1.156, allocations: 411.6 kB / 1.359 GB, free: 15.03 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/1.156, allocations: 29 kB / 1.359 GB, free: 15 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/1.156, allocations: 36 kB / 1.359 GB, free: 14.97 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007131/1.157, allocations: 446.4 kB / 1.359 GB, free: 14.51 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/1.157, allocations: 3.984 kB / 1.359 GB, free: 14.5 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/1.157, allocations: 23.88 kB / 1.359 GB, free: 14.48 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/1.157, allocations: 8 kB / 1.359 GB, free: 14.47 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005861/1.158, allocations: 327.8 kB / 1.36 GB, free: 14.15 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/1.16, allocations: 2.004 MB / 1.361 GB, free: 11.98 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/1.16, allocations: 242.4 kB / 1.362 GB, free: 11.73 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/1.16, allocations: 152.8 kB / 1.362 GB, free: 11.58 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005706/1.161, allocations: 311.2 kB / 1.362 GB, free: 11.22 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/1.161, allocations: 34.56 kB / 1.362 GB, free: 11.18 MB / 1.092 GB Notification: Performance of pre-optimization done (n=24): time 2.194e-06/1.161, allocations: 0 / 1.362 GB, free: 11.18 MB / 1.092 GB Notification: Performance of matching and sorting (n=24): time 0.001024/1.162, allocations: 455.9 kB / 1.363 GB, free: 10.73 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/1.162, allocations: 55.34 kB / 1.363 GB, free: 10.66 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/1.163, allocations: 405.9 kB / 1.363 GB, free: 10.25 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/1.163, allocations: 29.7 kB / 1.363 GB, free: 10.22 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/1.163, allocations: 232.5 kB / 1.363 GB, free: 9.988 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/1.163, allocations: 91.2 kB / 1.363 GB, free: 9.898 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.066e-05/1.163, allocations: 53.66 kB / 1.363 GB, free: 9.84 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.163, allocations: 354.7 kB / 1.364 GB, free: 9.484 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/1.163, allocations: 115.9 kB / 1.364 GB, free: 9.371 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/1.164, allocations: 183.8 kB / 1.364 GB, free: 9.168 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/1.164, allocations: 304.9 kB / 1.364 GB, free: 8.848 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.164, allocations: 4 kB / 1.364 GB, free: 8.844 MB / 1.092 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000618/1.165, allocations: 369 kB / 1.365 GB, free: 8.477 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/1.165, allocations: 4 kB / 1.365 GB, free: 8.473 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/1.165, allocations: 4 kB / 1.365 GB, free: 8.469 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/1.165, allocations: 0 / 1.365 GB, free: 8.469 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/1.165, allocations: 63.91 kB / 1.365 GB, free: 8.406 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.165, allocations: 4.219 kB / 1.365 GB, free: 8.402 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/1.165, allocations: 43.72 kB / 1.365 GB, free: 8.359 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/1.165, allocations: 8 kB / 1.365 GB, free: 8.352 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001953/1.166, allocations: 165.7 kB / 1.365 GB, free: 8.18 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.467e-05/1.166, allocations: 47.7 kB / 1.365 GB, free: 8.133 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007214/1.166, allocations: 372.4 kB / 1.365 GB, free: 7.766 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.166, allocations: 8 kB / 1.365 GB, free: 7.758 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.166, allocations: 3.984 kB / 1.365 GB, free: 7.754 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.166, allocations: 0 / 1.365 GB, free: 7.754 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/1.168, allocations: 0.9431 MB / 1.366 GB, free: 6.734 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/1.168, allocations: 4 kB / 1.366 GB, free: 6.73 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/1.168, allocations: 43.97 kB / 1.366 GB, free: 6.688 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/1.168, allocations: 7.938 kB / 1.366 GB, free: 6.68 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/1.168, allocations: 11.94 kB / 1.366 GB, free: 6.668 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/1.168, allocations: 4 kB / 1.366 GB, free: 6.664 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.168, allocations: 0 / 1.366 GB, free: 6.664 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009051/1.169, allocations: 0.6338 MB / 1.367 GB, free: 5.992 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/1.169, allocations: 148.8 kB / 1.367 GB, free: 5.828 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.473e-05/1.169, allocations: 8 kB / 1.367 GB, free: 5.82 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/1.169, allocations: 11.98 kB / 1.367 GB, free: 5.809 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/1.17, allocations: 19.98 kB / 1.367 GB, free: 5.789 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/1.17, allocations: 11.98 kB / 1.367 GB, free: 5.777 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002555/1.17, allocations: 283.2 kB / 1.367 GB, free: 5.504 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.9e-07/1.17, allocations: 0 / 1.367 GB, free: 5.504 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004537/1.17, allocations: 111.8 kB / 1.368 GB, free: 5.395 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004267/1.171, allocations: 173.8 kB / 1.368 GB, free: 5.219 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005782/1.171, allocations: 291.6 kB / 1.368 GB, free: 4.934 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.171, allocations: 4 kB / 1.368 GB, free: 4.93 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002674/1.172, allocations: 149.6 kB / 1.368 GB, free: 4.785 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/1.173, allocations: 221.9 kB / 1.368 GB, free: 4.578 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/1.174, allocations: 0.8476 MB / 1.369 GB, free: 3.676 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/1.174, allocations: 0.8233 MB / 1.37 GB, free: 2.824 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/1.174, allocations: 39.42 kB / 1.37 GB, free: 2.785 MB / 1.092 GB Notification: Performance of SimCode: time 1.623e-06/1.174, allocations: 0 / 1.37 GB, free: 2.785 MB / 1.092 GB Notification: Performance of Templates: time 0.01033/1.185, allocations: 6.844 MB / 1.377 GB, free: 12.02 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches