Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00821/0.00821, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001832/0.001832, allocations: 196.8 kB / 16.68 MB, free: 5.926 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.91 kB / 0.9509 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7857/0.787, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003263/0.7903, allocations: 2.417 MB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1772/0.9675, allocations: 150.9 MB / 1.238 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.9678, allocations: 6.438 kB / 1.238 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.9682, allocations: 103 kB / 1.238 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008526/0.9691, allocations: 233.3 kB / 1.238 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.9709, allocations: 0.6624 MB / 1.239 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006343/0.9715, allocations: 432.6 kB / 1.239 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.9717, allocations: 50.7 kB / 1.239 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.972, allocations: 183.3 kB / 1.239 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004214/0.9725, allocations: 202.4 kB / 1.24 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.098e-05/0.9726, allocations: 30.5 kB / 1.24 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.974, allocations: 0.627 MB / 1.24 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.9741, allocations: 82.86 kB / 1.24 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.9743, allocations: 167.3 kB / 1.24 GB, free: 500 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.9755, allocations: 0.6603 MB / 1.241 GB, free: 64 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9755, allocations: 0 / 1.241 GB, free: 64 kB / 0.9669 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9755, allocations: 0 / 1.241 GB, free: 64 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.672e-05/0.9755, allocations: 1.5 kB / 1.241 GB, free: 64 kB / 0.9669 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.001881/0.9774, allocations: 0.7358 MB / 1.242 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.9775, allocations: 9.406 kB / 1.242 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/0.9792, allocations: 171.2 kB / 1.242 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006221/0.9799, allocations: 311.8 kB / 1.242 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.556e-05/0.98, allocations: 46.2 kB / 1.242 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/0.98, allocations: 21.39 kB / 1.242 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/0.9805, allocations: 212.7 kB / 1.243 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.9805, allocations: 1.156 kB / 1.243 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.9805, allocations: 5.219 kB / 1.243 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.9805, allocations: 3.625 kB / 1.243 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.9808, allocations: 123.3 kB / 1.243 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.9834, allocations: 0.986 MB / 1.244 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008108/0.9843, allocations: 169.4 kB / 1.244 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.9845, allocations: 94.62 kB / 1.244 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.9845, allocations: 1.156 kB / 1.244 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/0.985, allocations: 197.2 kB / 1.244 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.985, allocations: 0 / 1.244 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.004314/0.9893, allocations: 0.865 MB / 1.245 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.9894, allocations: 81.11 kB / 1.245 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004569/0.9898, allocations: 352.3 kB / 1.245 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.271e-05/0.9899, allocations: 29.7 kB / 1.245 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.99, allocations: 156.5 kB / 1.245 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.9901, allocations: 59.19 kB / 1.246 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.9903, allocations: 81.94 kB / 1.246 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.9904, allocations: 338.8 kB / 1.246 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.9908, allocations: 140.5 kB / 1.246 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.9912, allocations: 217.3 kB / 1.246 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006684/0.9919, allocations: 336.7 kB / 1.247 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.9919, allocations: 4 kB / 1.247 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003789/0.9957, allocations: 0.8606 MB / 1.247 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/0.9958, allocations: 37.7 kB / 1.247 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.9958, allocations: 7.922 kB / 1.247 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009427/0.9967, allocations: 193.6 kB / 1.248 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.997, allocations: 39.91 kB / 1.248 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/0.9999, allocations: 2.337 MB / 1.25 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/1, allocations: 47.66 kB / 1.25 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/1, allocations: 15.98 kB / 1.25 GB, free: 7.227 MB / 0.9825 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.0002663/1.001, allocations: 197.8 kB / 1.25 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.448e-05/1.001, allocations: 31.72 kB / 1.25 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/1.001, allocations: 27.17 kB / 1.25 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.001, allocations: 3.938 kB / 1.25 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/1.001, allocations: 4 kB / 1.25 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.001, allocations: 3.984 kB / 1.25 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/1.004, allocations: 1.035 MB / 1.251 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/1.004, allocations: 0 / 1.251 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.986e-05/1.004, allocations: 15.92 kB / 1.251 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003277/1.005, allocations: 108.9 kB / 1.251 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/1.005, allocations: 11.98 kB / 1.251 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008895/1.006, allocations: 0.753 MB / 1.252 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.006, allocations: 0 / 1.252 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003251/1.009, allocations: 0.8742 MB / 1.253 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/1.009, allocations: 144.6 kB / 1.253 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.249e-05/1.009, allocations: 4 kB / 1.253 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/1.009, allocations: 11.98 kB / 1.253 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/1.009, allocations: 19.92 kB / 1.253 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/1.01, allocations: 4 kB / 1.253 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003117/1.01, allocations: 251 kB / 1.253 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/1.01, allocations: 0 / 1.253 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005847/1.01, allocations: 112 kB / 1.254 GB, free: 3.484 MB / 0.9825 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.0004494/1.011, allocations: 177.5 kB / 1.254 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001703/1.013, allocations: 0.5732 MB / 1.254 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.013, allocations: 0 / 1.254 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007608/1.013, allocations: 260.1 kB / 1.255 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/1.014, allocations: 67.5 kB / 1.255 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/1.015, allocations: 0.603 MB / 1.255 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/1.016, allocations: 0.756 MB / 1.256 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001605/1.016, allocations: 34.17 kB / 1.256 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/1.016, allocations: 23.42 kB / 1.256 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/1.016, allocations: 4 kB / 1.256 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of Templates: time 0.01328/1.029, allocations: 7.237 MB / 1.263 GB, free: 9.727 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches