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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001075/0.00108, allocations: 91.84 kB / 16.02 MB, free: 80 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.001393/0.001393, allocations: 181.6 kB / 16.92 MB, free: 6.652 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.463/1.463, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004908, allocations: 16 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7821/0.7826, allocations: 142.4 MB / 0.9557 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002371/0.785, allocations: 2.097 MB / 0.9578 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.2131/0.9981, allocations: 147.1 MB / 1.101 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004283/0.9986, allocations: 7.938 kB / 1.101 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005163/0.9991, allocations: 75.62 kB / 1.102 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00117/1, allocations: 206.9 kB / 1.102 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002961/1.003, allocations: 0.5842 MB / 1.102 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008682/1.004, allocations: 410.6 kB / 1.103 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/1.004, allocations: 48.72 kB / 1.103 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005061/1.005, allocations: 163.4 kB / 1.103 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005177/1.005, allocations: 191.2 kB / 1.103 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.66e-05/1.006, allocations: 16 kB / 1.103 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/1.008, allocations: 0.6667 MB / 1.104 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000177/1.008, allocations: 75.72 kB / 1.104 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003202/1.008, allocations: 176.9 kB / 1.104 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/1.01, allocations: 466.9 kB / 1.104 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/1.01, allocations: 0 / 1.104 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.805e-06/1.01, allocations: 0 / 1.104 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.721e-05/1.01, allocations: 4 kB / 1.104 GB, free: 6.531 MB / 0.8575 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.00232/1.012, allocations: 0.6831 MB / 1.105 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/1.012, allocations: 12.03 kB / 1.105 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002678/1.015, allocations: 164.4 kB / 1.105 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007864/1.016, allocations: 310.2 kB / 1.106 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.586e-05/1.016, allocations: 45.7 kB / 1.106 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/1.016, allocations: 20 kB / 1.106 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006783/1.016, allocations: 200.1 kB / 1.106 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/1.016, allocations: 4 kB / 1.106 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/1.017, allocations: 4 kB / 1.106 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/1.017, allocations: 4 kB / 1.106 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/1.017, allocations: 132 kB / 1.106 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003811/1.021, allocations: 1 MB / 1.107 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/1.022, allocations: 166.5 kB / 1.107 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003867/1.023, allocations: 92.83 kB / 1.107 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/1.023, allocations: 11.92 kB / 1.107 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00062/1.023, allocations: 189 kB / 1.107 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 3.256e-06/1.023, allocations: 0 / 1.107 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.007306/1.031, allocations: 0.8825 MB / 1.108 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/1.031, allocations: 85.11 kB / 1.108 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008558/1.032, allocations: 336.5 kB / 1.109 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/1.032, allocations: 33.7 kB / 1.109 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/1.032, allocations: 152.5 kB / 1.109 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/1.032, allocations: 63.17 kB / 1.109 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/1.032, allocations: 41.7 kB / 1.109 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002117/1.032, allocations: 342.8 kB / 1.109 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005961/1.033, allocations: 140.5 kB / 1.109 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007739/1.034, allocations: 221.3 kB / 1.11 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/1.035, allocations: 341 kB / 1.11 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.035, allocations: 0 / 1.11 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.006318/1.041, allocations: 0.8797 MB / 1.111 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.973e-05/1.041, allocations: 43.09 kB / 1.111 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.041, allocations: 3.938 kB / 1.111 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/1.043, allocations: 197.5 kB / 1.111 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/1.043, allocations: 39.97 kB / 1.111 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005019/1.048, allocations: 2.237 MB / 1.113 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008744/1.049, allocations: 51.52 kB / 1.113 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/1.049, allocations: 23.91 kB / 1.113 GB, free: 12.93 MB / 0.8731 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.0004603/1.05, allocations: 196.9 kB / 1.113 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/1.05, allocations: 27.62 kB / 1.113 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/1.05, allocations: 27.17 kB / 1.114 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/1.05, allocations: 4 kB / 1.114 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/1.05, allocations: 3.938 kB / 1.114 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/1.05, allocations: 0 / 1.114 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004038/1.054, allocations: 1.063 MB / 1.115 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/1.054, allocations: 0 / 1.115 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.318e-05/1.055, allocations: 8 kB / 1.115 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003352/1.055, allocations: 112.8 kB / 1.115 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/1.055, allocations: 8 kB / 1.115 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/1.056, allocations: 0.7614 MB / 1.115 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/1.056, allocations: 3.984 kB / 1.115 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003339/1.059, allocations: 0.8801 MB / 1.116 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/1.059, allocations: 136.7 kB / 1.116 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.146e-05/1.06, allocations: 8 kB / 1.116 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/1.06, allocations: 16.05 kB / 1.116 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/1.06, allocations: 11.98 kB / 1.116 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/1.06, allocations: 7.984 kB / 1.116 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003255/1.06, allocations: 243 kB / 1.117 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.06, allocations: 0 / 1.117 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000624/1.061, allocations: 116 kB / 1.117 GB, free: 9.168 MB / 0.8731 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.0004387/1.061, allocations: 175.2 kB / 1.117 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001652/1.063, allocations: 0.5613 MB / 1.118 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/1.063, allocations: 0 / 1.118 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007653/1.064, allocations: 256 kB / 1.118 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005599/1.064, allocations: 67.86 kB / 1.118 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/1.066, allocations: 0.7392 MB / 1.119 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/1.066, allocations: 0.7599 MB / 1.119 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.241e-05/1.066, allocations: 23.38 kB / 1.119 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of SimCode: time 7.22e-07/1.066, allocations: 0 / 1.119 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of Templates: time 0.01079/1.077, allocations: 6.477 MB / 1.126 GB, free: 40 kB / 0.8731 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/jenkins1/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