Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.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.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 106.1 kB / 16.41 MB, free: 6.469 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.001557/0.001557, allocations: 187 kB / 17.34 MB, free: 5.715 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.08 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.447/2.447, allocations: 437 MB / 0.7112 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9408/0.9421, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.00395/0.9461, allocations: 2.38 MB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1839/1.13, allocations: 151 MB / 1.317 GB, free: 9.883 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/1.13, allocations: 7.938 kB / 1.317 GB, free: 9.875 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000411/1.131, allocations: 103.2 kB / 1.317 GB, free: 9.777 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007379/1.132, allocations: 242.5 kB / 1.317 GB, free: 9.539 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/1.133, allocations: 0.6563 MB / 1.318 GB, free: 8.891 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004927/1.134, allocations: 446.5 kB / 1.318 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/1.134, allocations: 44.73 kB / 1.319 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/1.134, allocations: 191.4 kB / 1.319 GB, free: 8.227 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/1.134, allocations: 199.3 kB / 1.319 GB, free: 8.031 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.114e-05/1.134, allocations: 28 kB / 1.319 GB, free: 8.004 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/1.136, allocations: 0.6278 MB / 1.32 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/1.136, allocations: 79.73 kB / 1.32 GB, free: 7.297 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/1.136, allocations: 167.2 kB / 1.32 GB, free: 7.133 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008734/1.137, allocations: 0.6587 MB / 1.32 GB, free: 6.477 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.137, allocations: 0 / 1.32 GB, free: 6.477 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.813e-06/1.137, allocations: 0 / 1.32 GB, free: 6.477 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.543e-06/1.137, allocations: 0 / 1.32 GB, free: 6.477 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001546/1.138, allocations: 0.7564 MB / 1.321 GB, free: 5.664 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.138, allocations: 16.86 kB / 1.321 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/1.14, allocations: 160.6 kB / 1.321 GB, free: 5.492 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/1.141, allocations: 318.9 kB / 1.322 GB, free: 5.141 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/1.141, allocations: 49.69 kB / 1.322 GB, free: 5.086 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/1.141, allocations: 16 kB / 1.322 GB, free: 5.07 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/1.141, allocations: 212.1 kB / 1.322 GB, free: 4.848 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/1.141, allocations: 0 / 1.322 GB, free: 4.848 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/1.141, allocations: 8 kB / 1.322 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/1.141, allocations: 4 kB / 1.322 GB, free: 4.836 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/1.141, allocations: 116.1 kB / 1.322 GB, free: 4.723 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/1.144, allocations: 0.9887 MB / 1.323 GB, free: 3.676 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007804/1.145, allocations: 162.5 kB / 1.323 GB, free: 3.508 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/1.145, allocations: 100.8 kB / 1.323 GB, free: 3.406 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/1.145, allocations: 0 / 1.323 GB, free: 3.406 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/1.145, allocations: 199.1 kB / 1.323 GB, free: 3.195 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/1.145, allocations: 0 / 1.323 GB, free: 3.195 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.00413/1.15, allocations: 0.8636 MB / 1.324 GB, free: 2.297 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/1.15, allocations: 81.11 kB / 1.324 GB, free: 2.199 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004465/1.15, allocations: 348.4 kB / 1.325 GB, free: 1.848 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/1.15, allocations: 29.7 kB / 1.325 GB, free: 1.812 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/1.15, allocations: 156.6 kB / 1.325 GB, free: 1.656 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.285e-05/1.15, allocations: 55.55 kB / 1.325 GB, free: 1.602 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/1.151, allocations: 77.94 kB / 1.325 GB, free: 1.52 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.151, allocations: 346.8 kB / 1.325 GB, free: 1.172 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/1.151, allocations: 144.5 kB / 1.325 GB, free: 1.031 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004121/1.151, allocations: 213.4 kB / 1.326 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/1.152, allocations: 349.4 kB / 1.326 GB, free: 452 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.152, allocations: 0 / 1.326 GB, free: 452 kB / 1.045 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003647/1.156, allocations: 0.8562 MB / 1.327 GB, free: 15.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.628e-05/1.156, allocations: 41.69 kB / 1.327 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.156, allocations: 96 / 1.327 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009086/1.157, allocations: 209.5 kB / 1.327 GB, free: 15.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/1.157, allocations: 35.97 kB / 1.327 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002872/1.16, allocations: 2.34 MB / 1.329 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/1.16, allocations: 55.64 kB / 1.329 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-05/1.16, allocations: 15.98 kB / 1.329 GB, free: 12.7 MB / 1.061 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.eva.off,eva.off,$whenCondition2,mAir_flow.nextEventScaled,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,$whenCondition1,int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002493/1.161, allocations: 185.5 kB / 1.33 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/1.161, allocations: 31.81 kB / 1.33 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/1.161, allocations: 31.17 kB / 1.33 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.161, allocations: 7.938 kB / 1.33 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/1.161, allocations: 0 / 1.33 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/1.161, allocations: 7.922 kB / 1.33 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/1.164, allocations: 1.042 MB / 1.331 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.164, allocations: 0 / 1.331 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.1e-05/1.164, allocations: 11.98 kB / 1.331 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003144/1.164, allocations: 104.8 kB / 1.331 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/1.165, allocations: 15.92 kB / 1.331 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009065/1.165, allocations: 0.7537 MB / 1.332 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.165, allocations: 0 / 1.332 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/1.169, allocations: 0.8696 MB / 1.332 GB, free: 9.516 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/1.169, allocations: 144.8 kB / 1.333 GB, free: 9.355 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.001e-05/1.169, allocations: 11.98 kB / 1.333 GB, free: 9.344 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/1.169, allocations: 7.984 kB / 1.333 GB, free: 9.336 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/1.169, allocations: 15.98 kB / 1.333 GB, free: 9.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/1.169, allocations: 4 kB / 1.333 GB, free: 9.316 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003169/1.169, allocations: 247.1 kB / 1.333 GB, free: 9.074 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.8e-07/1.169, allocations: 0 / 1.333 GB, free: 9.074 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005515/1.17, allocations: 111.9 kB / 1.333 GB, free: 8.965 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * Number of discrete states: 7 (eva.off,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.nextEventScaled,mAir_flow.b,mAir_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003547/1.17, allocations: 186.1 kB / 1.333 GB, free: 8.773 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001552/1.172, allocations: 0.573 MB / 1.334 GB, free: 8.172 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.172, allocations: 0 / 1.334 GB, free: 8.172 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007436/1.173, allocations: 253.4 kB / 1.334 GB, free: 7.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/1.173, allocations: 65.03 kB / 1.334 GB, free: 7.848 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/1.175, allocations: 0.6467 MB / 1.335 GB, free: 7.176 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/1.175, allocations: 0.7599 MB / 1.335 GB, free: 6.391 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.349e-05/1.175, allocations: 27.42 kB / 1.335 GB, free: 6.363 MB / 1.061 GB Notification: Performance of SimCode: time 7.91e-07/1.175, allocations: 0 / 1.335 GB, free: 6.363 MB / 1.061 GB Notification: Performance of Templates: time 0.009325/1.184, allocations: 6.535 MB / 1.342 GB, free: 15.86 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches