Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001287/0.001287, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001378/0.001378, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.869/2.869, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.0004919, allocations: 8 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9049/0.9054, allocations: 153.7 MB / 1.021 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.002776/0.9082, allocations: 1.95 MB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1803/1.089, allocations: 127.5 MB / 1.147 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003427/1.089, allocations: 4 kB / 1.147 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003572/1.089, allocations: 79.61 kB / 1.147 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007022/1.09, allocations: 231.4 kB / 1.148 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/1.092, allocations: 0.5168 MB / 1.148 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004859/1.092, allocations: 271.4 kB / 1.148 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/1.092, allocations: 40.62 kB / 1.148 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/1.093, allocations: 155.5 kB / 1.149 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/1.093, allocations: 183.4 kB / 1.149 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/1.093, allocations: 19.94 kB / 1.149 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/1.094, allocations: 0.5188 MB / 1.149 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/1.094, allocations: 67.78 kB / 1.149 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/1.094, allocations: 77.52 kB / 1.149 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007051/1.095, allocations: 462.9 kB / 1.15 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.095, allocations: 0 / 1.15 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.625e-06/1.095, allocations: 0 / 1.15 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.582e-06/1.095, allocations: 4 kB / 1.15 GB, free: 12.69 MB / 0.9044 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.001639/1.097, allocations: 0.6831 MB / 1.15 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.097, allocations: 11.98 kB / 1.15 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/1.098, allocations: 155.5 kB / 1.151 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/1.099, allocations: 306.4 kB / 1.151 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.719e-05/1.099, allocations: 41.7 kB / 1.151 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/1.099, allocations: 20 kB / 1.151 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/1.099, allocations: 210.2 kB / 1.151 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.099, allocations: 3.984 kB / 1.151 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/1.1, allocations: 4 kB / 1.151 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/1.1, allocations: 7.938 kB / 1.151 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/1.1, allocations: 128.1 kB / 1.151 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00247/1.102, allocations: 1.004 MB / 1.152 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000751/1.103, allocations: 162.5 kB / 1.152 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/1.103, allocations: 0 / 1.152 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004095/1.103, allocations: 189 kB / 1.153 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=19): time 1.693e-06/1.104, allocations: 0 / 1.153 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19): time 0.004122/1.108, allocations: 0.9519 MB / 1.154 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.188e-05/1.108, allocations: 89.09 kB / 1.154 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/1.108, allocations: 340.4 kB / 1.154 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.437e-05/1.108, allocations: 29.7 kB / 1.154 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/1.108, allocations: 156.6 kB / 1.154 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.626e-05/1.109, allocations: 55.2 kB / 1.154 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/1.109, allocations: 8 kB / 1.154 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.109, allocations: 342.8 kB / 1.155 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/1.109, allocations: 136.5 kB / 1.155 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/1.11, allocations: 217.4 kB / 1.155 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/1.11, allocations: 175 kB / 1.155 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/1.11, allocations: 3.953 kB / 1.155 GB, free: 7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003581/1.114, allocations: 0.868 MB / 1.156 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.389e-05/1.114, allocations: 45.75 kB / 1.156 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.114, allocations: 4 kB / 1.156 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009222/1.115, allocations: 189.6 kB / 1.156 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/1.115, allocations: 51.91 kB / 1.156 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003002/1.118, allocations: 2.239 MB / 1.158 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/1.118, allocations: 55.61 kB / 1.158 GB, free: 3.359 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/1.118, allocations: 15.98 kB / 1.158 GB, free: 3.344 MB / 0.9044 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 ($whenCondition2,$PRE.eva.off,eva.off,$whenCondition1,mAir_flow.a,mAir_flow.b,mAir_flow.last,$PRE.mAir_flow.nextEvent,mAir_flow.nextEvent,mAir_flow.nextEventScaled,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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002817/1.119, allocations: 199.2 kB / 1.159 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/1.119, allocations: 31.62 kB / 1.159 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/1.119, allocations: 27.17 kB / 1.159 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/1.119, allocations: 336 / 1.159 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.119, allocations: 3.953 kB / 1.159 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.119, allocations: 4 kB / 1.159 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003247/1.122, allocations: 1.043 MB / 1.16 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.122, allocations: 3.984 kB / 1.16 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/1.122, allocations: 15.88 kB / 1.16 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003158/1.123, allocations: 108.8 kB / 1.16 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/1.123, allocations: 15.98 kB / 1.16 GB, free: 1.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009204/1.124, allocations: 0.7575 MB / 1.161 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.124, allocations: 0 / 1.161 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003109/1.127, allocations: 0.8843 MB / 1.161 GB, free: 132 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/1.127, allocations: 132.7 kB / 1.162 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/1.127, allocations: 8 kB / 1.162 GB, free: 15.97 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/1.127, allocations: 11.98 kB / 1.162 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/1.127, allocations: 11.98 kB / 1.162 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/1.127, allocations: 11.98 kB / 1.162 GB, free: 15.94 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003052/1.128, allocations: 235 kB / 1.162 GB, free: 15.71 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.11e-07/1.128, allocations: 64 / 1.162 GB, free: 15.71 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005524/1.128, allocations: 120 kB / 1.162 GB, free: 15.59 MB / 0.92 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003678/1.129, allocations: 185.5 kB / 1.162 GB, free: 15.41 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001566/1.13, allocations: 0.5768 MB / 1.163 GB, free: 14.8 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.13, allocations: 0 / 1.163 GB, free: 14.8 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007193/1.131, allocations: 248.3 kB / 1.163 GB, free: 14.54 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/1.131, allocations: 53.05 kB / 1.163 GB, free: 14.49 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/1.133, allocations: 0.6971 MB / 1.164 GB, free: 13.77 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/1.133, allocations: 0.7677 MB / 1.164 GB, free: 12.97 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001665/1.133, allocations: 34.27 kB / 1.164 GB, free: 12.94 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/1.133, allocations: 23.42 kB / 1.164 GB, free: 12.92 MB / 0.92 GB Notification: Performance of SimCode: time 8.92e-07/1.133, allocations: 3.938 kB / 1.164 GB, free: 12.91 MB / 0.92 GB Notification: Performance of Templates: time 0.01176/1.145, allocations: 6.619 MB / 1.171 GB, free: 6.359 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches