Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.DXSystems.Cooling.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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 99.23 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001053, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.69/2.69, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003531, allocations: 8 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7705/0.7709, allocations: 153.7 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003067/0.774, allocations: 2.434 MB / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1712/0.9452, allocations: 129.5 MB / 1.15 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004135/0.9456, allocations: 7.938 kB / 1.15 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.9459, allocations: 59.58 kB / 1.15 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008783/0.9468, allocations: 281.4 kB / 1.15 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.949, allocations: 0.8025 MB / 1.151 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006811/0.9497, allocations: 496 kB / 1.151 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.9498, allocations: 69.81 kB / 1.151 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003105/0.9502, allocations: 283.2 kB / 1.152 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000401/0.9506, allocations: 302.9 kB / 1.152 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.817e-05/0.9506, allocations: 32 kB / 1.152 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.9519, allocations: 0.6006 MB / 1.152 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.9521, allocations: 111.6 kB / 1.153 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.9522, allocations: 113.5 kB / 1.153 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007631/0.953, allocations: 0.6546 MB / 1.153 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.953, allocations: 4 kB / 1.153 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.893e-06/0.953, allocations: 0 / 1.153 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.953, allocations: 0 / 1.153 GB, free: 9.09 MB / 0.9044 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.002467/0.9555, allocations: 0.9733 MB / 1.154 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.9555, allocations: 12.03 kB / 1.154 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/0.958, allocations: 263.1 kB / 1.155 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006718/0.9586, allocations: 397.1 kB / 1.155 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.9588, allocations: 87.84 kB / 1.155 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.9589, allocations: 43.98 kB / 1.155 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008087/0.9597, allocations: 380.2 kB / 1.155 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.9597, allocations: 4 kB / 1.155 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.9597, allocations: 8 kB / 1.155 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.9598, allocations: 8 kB / 1.155 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007305/0.9605, allocations: 273.5 kB / 1.156 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004389/0.9649, allocations: 1.697 MB / 1.157 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007795/0.9657, allocations: 274.6 kB / 1.158 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.9657, allocations: 11.98 kB / 1.158 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007355/0.9665, allocations: 304.8 kB / 1.158 GB, free: 4.164 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 6.352e-06/0.9665, allocations: 0 / 1.158 GB, free: 4.164 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.008021/0.9745, allocations: 1.552 MB / 1.159 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.9746, allocations: 105 kB / 1.16 GB, free: 2.441 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000568/0.9752, allocations: 449.6 kB / 1.16 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.9753, allocations: 37.7 kB / 1.16 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.9755, allocations: 204.8 kB / 1.16 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.1e-05/0.9756, allocations: 90.73 kB / 1.16 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.9757, allocations: 12 kB / 1.16 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.9759, allocations: 358.8 kB / 1.161 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007317/0.9766, allocations: 281.2 kB / 1.161 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009051/0.9775, allocations: 433.8 kB / 1.161 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000847/0.9784, allocations: 346.4 kB / 1.162 GB, free: 220 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.9784, allocations: 4 kB / 1.162 GB, free: 216 kB / 0.9044 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007204/0.9856, allocations: 1.623 MB / 1.163 GB, free: 14.55 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.304e-05/0.9857, allocations: 67.53 kB / 1.163 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.9858, allocations: 4 kB / 1.163 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00182/0.9876, allocations: 403 kB / 1.164 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.9881, allocations: 95.86 kB / 1.164 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00576/0.9939, allocations: 4.49 MB / 1.168 GB, free: 9.168 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.995, allocations: 107.2 kB / 1.168 GB, free: 9.062 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.548e-05/0.9951, allocations: 35.97 kB / 1.168 GB, free: 9.027 MB / 0.92 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean evaSho.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: 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 () * Number of clocked 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.0003522/0.9955, allocations: 181.5 kB / 1.168 GB, free: 8.84 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.629e-05/0.9956, allocations: 43.44 kB / 1.168 GB, free: 8.797 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.058e-05/0.9956, allocations: 39.58 kB / 1.169 GB, free: 8.754 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.9956, allocations: 8.266 kB / 1.169 GB, free: 8.746 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9956, allocations: 0 / 1.169 GB, free: 8.746 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.9957, allocations: 7.984 kB / 1.169 GB, free: 8.738 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005608/0.9962, allocations: 477.2 kB / 1.169 GB, free: 8.223 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.9962, allocations: 7.938 kB / 1.169 GB, free: 8.215 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.9964, allocations: 31.95 kB / 1.169 GB, free: 8.184 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005883/0.997, allocations: 233.5 kB / 1.169 GB, free: 7.949 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.9971, allocations: 15.97 kB / 1.169 GB, free: 7.934 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.9989, allocations: 1.499 MB / 1.171 GB, free: 6.391 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9989, allocations: 0 / 1.171 GB, free: 6.391 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005985/1.005, allocations: 1.364 MB / 1.172 GB, free: 4.992 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/1.005, allocations: 164.5 kB / 1.172 GB, free: 4.812 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/1.005, allocations: 8 kB / 1.172 GB, free: 4.805 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/1.006, allocations: 47.91 kB / 1.172 GB, free: 4.758 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/1.006, allocations: 39.92 kB / 1.172 GB, free: 4.719 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/1.006, allocations: 19.98 kB / 1.172 GB, free: 4.699 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004029/1.006, allocations: 295.1 kB / 1.173 GB, free: 4.414 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/1.006, allocations: 4 kB / 1.173 GB, free: 4.41 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008214/1.007, allocations: 159.8 kB / 1.173 GB, free: 4.254 MB / 0.92 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) * Number of clocked states: 0 () * 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.0004036/1.008, allocations: 169.1 kB / 1.173 GB, free: 4.082 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003243/1.011, allocations: 1.064 MB / 1.174 GB, free: 2.961 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.011, allocations: 0 / 1.174 GB, free: 2.961 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/1.012, allocations: 329.6 kB / 1.174 GB, free: 2.633 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006628/1.013, allocations: 97.89 kB / 1.174 GB, free: 2.539 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/1.015, allocations: 1.045 MB / 1.175 GB, free: 1.48 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/1.015, allocations: 0.8152 MB / 1.176 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003348/1.016, allocations: 55.33 kB / 1.176 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/1.016, allocations: 43.41 kB / 1.176 GB, free: 0.543 MB / 0.92 GB Notification: Performance of SimCode: time 5.11e-07/1.016, allocations: 0 / 1.176 GB, free: 0.543 MB / 0.92 GB Notification: Performance of Templates: time 0.01863/1.034, allocations: 11.1 MB / 1.187 GB, free: 5.535 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches