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.00139/0.00139, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001623/0.001623, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.451/1.451, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.756/2.756, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 74.73 kB / 0.8986 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3639, allocations: 157.4 MB / 1.052 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.0049/0.3689, allocations: 3.04 MB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1716/0.5405, allocations: 151.2 MB / 1.203 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004354/0.541, allocations: 7.938 kB / 1.203 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003785/0.5414, allocations: 75.44 kB / 1.203 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008458/0.5422, allocations: 238.5 kB / 1.203 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.5448, allocations: 0.9447 MB / 1.204 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009123/0.5457, allocations: 0.7876 MB / 1.205 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.5459, allocations: 94.03 kB / 1.205 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003611/0.5463, allocations: 319 kB / 1.205 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004328/0.5467, allocations: 334.8 kB / 1.206 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.617e-05/0.5468, allocations: 60 kB / 1.206 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.5486, allocations: 0.8302 MB / 1.207 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.5487, allocations: 155.5 kB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.549, allocations: 290.8 kB / 1.207 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.5506, allocations: 1.001 MB / 1.208 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5506, allocations: 0 / 1.208 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.365e-06/0.5506, allocations: 0 / 1.208 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.5506, allocations: 0 / 1.208 GB, free: 8.812 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.002899/0.5535, allocations: 1.055 MB / 1.209 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.5536, allocations: 8.625 kB / 1.209 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/0.5563, allocations: 271.8 kB / 1.209 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000646/0.557, allocations: 396.8 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.5571, allocations: 95.83 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.5572, allocations: 40 kB / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008463/0.558, allocations: 372.2 kB / 1.21 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5581, allocations: 0 / 1.21 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.5581, allocations: 7.984 kB / 1.21 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.5581, allocations: 8 kB / 1.21 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007468/0.5589, allocations: 261.4 kB / 1.21 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004701/0.5636, allocations: 1.677 MB / 1.212 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007903/0.5644, allocations: 256.1 kB / 1.212 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004739/0.5649, allocations: 160.8 kB / 1.212 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.565, allocations: 8 kB / 1.212 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007909/0.5658, allocations: 305.2 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.964e-06/0.5658, allocations: 4 kB / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.009166/0.5749, allocations: 1.498 MB / 1.214 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.575, allocations: 85.05 kB / 1.214 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000636/0.5757, allocations: 457.7 kB / 1.215 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001926/0.5759, allocations: 41.7 kB / 1.215 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.5761, allocations: 204.8 kB / 1.215 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.5762, allocations: 94.73 kB / 1.215 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/0.5765, allocations: 158.2 kB / 1.215 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5766, allocations: 358.8 kB / 1.215 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008045/0.5774, allocations: 269.2 kB / 1.216 GB, free: 484 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009268/0.5784, allocations: 421.8 kB / 1.216 GB, free: 36 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008119/0.5865, allocations: 1.864 MB / 1.218 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.5866, allocations: 0 / 1.218 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008097/0.5947, allocations: 1.576 MB / 1.22 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.866e-05/0.5948, allocations: 67.39 kB / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.5948, allocations: 0 / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.5967, allocations: 395.1 kB / 1.22 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005815/0.5973, allocations: 95.8 kB / 1.22 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006114/0.6034, allocations: 4.68 MB / 1.225 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.6046, allocations: 91.33 kB / 1.225 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.6048, allocations: 44.42 kB / 1.225 GB, free: 6.777 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.0003459/0.6051, allocations: 173.3 kB / 1.225 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.6052, allocations: 43.44 kB / 1.225 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.472e-05/0.6053, allocations: 39.58 kB / 1.225 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.6053, allocations: 4 kB / 1.225 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6053, allocations: 7.938 kB / 1.225 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.6053, allocations: 0 / 1.225 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000585/0.6059, allocations: 485 kB / 1.225 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.6059, allocations: 0 / 1.225 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.6061, allocations: 23.98 kB / 1.225 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006384/0.6068, allocations: 233.5 kB / 1.226 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.049e-05/0.6068, allocations: 11.98 kB / 1.226 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001946/0.6088, allocations: 1.492 MB / 1.227 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6088, allocations: 3.938 kB / 1.227 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006572/0.6154, allocations: 1.283 MB / 1.228 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.6156, allocations: 164.5 kB / 1.229 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-05/0.6157, allocations: 8 kB / 1.229 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005065/0.6162, allocations: 39.95 kB / 1.229 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.6164, allocations: 47.83 kB / 1.229 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.6164, allocations: 16.06 kB / 1.229 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004109/0.6168, allocations: 299.1 kB / 1.229 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6169, allocations: 0 / 1.229 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006689/0.6175, allocations: 159.9 kB / 1.229 GB, free: 2.121 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.0003454/0.6179, allocations: 172.7 kB / 1.229 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003278/0.6212, allocations: 1.054 MB / 1.23 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6212, allocations: 0 / 1.23 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.6228, allocations: 325.5 kB / 1.231 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.6235, allocations: 121.7 kB / 1.231 GB, free: 400 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.6253, allocations: 1.004 MB / 1.232 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.6257, allocations: 0.8074 MB / 1.233 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003151/0.626, allocations: 55.33 kB / 1.233 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.6262, allocations: 39.42 kB / 1.233 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/0.6262, allocations: 4 kB / 1.233 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of Templates: time 0.02132/0.6475, allocations: 12.11 MB / 1.244 GB, free: 2.434 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