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.001046/0.001046, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.545/1.545, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.852/2.852, allocations: 462.7 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 13.92 kB / 0.9034 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3145, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003565/0.3181, allocations: 2.679 MB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1647/0.4828, allocations: 149.5 MB / 1.208 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000448/0.4833, allocations: 7.938 kB / 1.208 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004351/0.4837, allocations: 75.5 kB / 1.208 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.4848, allocations: 246.5 kB / 1.208 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.4874, allocations: 0.9244 MB / 1.209 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.4884, allocations: 0.7368 MB / 1.21 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.4886, allocations: 86.05 kB / 1.21 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005404/0.4892, allocations: 287 kB / 1.21 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005624/0.4898, allocations: 314.8 kB / 1.211 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.4899, allocations: 32 kB / 1.211 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.4917, allocations: 0.8692 MB / 1.211 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.4919, allocations: 127.5 kB / 1.212 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003718/0.4923, allocations: 284.5 kB / 1.212 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.4933, allocations: 0.6857 MB / 1.213 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4933, allocations: 0 / 1.213 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4934, allocations: 3.938 kB / 1.213 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.059e-05/0.4934, allocations: 0 / 1.213 GB, free: 7.562 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.002795/0.4962, allocations: 0.9659 MB / 1.213 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.4962, allocations: 15.97 kB / 1.213 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002709/0.4989, allocations: 267.8 kB / 1.214 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007571/0.4997, allocations: 396.8 kB / 1.214 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.4999, allocations: 95.83 kB / 1.214 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.5, allocations: 47.91 kB / 1.214 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009246/0.5009, allocations: 380.2 kB / 1.215 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.501, allocations: 4 kB / 1.215 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.501, allocations: 11.98 kB / 1.215 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.501, allocations: 8 kB / 1.215 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008125/0.5019, allocations: 277.4 kB / 1.215 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004793/0.5067, allocations: 1.712 MB / 1.217 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008469/0.5075, allocations: 278.5 kB / 1.217 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005111/0.5081, allocations: 180.7 kB / 1.217 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.5081, allocations: 4 kB / 1.217 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008008/0.5089, allocations: 312.7 kB / 1.217 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 3.657e-06/0.5089, allocations: 0 / 1.217 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.009057/0.518, allocations: 1.564 MB / 1.219 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.5181, allocations: 85.05 kB / 1.219 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006199/0.5187, allocations: 461.6 kB / 1.219 GB, free: 248 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001774/0.5189, allocations: 37.7 kB / 1.219 GB, free: 204 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.5192, allocations: 204.8 kB / 1.22 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.5193, allocations: 98.64 kB / 1.22 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.5194, allocations: 65.69 kB / 1.22 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5196, allocations: 362.8 kB / 1.22 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008624/0.5204, allocations: 289.1 kB / 1.22 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009645/0.5214, allocations: 429.8 kB / 1.221 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008189/0.5296, allocations: 1.955 MB / 1.223 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.5296, allocations: 0 / 1.223 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007992/0.5376, allocations: 1.627 MB / 1.224 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.187e-05/0.5377, allocations: 59.41 kB / 1.224 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.5378, allocations: 0 / 1.224 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.5396, allocations: 411.1 kB / 1.225 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.5402, allocations: 95.81 kB / 1.225 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005709/0.5459, allocations: 4.479 MB / 1.229 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.547, allocations: 111.2 kB / 1.229 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.5471, allocations: 39.95 kB / 1.229 GB, free: 5.539 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.0003401/0.5475, allocations: 174.2 kB / 1.229 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.5476, allocations: 43.44 kB / 1.23 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.605e-05/0.5477, allocations: 43.56 kB / 1.23 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.5477, allocations: 4 kB / 1.23 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5477, allocations: 0 / 1.23 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.5477, allocations: 4 kB / 1.23 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000634/0.5483, allocations: 477.1 kB / 1.23 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/0.5484, allocations: 0 / 1.23 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.5486, allocations: 31.97 kB / 1.23 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006321/0.5492, allocations: 241.5 kB / 1.23 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.5493, allocations: 11.98 kB / 1.23 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.551, allocations: 1.496 MB / 1.232 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5511, allocations: 4 kB / 1.232 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006703/0.5578, allocations: 1.358 MB / 1.233 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.558, allocations: 160.5 kB / 1.233 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.89e-05/0.5582, allocations: 11.94 kB / 1.233 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/0.5587, allocations: 47.95 kB / 1.233 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.5588, allocations: 47.81 kB / 1.233 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/0.5589, allocations: 15.97 kB / 1.233 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000413/0.5593, allocations: 295.1 kB / 1.234 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5593, allocations: 4 kB / 1.234 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006886/0.56, allocations: 159.9 kB / 1.234 GB, free: 0.7852 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.0003749/0.5604, allocations: 174 kB / 1.234 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003538/0.564, allocations: 1.052 MB / 1.235 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.564, allocations: 0 / 1.235 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.5656, allocations: 333.5 kB / 1.235 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000747/0.5664, allocations: 111.2 kB / 1.235 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.5684, allocations: 1.101 MB / 1.236 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.5688, allocations: 0.8113 MB / 1.237 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.569, allocations: 35.42 kB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of SimCode: time 6.32e-07/0.569, allocations: 0 / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of Templates: time 0.01674/0.5857, allocations: 12.16 MB / 1.249 GB, free: 0.9453 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/jenkins1/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