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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001103/0.001103, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 185.4 kB / 16.92 MB, free: 6.688 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.507/1.507, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.768/2.768, allocations: 437.8 MB / 0.7128 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003551, allocations: 15.98 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7299/0.7303, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003215/0.7336, allocations: 2.09 MB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1781/0.9118, allocations: 147.1 MB / 1.169 GB, free: 10.07 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003465/0.9122, allocations: 4 kB / 1.169 GB, free: 10.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004717/0.9127, allocations: 87.55 kB / 1.169 GB, free: 9.98 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0009489/0.9136, allocations: 210.9 kB / 1.17 GB, free: 9.773 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.9156, allocations: 0.582 MB / 1.17 GB, free: 9.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000637/0.9162, allocations: 422.6 kB / 1.171 GB, free: 8.785 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.9164, allocations: 48.66 kB / 1.171 GB, free: 8.738 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003208/0.9167, allocations: 155.4 kB / 1.171 GB, free: 8.586 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004148/0.9171, allocations: 195.3 kB / 1.171 GB, free: 8.395 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.776e-05/0.9172, allocations: 16 kB / 1.171 GB, free: 8.379 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.9186, allocations: 0.6667 MB / 1.172 GB, free: 7.711 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.9188, allocations: 75.66 kB / 1.172 GB, free: 7.637 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.919, allocations: 172.9 kB / 1.172 GB, free: 7.461 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008624/0.9199, allocations: 466.9 kB / 1.172 GB, free: 7.004 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.9199, allocations: 4 kB / 1.172 GB, free: 7 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9199, allocations: 3.938 kB / 1.172 GB, free: 6.996 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.9199, allocations: 0 / 1.172 GB, free: 6.996 MB / 0.92 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.001815/0.9217, allocations: 0.6794 MB / 1.173 GB, free: 6.262 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.9218, allocations: 12.03 kB / 1.173 GB, free: 6.25 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.9235, allocations: 156.4 kB / 1.173 GB, free: 6.098 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/0.9241, allocations: 318.7 kB / 1.174 GB, free: 5.746 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.9243, allocations: 49.69 kB / 1.174 GB, free: 5.691 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.947e-05/0.9243, allocations: 16 kB / 1.174 GB, free: 5.676 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/0.9248, allocations: 201.5 kB / 1.174 GB, free: 5.465 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.9249, allocations: 7.984 kB / 1.174 GB, free: 5.457 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.9249, allocations: 11.98 kB / 1.174 GB, free: 5.445 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.9249, allocations: 4 kB / 1.174 GB, free: 5.441 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.9252, allocations: 116.1 kB / 1.174 GB, free: 5.328 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002835/0.928, allocations: 1 MB / 1.175 GB, free: 4.27 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008158/0.9289, allocations: 170.4 kB / 1.175 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.9291, allocations: 98.69 kB / 1.175 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.9292, allocations: 8 kB / 1.175 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00043/0.9296, allocations: 193.1 kB / 1.175 GB, free: 3.781 MB / 0.92 GB Notification: Performance of pre-optimization done (n=19): time 2.365e-06/0.9296, allocations: 0 / 1.175 GB, free: 3.781 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.004335/0.9339, allocations: 0.8766 MB / 1.176 GB, free: 2.871 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.934, allocations: 81.11 kB / 1.176 GB, free: 2.773 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/0.9345, allocations: 344.5 kB / 1.177 GB, free: 2.426 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/0.9346, allocations: 33.7 kB / 1.177 GB, free: 2.387 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.9348, allocations: 152.6 kB / 1.177 GB, free: 2.234 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.826e-05/0.9348, allocations: 55.2 kB / 1.177 GB, free: 2.18 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.24e-05/0.9349, allocations: 45.69 kB / 1.177 GB, free: 2.129 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.9351, allocations: 342.8 kB / 1.177 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.9355, allocations: 136.5 kB / 1.177 GB, free: 1.652 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/0.9359, allocations: 217.4 kB / 1.178 GB, free: 1.426 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007492/0.9367, allocations: 344.8 kB / 1.178 GB, free: 1.062 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.9367, allocations: 3.938 kB / 1.178 GB, free: 1.059 MB / 0.92 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004023/0.9407, allocations: 0.872 MB / 1.179 GB, free: 172 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/0.9408, allocations: 37.69 kB / 1.179 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.9408, allocations: 64 / 1.179 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009908/0.9418, allocations: 201.7 kB / 1.179 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.9421, allocations: 39.91 kB / 1.179 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003249/0.9454, allocations: 2.254 MB / 1.181 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.9459, allocations: 43.58 kB / 1.181 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.901e-05/0.946, allocations: 27.92 kB / 1.181 GB, free: 13.39 MB / 0.9356 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.000333/0.9463, allocations: 185.9 kB / 1.181 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.272e-05/0.9464, allocations: 31.61 kB / 1.181 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.377e-05/0.9465, allocations: 27.19 kB / 1.181 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.9465, allocations: 4 kB / 1.181 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.9465, allocations: 3.984 kB / 1.181 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.9465, allocations: 0 / 1.181 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003581/0.9501, allocations: 1.049 MB / 1.183 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.9501, allocations: 4 kB / 1.183 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.825e-05/0.9502, allocations: 11.98 kB / 1.183 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003375/0.9506, allocations: 112.8 kB / 1.183 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.9506, allocations: 11.92 kB / 1.183 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009673/0.9516, allocations: 0.7614 MB / 1.183 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9516, allocations: 4 kB / 1.183 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003335/0.9549, allocations: 0.8807 MB / 1.184 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.9551, allocations: 144.7 kB / 1.184 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.9552, allocations: 4 kB / 1.184 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.9555, allocations: 19.98 kB / 1.184 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.9555, allocations: 11.97 kB / 1.184 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.9556, allocations: 11.98 kB / 1.184 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003756/0.956, allocations: 235 kB / 1.185 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/0.956, allocations: 0 / 1.185 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005889/0.9566, allocations: 112 kB / 1.185 GB, free: 9.641 MB / 0.9356 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.000402/0.957, allocations: 203.8 kB / 1.185 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001708/0.9587, allocations: 0.5583 MB / 1.186 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9587, allocations: 0 / 1.186 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007916/0.9595, allocations: 244.2 kB / 1.186 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005581/0.9601, allocations: 68.92 kB / 1.186 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.9617, allocations: 0.7457 MB / 1.187 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.9621, allocations: 0.7638 MB / 1.187 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.9622, allocations: 23.42 kB / 1.187 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of SimCode: time 7.11e-07/0.9622, allocations: 3.938 kB / 1.187 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of Templates: time 0.01098/0.9732, allocations: 6.455 MB / 1.194 GB, free: 0.5078 MB / 0.9356 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