Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.357/1.357, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 182.8 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.4 MB / 0.5775 GB, free: 20.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008873/0.0008873, allocations: 86.36 kB / 0.6821 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 13.17 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.202, allocations: 106.3 MB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.92/4.122, allocations: 2.183 GB / 3.083 GB, free: 40.06 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/4.122, allocations: 100.9 kB / 3.083 GB, free: 39.96 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5011/4.623, allocations: 50.21 MB / 3.132 GB, free: 313.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.404e-06/4.623, allocations: 0.9375 kB / 3.132 GB, free: 313.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.954e-05/4.623, allocations: 4.125 kB / 3.132 GB, free: 313.6 MB / 0.8855 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.00161/4.625, allocations: 0.7093 MB / 3.133 GB, free: 313.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/4.625, allocations: 9.031 kB / 3.133 GB, free: 313.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/4.627, allocations: 151.2 kB / 3.133 GB, free: 313.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006213/4.627, allocations: 315 kB / 3.133 GB, free: 312.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/4.627, allocations: 50.23 kB / 3.133 GB, free: 312.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.779e-05/4.627, allocations: 19 kB / 3.133 GB, free: 312.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/4.628, allocations: 222.6 kB / 3.133 GB, free: 312.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/4.628, allocations: 0.625 kB / 3.133 GB, free: 312.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/4.628, allocations: 6.75 kB / 3.133 GB, free: 312.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/4.628, allocations: 2.906 kB / 3.133 GB, free: 312.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/4.628, allocations: 137.9 kB / 3.133 GB, free: 312.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/4.631, allocations: 1.01 MB / 3.134 GB, free: 312.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008501/4.632, allocations: 175.5 kB / 3.135 GB, free: 312.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/4.632, allocations: 4.938 kB / 3.135 GB, free: 312.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003671/4.633, allocations: 208.3 kB / 3.135 GB, free: 312.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.803e-06/4.633, allocations: 0 / 3.135 GB, free: 312.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.004898/4.637, allocations: 0.9975 MB / 3.136 GB, free: 312 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/4.637, allocations: 80.77 kB / 3.136 GB, free: 311.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/4.638, allocations: 307.9 kB / 3.136 GB, free: 311.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.928e-05/4.638, allocations: 32.36 kB / 3.136 GB, free: 311.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/4.638, allocations: 149.7 kB / 3.136 GB, free: 311.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.426e-05/4.638, allocations: 50.34 kB / 3.136 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/4.638, allocations: 10.12 kB / 3.136 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001233/4.639, allocations: 343.1 kB / 3.137 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004427/4.639, allocations: 148.8 kB / 3.137 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/4.64, allocations: 219.4 kB / 3.137 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004817/4.64, allocations: 187.9 kB / 3.137 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/4.64, allocations: 4.891 kB / 3.137 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004417/4.644, allocations: 0.8902 MB / 3.138 GB, free: 311.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/4.645, allocations: 41.03 kB / 3.138 GB, free: 311.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/4.645, allocations: 1.75 kB / 3.138 GB, free: 311.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/4.646, allocations: 205 kB / 3.138 GB, free: 311.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/4.646, allocations: 35.72 kB / 3.138 GB, free: 311.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/4.649, allocations: 2.25 MB / 3.141 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005938/4.649, allocations: 53.58 kB / 3.141 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.178e-05/4.649, allocations: 24.75 kB / 3.141 GB, free: 309.2 MB / 0.8855 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.0002681/4.65, allocations: 192.6 kB / 3.141 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.683e-05/4.65, allocations: 30.38 kB / 3.141 GB, free: 309 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.399e-05/4.65, allocations: 29.5 kB / 3.141 GB, free: 309 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/4.65, allocations: 5.219 kB / 3.141 GB, free: 309 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/4.65, allocations: 3.953 kB / 3.141 GB, free: 309 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/4.65, allocations: 0 / 3.141 GB, free: 309 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/4.653, allocations: 1.074 MB / 3.142 GB, free: 308.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/4.653, allocations: 0 / 3.142 GB, free: 308.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.526e-05/4.653, allocations: 6 kB / 3.142 GB, free: 308.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003216/4.654, allocations: 117.1 kB / 3.142 GB, free: 308.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/4.654, allocations: 13.08 kB / 3.142 GB, free: 308.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000826/4.655, allocations: 0.7556 MB / 3.143 GB, free: 308.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/4.655, allocations: 0 / 3.143 GB, free: 308.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00345/4.658, allocations: 0.9199 MB / 3.144 GB, free: 307.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/4.658, allocations: 142.3 kB / 3.144 GB, free: 307.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.897e-05/4.658, allocations: 8.469 kB / 3.144 GB, free: 307.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/4.659, allocations: 11.22 kB / 3.144 GB, free: 307.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/4.659, allocations: 8.656 kB / 3.144 GB, free: 307.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/4.659, allocations: 19.11 kB / 3.144 GB, free: 307.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002926/4.659, allocations: 235.9 kB / 3.144 GB, free: 307.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/4.659, allocations: 4 kB / 3.144 GB, free: 307.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000795/4.66, allocations: 169 kB / 3.144 GB, free: 307.6 MB / 0.8855 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.001196/4.661, allocations: 0.7078 MB / 3.145 GB, free: 307.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001687/4.663, allocations: 0.5662 MB / 3.145 GB, free: 307.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/4.663, allocations: 64 / 3.145 GB, free: 307.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007806/4.664, allocations: 247.9 kB / 3.146 GB, free: 307.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/4.664, allocations: 56.89 kB / 3.146 GB, free: 307.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/4.666, allocations: 0.7062 MB / 3.146 GB, free: 306.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/4.666, allocations: 0.7662 MB / 3.147 GB, free: 306.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002522/4.666, allocations: 31.53 kB / 3.147 GB, free: 306 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.848e-05/4.666, allocations: 23.05 kB / 3.147 GB, free: 306 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/4.666, allocations: 3.938 kB / 3.147 GB, free: 306 MB / 0.8855 GB Notification: Performance of Templates: time 0.02212/4.689, allocations: 14.49 MB / 3.161 GB, free: 304.8 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches