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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001397/0.001397, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001938/0.001939, allocations: 195.5 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.758/2.758, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 62.16 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4209, allocations: 157.4 MB / 1.052 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004456/0.4254, allocations: 3.044 MB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1892/0.6147, allocations: 151.2 MB / 1.203 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004461/0.6152, allocations: 0 / 1.203 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.6157, allocations: 75.45 kB / 1.203 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0009862/0.6167, allocations: 238.5 kB / 1.203 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.6193, allocations: 0.929 MB / 1.204 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001045/0.6204, allocations: 0.7523 MB / 1.205 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.6206, allocations: 90.03 kB / 1.205 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003564/0.621, allocations: 283.1 kB / 1.205 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004308/0.6214, allocations: 326.8 kB / 1.205 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.09e-05/0.6215, allocations: 36 kB / 1.205 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001901/0.6234, allocations: 0.8769 MB / 1.206 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.6236, allocations: 131.6 kB / 1.206 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002927/0.6239, allocations: 266.8 kB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.6253, allocations: 0.9736 MB / 1.208 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.6254, allocations: 0 / 1.208 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.52e-07/0.6254, allocations: 0 / 1.208 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.6254, allocations: 0 / 1.208 GB, free: 9.098 MB / 0.9669 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.003046/0.6284, allocations: 1.059 MB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.6285, allocations: 12.02 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/0.6312, allocations: 267.8 kB / 1.209 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006351/0.6318, allocations: 400.8 kB / 1.209 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.632, allocations: 91.83 kB / 1.209 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.6321, allocations: 43.98 kB / 1.209 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008438/0.6329, allocations: 372.2 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.6329, allocations: 0 / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.633, allocations: 8 kB / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.633, allocations: 15.92 kB / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007487/0.6338, allocations: 257.4 kB / 1.21 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004764/0.6385, allocations: 1.685 MB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007889/0.6393, allocations: 252.1 kB / 1.212 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004899/0.6398, allocations: 156.8 kB / 1.212 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.6399, allocations: 7.938 kB / 1.212 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008492/0.6408, allocations: 309.2 kB / 1.212 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 2.204e-06/0.6408, allocations: 0 / 1.212 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.008926/0.6497, allocations: 1.502 MB / 1.214 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.6499, allocations: 85.11 kB / 1.214 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007019/0.6506, allocations: 457.6 kB / 1.214 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002119/0.6508, allocations: 41.7 kB / 1.214 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.651, allocations: 200.8 kB / 1.215 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.6511, allocations: 94.78 kB / 1.215 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002976/0.6514, allocations: 162.2 kB / 1.215 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002205/0.6517, allocations: 350.8 kB / 1.215 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008889/0.6526, allocations: 273.1 kB / 1.215 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009661/0.6535, allocations: 417.8 kB / 1.216 GB, free: 320 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008058/0.6616, allocations: 1.861 MB / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.6616, allocations: 0 / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007904/0.6696, allocations: 1.576 MB / 1.219 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.863e-05/0.6697, allocations: 59.41 kB / 1.219 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.6697, allocations: 0 / 1.219 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/0.6715, allocations: 407.1 kB / 1.22 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005756/0.6721, allocations: 91.8 kB / 1.22 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006334/0.6785, allocations: 4.461 MB / 1.224 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.6796, allocations: 95.33 kB / 1.224 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.6798, allocations: 35.95 kB / 1.224 GB, free: 7.297 MB / 0.9825 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 ($PRE.pulNor.count,$PRE.pulNor.T_start,$PRE.evaNor.off,pulNor.count,pulNor.T_start,evaNor.off,$whenCondition2,$whenCondition4,$PRE.evaSho.off,$PRE.pulSho.count,$PRE.pulSho.T_start,evaSho.off,pulSho.count,pulSho.T_start,$whenCondition1,$whenCondition3,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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {7, 7} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004465/0.6802, allocations: 173.7 kB / 1.224 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.6804, allocations: 47.42 kB / 1.224 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.461e-05/0.6805, allocations: 43.58 kB / 1.224 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6805, allocations: 0 / 1.224 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6805, allocations: 4.188 kB / 1.224 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6805, allocations: 0 / 1.224 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006553/0.6812, allocations: 485.1 kB / 1.225 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.6812, allocations: 3.984 kB / 1.225 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.6814, allocations: 23.98 kB / 1.225 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006392/0.682, allocations: 225.5 kB / 1.225 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/0.6821, allocations: 11.98 kB / 1.225 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.684, allocations: 1.491 MB / 1.227 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.6841, allocations: 4.938 kB / 1.227 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006616/0.6907, allocations: 1.294 MB / 1.228 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.691, allocations: 152.5 kB / 1.228 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.6911, allocations: 15.92 kB / 1.228 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005418/0.6917, allocations: 35.95 kB / 1.228 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.6918, allocations: 47.88 kB / 1.228 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.6919, allocations: 15.98 kB / 1.228 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004577/0.6923, allocations: 299.1 kB / 1.228 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.1e-07/0.6923, allocations: 0 / 1.228 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007928/0.6931, allocations: 156 kB / 1.229 GB, free: 2.645 MB / 0.9825 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {7, 7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003996/0.6936, allocations: 176 kB / 1.229 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0038/0.6974, allocations: 1.034 MB / 1.23 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.6974, allocations: 0 / 1.23 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001616/0.699, allocations: 316.5 kB / 1.23 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006924/0.6997, allocations: 99.7 kB / 1.23 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.7018, allocations: 1.014 MB / 1.231 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.7023, allocations: 0.8113 MB / 1.232 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003795/0.7027, allocations: 59.31 kB / 1.232 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.7028, allocations: 39.42 kB / 1.232 GB, free: 15 MB / 0.9981 GB Notification: Performance of SimCode: time 7.91e-07/0.7028, allocations: 0 / 1.232 GB, free: 15 MB / 0.9981 GB Notification: Performance of Templates: time 0.02086/0.7237, allocations: 11.57 MB / 1.243 GB, free: 3.527 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches