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.006317/0.006317, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.001366/0.001366, allocations: 188.5 kB / 16.67 MB, free: 6.367 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.69/2.69, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.91 kB / 1.019 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4047, allocations: 151.6 MB / 1.167 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004108/0.4089, allocations: 2.386 MB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 1.201/1.61, allocations: 151 MB / 1.316 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/1.61, allocations: 2.312 kB / 1.316 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004985/1.611, allocations: 90.53 kB / 1.316 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0009755/1.612, allocations: 240.5 kB / 1.317 GB, free: 12.18 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002132/1.614, allocations: 0.6593 MB / 1.317 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006289/1.615, allocations: 441.8 kB / 1.318 GB, free: 11.9 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/1.615, allocations: 43.69 kB / 1.318 GB, free: 11.89 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/1.615, allocations: 183.5 kB / 1.318 GB, free: 11.86 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004105/1.616, allocations: 199.2 kB / 1.318 GB, free: 11.82 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.109e-05/1.616, allocations: 35.06 kB / 1.318 GB, free: 11.82 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/1.617, allocations: 0.625 MB / 1.319 GB, free: 11.74 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/1.617, allocations: 80.98 kB / 1.319 GB, free: 11.72 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002198/1.618, allocations: 167.1 kB / 1.319 GB, free: 11.67 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/1.619, allocations: 0.6503 MB / 1.32 GB, free: 11.56 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.619, allocations: 0.6562 kB / 1.32 GB, free: 11.56 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.294e-06/1.619, allocations: 1.156 kB / 1.32 GB, free: 11.56 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.778e-06/1.619, allocations: 0 / 1.32 GB, free: 11.56 MB / 1.014 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.001698/1.621, allocations: 0.7598 MB / 1.32 GB, free: 11.01 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/1.621, allocations: 11.42 kB / 1.32 GB, free: 11.01 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/1.622, allocations: 157.2 kB / 1.321 GB, free: 10.99 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/1.623, allocations: 325.7 kB / 1.321 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.89e-05/1.623, allocations: 45.39 kB / 1.321 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/1.623, allocations: 16.94 kB / 1.321 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000488/1.623, allocations: 209 kB / 1.321 GB, free: 10.65 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.623, allocations: 0 / 1.321 GB, free: 10.65 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/1.623, allocations: 6.625 kB / 1.321 GB, free: 10.65 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/1.623, allocations: 1.75 kB / 1.321 GB, free: 10.65 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/1.624, allocations: 121 kB / 1.321 GB, free: 10.65 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00266/1.626, allocations: 0.9967 MB / 1.322 GB, free: 10.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007709/1.627, allocations: 160.5 kB / 1.322 GB, free: 10.14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/1.627, allocations: 96.06 kB / 1.323 GB, free: 10.13 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/1.627, allocations: 9.031 kB / 1.323 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004007/1.628, allocations: 200.6 kB / 1.323 GB, free: 10.03 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.823e-06/1.628, allocations: 0 / 1.323 GB, free: 10.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.00417/1.632, allocations: 0.864 MB / 1.324 GB, free: 9.809 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/1.632, allocations: 85.19 kB / 1.324 GB, free: 9.715 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000506/1.633, allocations: 337.3 kB / 1.324 GB, free: 9.551 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/1.633, allocations: 33.22 kB / 1.324 GB, free: 9.516 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/1.633, allocations: 149.5 kB / 1.324 GB, free: 9.387 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/1.633, allocations: 56.09 kB / 1.324 GB, free: 9.344 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/1.633, allocations: 88.53 kB / 1.324 GB, free: 9.301 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.633, allocations: 344.8 kB / 1.325 GB, free: 8.973 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/1.634, allocations: 135.2 kB / 1.325 GB, free: 8.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/1.634, allocations: 216.4 kB / 1.325 GB, free: 8.824 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007057/1.635, allocations: 342.5 kB / 1.325 GB, free: 8.617 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/1.635, allocations: 4 kB / 1.325 GB, free: 8.613 MB / 1.014 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003722/1.639, allocations: 0.8583 MB / 1.326 GB, free: 8.336 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/1.639, allocations: 35.53 kB / 1.326 GB, free: 8.305 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/1.639, allocations: 5.469 kB / 1.326 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000952/1.64, allocations: 202.5 kB / 1.326 GB, free: 8.238 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/1.64, allocations: 35.77 kB / 1.326 GB, free: 8.238 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0033/1.643, allocations: 2.344 MB / 1.329 GB, free: 6.074 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/1.644, allocations: 50.28 kB / 1.329 GB, free: 6.047 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/1.644, allocations: 21.52 kB / 1.329 GB, free: 6.043 MB / 1.014 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.0002902/1.644, allocations: 192.5 kB / 1.329 GB, free: 5.867 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/1.644, allocations: 32.44 kB / 1.329 GB, free: 5.852 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.425e-05/1.644, allocations: 26.19 kB / 1.329 GB, free: 5.836 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.644, allocations: 1.344 kB / 1.329 GB, free: 5.836 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/1.644, allocations: 192 / 1.329 GB, free: 5.836 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.644, allocations: 4.906 kB / 1.329 GB, free: 5.832 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/1.648, allocations: 1.043 MB / 1.33 GB, free: 5.301 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.648, allocations: 1.906 kB / 1.33 GB, free: 5.301 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.304e-05/1.648, allocations: 4.938 kB / 1.33 GB, free: 5.301 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003294/1.648, allocations: 113.9 kB / 1.33 GB, free: 5.262 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/1.648, allocations: 10.06 kB / 1.33 GB, free: 5.258 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009814/1.649, allocations: 0.7496 MB / 1.331 GB, free: 4.605 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/1.649, allocations: 0 / 1.331 GB, free: 4.605 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003222/1.652, allocations: 0.8795 MB / 1.332 GB, free: 4.242 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/1.653, allocations: 135 kB / 1.332 GB, free: 4.117 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/1.653, allocations: 9.094 kB / 1.332 GB, free: 4.113 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/1.653, allocations: 14.36 kB / 1.332 GB, free: 4.109 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/1.653, allocations: 16.58 kB / 1.332 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/1.653, allocations: 9.047 kB / 1.332 GB, free: 4.102 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003968/1.653, allocations: 240.6 kB / 1.332 GB, free: 3.977 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.653, allocations: 0 / 1.332 GB, free: 3.977 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000725/1.654, allocations: 117.5 kB / 1.332 GB, free: 3.957 MB / 1.014 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.0005714/1.655, allocations: 179.3 kB / 1.332 GB, free: 3.848 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002033/1.657, allocations: 0.5764 MB / 1.333 GB, free: 3.523 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/1.657, allocations: 5.062 kB / 1.333 GB, free: 3.52 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008949/1.658, allocations: 260.2 kB / 1.333 GB, free: 3.379 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006007/1.658, allocations: 68.98 kB / 1.333 GB, free: 3.352 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/1.66, allocations: 0.6203 MB / 1.334 GB, free: 2.988 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/1.661, allocations: 0.759 MB / 1.335 GB, free: 2.289 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002364/1.661, allocations: 34.94 kB / 1.335 GB, free: 2.273 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.344e-05/1.661, allocations: 22.11 kB / 1.335 GB, free: 2.266 MB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/1.661, allocations: 0 / 1.335 GB, free: 2.266 MB / 1.014 GB Notification: Performance of Templates: time 0.01979/1.681, allocations: 7.229 MB / 1.342 GB, free: 1.613 MB / 1.014 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/jenkins/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