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.439/1.439, allocations: 249.3 MB / 261.8 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 169 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.814/1.814, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.001074/0.001073, allocations: 84.3 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.472e-05/4.474e-05, allocations: 12 kB / 0.788 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2482, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.226/6.474, allocations: 2.183 GB / 3.074 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/6.474, allocations: 95.05 kB / 3.074 GB, free: 147 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1048/6.579, allocations: 50.14 MB / 3.123 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.503e-06/6.579, allocations: 0 / 3.123 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.13e-05/6.579, allocations: 4 kB / 3.123 GB, free: 101.2 MB / 0.8698 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.001554/6.581, allocations: 0.6554 MB / 3.124 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/6.581, allocations: 16.03 kB / 3.124 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/6.583, allocations: 151.5 kB / 3.124 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000621/6.583, allocations: 306.4 kB / 3.124 GB, free: 99.95 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.236e-05/6.583, allocations: 45.7 kB / 3.125 GB, free: 99.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.575e-05/6.583, allocations: 20 kB / 3.125 GB, free: 99.88 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/6.584, allocations: 212.1 kB / 3.125 GB, free: 99.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/6.584, allocations: 3.938 kB / 3.125 GB, free: 99.65 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/6.584, allocations: 8 kB / 3.125 GB, free: 99.64 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/6.584, allocations: 0 / 3.125 GB, free: 99.64 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/6.584, allocations: 116.2 kB / 3.125 GB, free: 99.53 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/6.587, allocations: 1.02 MB / 3.126 GB, free: 98.45 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/6.587, allocations: 166.5 kB / 3.126 GB, free: 98.28 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/6.587, allocations: 96.83 kB / 3.126 GB, free: 98.18 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/6.587, allocations: 0 / 3.126 GB, free: 98.18 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002666/6.588, allocations: 197.1 kB / 3.126 GB, free: 97.97 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 2.054e-06/6.588, allocations: 0 / 3.126 GB, free: 97.97 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.002915/6.591, allocations: 0.647 MB / 3.127 GB, free: 97.31 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/6.591, allocations: 81.11 kB / 3.127 GB, free: 97.21 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/6.591, allocations: 294.6 kB / 3.127 GB, free: 96.91 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/6.591, allocations: 29.7 kB / 3.127 GB, free: 96.88 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/6.591, allocations: 160.7 kB / 3.127 GB, free: 96.72 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/6.591, allocations: 59.16 kB / 3.128 GB, free: 96.66 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/6.591, allocations: 4 kB / 3.128 GB, free: 96.66 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.632e-05/6.591, allocations: 342.8 kB / 3.128 GB, free: 96.31 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/6.592, allocations: 132.6 kB / 3.128 GB, free: 96.18 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/6.592, allocations: 205.5 kB / 3.128 GB, free: 95.96 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/6.592, allocations: 174.9 kB / 3.128 GB, free: 95.79 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/6.592, allocations: 0 / 3.128 GB, free: 95.79 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003244/6.595, allocations: 0.8493 MB / 3.129 GB, free: 94.92 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/6.595, allocations: 33.7 kB / 3.129 GB, free: 94.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/6.595, allocations: 0 / 3.129 GB, free: 94.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007666/6.596, allocations: 185.7 kB / 3.129 GB, free: 94.69 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/6.597, allocations: 39.91 kB / 3.129 GB, free: 94.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/6.599, allocations: 2.212 MB / 3.132 GB, free: 92.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/6.599, allocations: 47.73 kB / 3.132 GB, free: 92.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-05/6.599, allocations: 23.97 kB / 3.132 GB, free: 92.21 MB / 0.8698 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = false 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 () * 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.0002242/6.6, allocations: 155 kB / 3.132 GB, free: 92.04 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.591e-05/6.6, allocations: 35.56 kB / 3.132 GB, free: 92.01 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.716e-05/6.6, allocations: 26.97 kB / 3.132 GB, free: 91.98 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/6.6, allocations: 11.92 kB / 3.132 GB, free: 91.97 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/6.6, allocations: 0 / 3.132 GB, free: 91.97 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/6.6, allocations: 0 / 3.132 GB, free: 91.97 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/6.603, allocations: 1.04 MB / 3.133 GB, free: 90.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/6.603, allocations: 0 / 3.133 GB, free: 90.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/6.603, allocations: 7.984 kB / 3.133 GB, free: 90.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001916/6.603, allocations: 100.7 kB / 3.133 GB, free: 90.75 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/6.603, allocations: 15.97 kB / 3.133 GB, free: 90.74 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006552/6.604, allocations: 0.7225 MB / 3.134 GB, free: 89.99 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/6.604, allocations: 4 kB / 3.134 GB, free: 89.99 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/6.607, allocations: 0.8822 MB / 3.135 GB, free: 89.08 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/6.607, allocations: 136.8 kB / 3.135 GB, free: 88.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.349e-05/6.607, allocations: 4 kB / 3.135 GB, free: 88.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/6.607, allocations: 15.98 kB / 3.135 GB, free: 88.91 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.417e-05/6.608, allocations: 12.05 kB / 3.135 GB, free: 88.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/6.608, allocations: 15.98 kB / 3.135 GB, free: 88.88 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002637/6.608, allocations: 226.2 kB / 3.135 GB, free: 88.66 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/6.608, allocations: 0 / 3.135 GB, free: 88.66 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000962/6.609, allocations: 175.8 kB / 3.135 GB, free: 88.49 MB / 0.8698 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) * 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.001254/6.61, allocations: 0.6995 MB / 3.136 GB, free: 87.78 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001465/6.612, allocations: 0.5407 MB / 3.136 GB, free: 87.21 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/6.612, allocations: 0 / 3.136 GB, free: 87.21 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006371/6.612, allocations: 236.1 kB / 3.137 GB, free: 86.97 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/6.613, allocations: 61.11 kB / 3.137 GB, free: 86.91 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008509/6.614, allocations: 423.1 kB / 3.137 GB, free: 86.47 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/6.614, allocations: 0.7677 MB / 3.138 GB, free: 85.68 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001953/6.614, allocations: 30.06 kB / 3.138 GB, free: 85.65 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/6.614, allocations: 27.42 kB / 3.138 GB, free: 85.62 MB / 0.8698 GB Notification: Performance of SimCode: time 7.11e-07/6.614, allocations: 0 / 3.138 GB, free: 85.62 MB / 0.8698 GB Notification: Performance of Templates: time 0.01993/6.634, allocations: 16.34 MB / 3.154 GB, free: 69.31 MB / 0.8698 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