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.EvaporationPulse.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.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 249.3 MB / 261.8 MB, free: 5.918 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.001071/0.001071, allocations: 182.6 kB / 321.3 MB, free: 14.64 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.671/1.671, 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.0009412/0.0009412, allocations: 84.92 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.12e-05/5.122e-05, allocations: 7.984 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2626, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.176/6.439, allocations: 2.183 GB / 3.075 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/6.439, allocations: 92.78 kB / 3.075 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1297/6.569, allocations: 66.65 MB / 3.14 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.885e-06/6.569, allocations: 0 / 3.14 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.936e-05/6.569, allocations: 12 kB / 3.14 GB, free: 119.8 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00208/6.571, allocations: 0.8848 MB / 3.141 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/6.571, allocations: 12.03 kB / 3.141 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/6.573, allocations: 251.1 kB / 3.141 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005821/6.574, allocations: 397 kB / 3.141 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-05/6.574, allocations: 91.83 kB / 3.141 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/6.574, allocations: 40 kB / 3.141 GB, free: 118 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/6.574, allocations: 320.3 kB / 3.142 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/6.574, allocations: 3.938 kB / 3.142 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/6.574, allocations: 12 kB / 3.142 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/6.574, allocations: 8 kB / 3.142 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/6.575, allocations: 181.6 kB / 3.142 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004029/6.579, allocations: 1.744 MB / 3.144 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/6.579, allocations: 170.8 kB / 3.144 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/6.579, allocations: 124.8 kB / 3.144 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/6.579, allocations: 4 kB / 3.144 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003689/6.58, allocations: 256.9 kB / 3.144 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 2.706e-06/6.58, allocations: 0 / 3.144 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.005145/6.585, allocations: 0.9758 MB / 3.145 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/6.585, allocations: 81.11 kB / 3.145 GB, free: 114 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004668/6.585, allocations: 391 kB / 3.145 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001713/6.586, allocations: 41.7 kB / 3.146 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/6.586, allocations: 200.9 kB / 3.146 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.689e-05/6.586, allocations: 102.6 kB / 3.146 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/6.586, allocations: 12 kB / 3.146 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001022/6.586, allocations: 354.8 kB / 3.146 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/6.586, allocations: 221.5 kB / 3.146 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/6.587, allocations: 363.2 kB / 3.147 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/6.587, allocations: 277.3 kB / 3.147 GB, free: 112 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/6.587, allocations: 0 / 3.147 GB, free: 112 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.006027/6.593, allocations: 1.452 MB / 3.148 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.353e-05/6.593, allocations: 67.39 kB / 3.148 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/6.593, allocations: 7.938 kB / 3.148 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/6.595, allocations: 367.2 kB / 3.149 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/6.595, allocations: 103.8 kB / 3.149 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004245/6.6, allocations: 4.415 MB / 3.153 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/6.601, allocations: 107.3 kB / 3.153 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.978e-05/6.601, allocations: 43.95 kB / 3.153 GB, free: 105.1 MB / 0.8698 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = false protected = true ) "Signal, true when component is off" type: Boolean evaSho.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: 8 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition4,$whenCondition2,$PRE.evaNor.off,evaNor.off,$PRE.pulNor.T_start,pulNor.T_start,$PRE.pulNor.count,pulNor.count,$whenCondition3,$whenCondition1,$PRE.pulSho.T_start,pulSho.T_start,$PRE.pulSho.count,pulSho.count,$PRE.evaSho.off,evaSho.off,intNor.local_reset,intSho.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {7,7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002235/6.601, allocations: 144.5 kB / 3.153 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.108e-05/6.601, allocations: 47.44 kB / 3.154 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/6.601, allocations: 43.69 kB / 3.154 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/6.601, allocations: 4 kB / 3.154 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/6.601, allocations: 0 / 3.154 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/6.601, allocations: 4 kB / 3.154 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/6.602, allocations: 477.3 kB / 3.154 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/6.602, allocations: 0 / 3.154 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/6.602, allocations: 27.97 kB / 3.154 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003357/6.602, allocations: 201.5 kB / 3.154 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/6.603, allocations: 7.984 kB / 3.154 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/6.604, allocations: 1.457 MB / 3.156 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/6.604, allocations: 4 kB / 3.156 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004828/6.609, allocations: 1.16 MB / 3.157 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/6.609, allocations: 168.4 kB / 3.157 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-05/6.609, allocations: 16 kB / 3.157 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/6.609, allocations: 39.95 kB / 3.157 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/6.609, allocations: 39.94 kB / 3.157 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/6.61, allocations: 15.97 kB / 3.157 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003179/6.61, allocations: 293.2 kB / 3.157 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.61, allocations: 0 / 3.157 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009245/6.611, allocations: 207.9 kB / 3.158 GB, free: 100.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (evaSho.m,intSho.y,evaNor.m,intNor.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition1,pulSho.T_start,pulSho.count,evaSho.off,$whenCondition4,$whenCondition2,evaNor.off,pulNor.T_start,pulNor.count) * Number of discrete states: 4 (pulNor.count,evaNor.off,pulSho.count,evaSho.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {7,7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009271/6.612, allocations: 0.7413 MB / 3.158 GB, free: 99.86 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002337/6.614, allocations: 0.9293 MB / 3.159 GB, free: 98.88 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/6.614, allocations: 0 / 3.159 GB, free: 98.88 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/6.615, allocations: 273.3 kB / 3.159 GB, free: 98.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/6.616, allocations: 106.4 kB / 3.16 GB, free: 98.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/6.617, allocations: 0.6201 MB / 3.16 GB, free: 97.85 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/6.617, allocations: 0.8113 MB / 3.161 GB, free: 97.02 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003014/6.617, allocations: 71.25 kB / 3.161 GB, free: 96.95 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/6.618, allocations: 39.42 kB / 3.161 GB, free: 96.91 MB / 0.8698 GB Notification: Performance of SimCode: time 5.41e-07/6.618, allocations: 0 / 3.161 GB, free: 96.91 MB / 0.8698 GB Notification: Performance of Templates: time 0.02666/6.644, allocations: 21.57 MB / 3.182 GB, free: 75.39 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches