Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.031/3.031, allocations: 390.3 MB / 402.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.648/1.648, allocations: 221.3 MB / 0.7915 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009394/0.0009395, allocations: 95.89 kB / 0.9318 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.174e-05/4.2e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2979, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.9/5.198, allocations: 1.723 GB / 2.942 GB, free: 113.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/5.198, allocations: 96.52 kB / 2.942 GB, free: 113.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1055/5.304, allocations: 50.02 MB / 2.991 GB, free: 62.77 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.646e-06/5.304, allocations: 0 / 2.991 GB, free: 62.77 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.76e-05/5.304, allocations: 11.94 kB / 2.991 GB, free: 62.75 MB / 1.167 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.001703/5.306, allocations: 0.6454 MB / 2.991 GB, free: 62.06 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/5.306, allocations: 8.031 kB / 2.991 GB, free: 62.05 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/5.307, allocations: 155.7 kB / 2.991 GB, free: 61.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006854/5.308, allocations: 302.4 kB / 2.992 GB, free: 61.56 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.22e-05/5.308, allocations: 53.64 kB / 2.992 GB, free: 61.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/5.308, allocations: 20 kB / 2.992 GB, free: 61.48 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004066/5.309, allocations: 209.7 kB / 2.992 GB, free: 61.27 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/5.309, allocations: 0 / 2.992 GB, free: 61.27 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/5.309, allocations: 0 / 2.992 GB, free: 61.27 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/5.309, allocations: 8 kB / 2.992 GB, free: 61.26 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/5.309, allocations: 124.1 kB / 2.992 GB, free: 61.13 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002724/5.312, allocations: 1.028 MB / 2.993 GB, free: 60.05 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007468/5.312, allocations: 166.5 kB / 2.993 GB, free: 59.88 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/5.313, allocations: 88.84 kB / 2.993 GB, free: 59.79 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/5.313, allocations: 7.953 kB / 2.993 GB, free: 59.78 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003245/5.313, allocations: 192.9 kB / 2.994 GB, free: 59.57 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 3.026e-06/5.313, allocations: 0 / 2.994 GB, free: 59.57 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.003225/5.316, allocations: 0.6496 MB / 2.994 GB, free: 58.91 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/5.316, allocations: 85.06 kB / 2.994 GB, free: 58.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003759/5.317, allocations: 298.6 kB / 2.995 GB, free: 58.51 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.725e-05/5.317, allocations: 37.7 kB / 2.995 GB, free: 58.46 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/5.317, allocations: 148.7 kB / 2.995 GB, free: 58.32 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/5.317, allocations: 71.02 kB / 2.995 GB, free: 58.25 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/5.317, allocations: 4 kB / 2.995 GB, free: 58.24 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.249e-05/5.317, allocations: 338.8 kB / 2.995 GB, free: 57.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/5.317, allocations: 132.6 kB / 2.995 GB, free: 57.77 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/5.318, allocations: 209.4 kB / 2.995 GB, free: 57.55 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/5.318, allocations: 170.8 kB / 2.996 GB, free: 57.38 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/5.318, allocations: 0 / 2.996 GB, free: 57.38 MB / 1.167 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00345/5.322, allocations: 0.8496 MB / 2.996 GB, free: 56.51 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/5.322, allocations: 41.69 kB / 2.997 GB, free: 56.46 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/5.322, allocations: 0 / 2.997 GB, free: 56.46 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007803/5.322, allocations: 177.6 kB / 2.997 GB, free: 56.28 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/5.323, allocations: 51.92 kB / 2.997 GB, free: 56.23 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/5.325, allocations: 2.204 MB / 2.999 GB, free: 53.86 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/5.325, allocations: 47.73 kB / 2.999 GB, free: 53.82 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/5.326, allocations: 19.98 kB / 2.999 GB, free: 53.8 MB / 1.167 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.0001682/5.326, allocations: 154.6 kB / 2.999 GB, free: 53.63 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/5.326, allocations: 35.58 kB / 2.999 GB, free: 53.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.455e-05/5.326, allocations: 30.95 kB / 2.999 GB, free: 53.57 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/5.326, allocations: 4 kB / 2.999 GB, free: 53.56 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/5.326, allocations: 0 / 2.999 GB, free: 53.56 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/5.326, allocations: 4 kB / 2.999 GB, free: 53.56 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/5.329, allocations: 1.053 MB / 3 GB, free: 52.44 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/5.329, allocations: 0 / 3 GB, free: 52.44 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/5.329, allocations: 7.938 kB / 3 GB, free: 52.43 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001726/5.329, allocations: 96.89 kB / 3 GB, free: 52.34 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/5.329, allocations: 11.98 kB / 3 GB, free: 52.32 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000566/5.33, allocations: 0.7303 MB / 3.001 GB, free: 51.57 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/5.33, allocations: 7.938 kB / 3.001 GB, free: 51.56 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/5.332, allocations: 0.8802 MB / 3.002 GB, free: 50.65 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/5.333, allocations: 136.8 kB / 3.002 GB, free: 50.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/5.333, allocations: 8 kB / 3.002 GB, free: 50.49 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/5.333, allocations: 16.05 kB / 3.002 GB, free: 50.48 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/5.333, allocations: 11.98 kB / 3.002 GB, free: 50.46 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/5.333, allocations: 8 kB / 3.002 GB, free: 50.46 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002368/5.333, allocations: 238.1 kB / 3.002 GB, free: 50.23 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.91e-07/5.333, allocations: 0 / 3.002 GB, free: 50.23 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007542/5.334, allocations: 175.7 kB / 3.002 GB, free: 50.05 MB / 1.167 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.0008609/5.335, allocations: 0.7055 MB / 3.003 GB, free: 49.35 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001258/5.336, allocations: 0.527 MB / 3.004 GB, free: 48.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/5.336, allocations: 0 / 3.004 GB, free: 48.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005988/5.337, allocations: 240.1 kB / 3.004 GB, free: 48.55 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/5.337, allocations: 63.14 kB / 3.004 GB, free: 48.48 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007372/5.338, allocations: 419.1 kB / 3.004 GB, free: 48.05 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/5.338, allocations: 0.7638 MB / 3.005 GB, free: 47.27 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000152/5.338, allocations: 34 kB / 3.005 GB, free: 47.23 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.799e-05/5.338, allocations: 19.44 kB / 3.005 GB, free: 47.21 MB / 1.167 GB Notification: Performance of SimCode: time 4.91e-07/5.338, allocations: 4 kB / 3.005 GB, free: 47.21 MB / 1.167 GB Notification: Performance of Templates: time 0.02004/5.358, allocations: 16.36 MB / 3.021 GB, free: 30.92 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches