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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 387.1 MB / 399.7 MB, free: 9.527 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.00114/0.00114, allocations: 183 kB / 492.3 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.633/1.633, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009839/0.0009839, allocations: 102.5 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.42e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.311, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.485/4.796, allocations: 1.722 GB / 2.935 GB, free: 117.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/4.796, allocations: 94.81 kB / 2.935 GB, free: 117.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1012/4.897, allocations: 50.02 MB / 2.984 GB, free: 73.07 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.593e-06/4.897, allocations: 0 / 2.984 GB, free: 73.07 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.852e-05/4.897, allocations: 12 kB / 2.984 GB, free: 73.05 MB / 1.151 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.001162/4.899, allocations: 0.6442 MB / 2.984 GB, free: 72.36 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/4.899, allocations: 8.031 kB / 2.984 GB, free: 72.35 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/4.9, allocations: 163.4 kB / 2.984 GB, free: 72.19 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/4.9, allocations: 298.5 kB / 2.985 GB, free: 71.86 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.456e-05/4.901, allocations: 41.7 kB / 2.985 GB, free: 71.81 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.909e-05/4.901, allocations: 27.95 kB / 2.985 GB, free: 71.78 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/4.901, allocations: 213.5 kB / 2.985 GB, free: 71.56 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/4.901, allocations: 0 / 2.985 GB, free: 71.56 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/4.901, allocations: 4.219 kB / 2.985 GB, free: 71.55 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/4.901, allocations: 4 kB / 2.985 GB, free: 71.55 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/4.901, allocations: 125.1 kB / 2.985 GB, free: 71.43 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/4.903, allocations: 1.02 MB / 2.986 GB, free: 70.35 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006905/4.904, allocations: 166.4 kB / 2.986 GB, free: 70.18 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/4.904, allocations: 96.83 kB / 2.986 GB, free: 70.08 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/4.904, allocations: 8 kB / 2.986 GB, free: 70.07 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/4.905, allocations: 186.3 kB / 2.986 GB, free: 69.87 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/4.905, allocations: 0 / 2.986 GB, free: 69.87 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0029/4.908, allocations: 0.6486 MB / 2.987 GB, free: 69.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/4.908, allocations: 89.11 kB / 2.987 GB, free: 69.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/4.908, allocations: 302.6 kB / 2.987 GB, free: 68.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/4.908, allocations: 33.7 kB / 2.987 GB, free: 68.76 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/4.908, allocations: 144.7 kB / 2.988 GB, free: 68.61 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/4.908, allocations: 59.19 kB / 2.988 GB, free: 68.55 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/4.908, allocations: 4 kB / 2.988 GB, free: 68.55 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.958e-05/4.908, allocations: 346.8 kB / 2.988 GB, free: 68.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/4.908, allocations: 132.6 kB / 2.988 GB, free: 68.07 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/4.909, allocations: 206.1 kB / 2.988 GB, free: 67.85 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/4.909, allocations: 174.7 kB / 2.988 GB, free: 67.68 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/4.909, allocations: 3.984 kB / 2.988 GB, free: 67.67 MB / 1.151 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00318/4.912, allocations: 0.8544 MB / 2.989 GB, free: 66.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/4.912, allocations: 33.7 kB / 2.989 GB, free: 66.76 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/4.912, allocations: 0 / 2.989 GB, free: 66.76 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000742/4.913, allocations: 181.6 kB / 2.99 GB, free: 66.58 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/4.913, allocations: 51.78 kB / 2.99 GB, free: 66.53 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/4.915, allocations: 2.204 MB / 2.992 GB, free: 64.16 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/4.916, allocations: 47.67 kB / 2.992 GB, free: 64.11 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/4.916, allocations: 23.97 kB / 2.992 GB, free: 64.09 MB / 1.151 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.0001484/4.916, allocations: 152.7 kB / 2.992 GB, free: 63.93 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/4.916, allocations: 35.58 kB / 2.992 GB, free: 63.89 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/4.916, allocations: 30.95 kB / 2.992 GB, free: 63.86 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/4.916, allocations: 4 kB / 2.992 GB, free: 63.86 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.418e-05/4.916, allocations: 0 / 2.992 GB, free: 63.86 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/4.916, allocations: 3.984 kB / 2.992 GB, free: 63.86 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002892/4.919, allocations: 1.049 MB / 2.993 GB, free: 62.74 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/4.919, allocations: 0 / 2.993 GB, free: 62.74 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.204e-05/4.919, allocations: 4 kB / 2.993 GB, free: 62.74 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001736/4.919, allocations: 104.9 kB / 2.993 GB, free: 62.63 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/4.919, allocations: 4 kB / 2.993 GB, free: 62.63 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005731/4.92, allocations: 0.7343 MB / 2.994 GB, free: 61.87 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/4.92, allocations: 0 / 2.994 GB, free: 61.87 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002769/4.923, allocations: 0.8867 MB / 2.995 GB, free: 60.96 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/4.923, allocations: 136.7 kB / 2.995 GB, free: 60.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/4.923, allocations: 7.938 kB / 2.995 GB, free: 60.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/4.923, allocations: 20.05 kB / 2.995 GB, free: 60.78 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/4.923, allocations: 7.984 kB / 2.995 GB, free: 60.77 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/4.923, allocations: 15.98 kB / 2.995 GB, free: 60.75 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002123/4.924, allocations: 230.2 kB / 2.995 GB, free: 60.53 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/4.924, allocations: 0 / 2.995 GB, free: 60.53 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007476/4.924, allocations: 167.8 kB / 2.995 GB, free: 60.36 MB / 1.151 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.0009145/4.925, allocations: 0.712 MB / 2.996 GB, free: 59.66 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001282/4.926, allocations: 0.5378 MB / 2.997 GB, free: 59.09 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/4.927, allocations: 4 kB / 2.997 GB, free: 59.09 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006043/4.927, allocations: 224.1 kB / 2.997 GB, free: 58.85 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/4.928, allocations: 66.2 kB / 2.997 GB, free: 58.79 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007505/4.928, allocations: 424.4 kB / 2.997 GB, free: 58.35 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/4.928, allocations: 0.7715 MB / 2.998 GB, free: 57.55 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001569/4.929, allocations: 34.02 kB / 2.998 GB, free: 57.52 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/4.929, allocations: 23.42 kB / 2.998 GB, free: 57.5 MB / 1.151 GB Notification: Performance of SimCode: time 5.61e-07/4.929, allocations: 0 / 2.998 GB, free: 57.5 MB / 1.151 GB Notification: Performance of Templates: time 0.01993/4.949, allocations: 16.35 MB / 3.014 GB, free: 41.2 MB / 1.151 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","../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches