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.001076/0.001076, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.01043/0.01043, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.511/1.511, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.92/2.92, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004654, allocations: 11.97 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3524, allocations: 159.6 MB / 1.059 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003749/0.3562, allocations: 2.675 MB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1801/0.5363, allocations: 149.5 MB / 1.207 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006665/0.537, allocations: 7.938 kB / 1.207 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005328/0.5376, allocations: 71.5 kB / 1.207 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.5391, allocations: 237.9 kB / 1.208 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004061/0.5432, allocations: 0.9269 MB / 1.209 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001436/0.5447, allocations: 0.7485 MB / 1.209 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/0.545, allocations: 86.03 kB / 1.209 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006191/0.5456, allocations: 283 kB / 1.21 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005724/0.5462, allocations: 314.8 kB / 1.21 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.763e-05/0.5463, allocations: 32 kB / 1.21 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.5486, allocations: 0.8731 MB / 1.211 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.5488, allocations: 123.5 kB / 1.211 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003307/0.5491, allocations: 284.5 kB / 1.211 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.5506, allocations: 0.9656 MB / 1.212 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5506, allocations: 0 / 1.212 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5506, allocations: 0 / 1.212 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.5506, allocations: 0 / 1.212 GB, free: 7.715 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.002552/0.5532, allocations: 0.9698 MB / 1.213 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.5532, allocations: 12.03 kB / 1.213 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0027/0.5559, allocations: 267.8 kB / 1.213 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/0.5566, allocations: 400.8 kB / 1.214 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.5568, allocations: 91.84 kB / 1.214 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.5569, allocations: 39.91 kB / 1.214 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008763/0.5578, allocations: 384.2 kB / 1.214 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.5578, allocations: 7.922 kB / 1.214 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/0.5579, allocations: 15.94 kB / 1.214 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.5579, allocations: 4 kB / 1.214 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000775/0.5587, allocations: 285.4 kB / 1.215 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004886/0.5636, allocations: 1.693 MB / 1.216 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00082/0.5644, allocations: 280.1 kB / 1.216 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006367/0.565, allocations: 176.8 kB / 1.217 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.5651, allocations: 4 kB / 1.217 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008406/0.5659, allocations: 325.1 kB / 1.217 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 2.745e-06/0.566, allocations: 0 / 1.217 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.008826/0.5748, allocations: 1.568 MB / 1.218 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/0.5749, allocations: 85.09 kB / 1.219 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007421/0.5756, allocations: 449.7 kB / 1.219 GB, free: 424 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.000182/0.5759, allocations: 45.7 kB / 1.219 GB, free: 372 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.5762, allocations: 204.8 kB / 1.219 GB, free: 164 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.5763, allocations: 102.6 kB / 1.219 GB, free: 60 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.5765, allocations: 69.75 kB / 1.219 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.5767, allocations: 350.8 kB / 1.22 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008584/0.5776, allocations: 289.1 kB / 1.22 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.5786, allocations: 429.8 kB / 1.22 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00837/0.587, allocations: 1.962 MB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.5871, allocations: 4 kB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007999/0.5951, allocations: 1.627 MB / 1.224 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.79e-05/0.5952, allocations: 63.41 kB / 1.224 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.5952, allocations: 3.984 kB / 1.224 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/0.5972, allocations: 407.1 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007068/0.5979, allocations: 99.86 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007104/0.605, allocations: 4.473 MB / 1.229 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.6063, allocations: 103.2 kB / 1.229 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/0.6065, allocations: 39.95 kB / 1.229 GB, free: 5.695 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.0004761/0.607, allocations: 180.5 kB / 1.229 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.6072, allocations: 47.44 kB / 1.229 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.6073, allocations: 39.58 kB / 1.229 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.6073, allocations: 4 kB / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.6073, allocations: 0 / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.6073, allocations: 4 kB / 1.229 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008575/0.6082, allocations: 485.1 kB / 1.23 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.6082, allocations: 0 / 1.23 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.6084, allocations: 23.98 kB / 1.23 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006619/0.6091, allocations: 237.7 kB / 1.23 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.6092, allocations: 11.98 kB / 1.23 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.6113, allocations: 1.5 MB / 1.231 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6113, allocations: 4 kB / 1.231 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006783/0.6181, allocations: 1.348 MB / 1.233 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003038/0.6185, allocations: 160.5 kB / 1.233 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.6186, allocations: 11.94 kB / 1.233 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005468/0.6192, allocations: 43.95 kB / 1.233 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.6193, allocations: 39.88 kB / 1.233 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.6194, allocations: 23.98 kB / 1.233 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000428/0.6198, allocations: 299.1 kB / 1.233 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6198, allocations: 0 / 1.233 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007829/0.6206, allocations: 159.9 kB / 1.233 GB, free: 0.9492 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.0003858/0.621, allocations: 171.1 kB / 1.234 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003472/0.6245, allocations: 1.054 MB / 1.235 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.6245, allocations: 0 / 1.235 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.6261, allocations: 345.4 kB / 1.235 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007668/0.6269, allocations: 101.9 kB / 1.235 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.6289, allocations: 1.076 MB / 1.236 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.6293, allocations: 0.8035 MB / 1.237 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003529/0.6296, allocations: 55.38 kB / 1.237 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.6298, allocations: 35.42 kB / 1.237 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of SimCode: time 9.71e-07/0.6298, allocations: 3.938 kB / 1.237 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.0218/0.6516, allocations: 11.47 MB / 1.248 GB, free: 1.84 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