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.001192/0.001192, allocations: 110.3 kB / 16.41 MB, free: 6.492 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.001277/0.001277, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.682/2.682, allocations: 469.4 MB / 0.7428 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 63.89 kB / 1.066 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.951/0.9525, allocations: 159.1 MB / 1.221 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004363/0.957, allocations: 3.004 MB / 1.224 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1744/1.131, allocations: 153.4 MB / 1.374 GB, free: 5.406 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006437/1.132, allocations: 4 kB / 1.374 GB, free: 5.402 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005722/1.133, allocations: 91.19 kB / 1.374 GB, free: 5.312 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001486/1.134, allocations: 286.1 kB / 1.374 GB, free: 5.031 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003295/1.138, allocations: 1.023 MB / 1.375 GB, free: 4.02 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001351/1.139, allocations: 0.7993 MB / 1.376 GB, free: 3.215 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/1.139, allocations: 86.03 kB / 1.376 GB, free: 3.129 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000687/1.14, allocations: 323 kB / 1.376 GB, free: 2.812 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007081/1.141, allocations: 334.8 kB / 1.377 GB, free: 2.484 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001738/1.141, allocations: 63.94 kB / 1.377 GB, free: 2.422 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/1.143, allocations: 0.7914 MB / 1.377 GB, free: 1.629 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002244/1.143, allocations: 159.5 kB / 1.378 GB, free: 1.473 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000396/1.143, allocations: 286.7 kB / 1.378 GB, free: 1.191 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00195/1.145, allocations: 0.9757 MB / 1.379 GB, free: 220 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.145, allocations: 0 / 1.379 GB, free: 220 kB / 1.092 GB Notification: Performance of FrontEnd: time 4.308e-06/1.145, allocations: 0 / 1.379 GB, free: 220 kB / 1.092 GB Notification: Performance of Transformations before backend: time 2.137e-05/1.146, allocations: 3.938 kB / 1.379 GB, free: 216 kB / 1.092 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.0031/1.149, allocations: 1.055 MB / 1.38 GB, free: 15.09 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.149, allocations: 12.62 kB / 1.38 GB, free: 15.08 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/1.151, allocations: 263.8 kB / 1.38 GB, free: 14.82 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000782/1.152, allocations: 408.8 kB / 1.38 GB, free: 14.38 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/1.152, allocations: 91.84 kB / 1.381 GB, free: 14.28 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/1.152, allocations: 39.98 kB / 1.381 GB, free: 14.24 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008472/1.153, allocations: 372.2 kB / 1.381 GB, free: 13.86 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.153, allocations: 0 / 1.381 GB, free: 13.86 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/1.153, allocations: 8 kB / 1.381 GB, free: 13.85 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/1.153, allocations: 4 kB / 1.381 GB, free: 13.85 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007575/1.154, allocations: 261.4 kB / 1.381 GB, free: 13.59 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004697/1.159, allocations: 1.677 MB / 1.383 GB, free: 11.85 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008266/1.16, allocations: 258.5 kB / 1.383 GB, free: 11.59 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004872/1.16, allocations: 160.8 kB / 1.383 GB, free: 11.43 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/1.16, allocations: 4 kB / 1.383 GB, free: 11.42 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007448/1.161, allocations: 304.8 kB / 1.383 GB, free: 11.11 MB / 1.107 GB Notification: Performance of pre-optimization done (n=30): time 2.215e-06/1.161, allocations: 0 / 1.383 GB, free: 11.11 MB / 1.107 GB Notification: Performance of matching and sorting (n=30): time 0.008601/1.17, allocations: 1.494 MB / 1.385 GB, free: 9.566 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/1.17, allocations: 85.11 kB / 1.385 GB, free: 9.465 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007099/1.17, allocations: 449.7 kB / 1.385 GB, free: 9.012 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002156/1.171, allocations: 45.69 kB / 1.386 GB, free: 8.961 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000251/1.171, allocations: 196.9 kB / 1.386 GB, free: 8.766 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/1.171, allocations: 102.6 kB / 1.386 GB, free: 8.664 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003368/1.171, allocations: 162.2 kB / 1.386 GB, free: 8.496 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.172, allocations: 354.8 kB / 1.386 GB, free: 8.141 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008316/1.172, allocations: 273.1 kB / 1.387 GB, free: 7.875 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000982/1.173, allocations: 425.7 kB / 1.387 GB, free: 7.43 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007969/1.181, allocations: 1.85 MB / 1.389 GB, free: 5.523 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/1.181, allocations: 4 kB / 1.389 GB, free: 5.52 MB / 1.107 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007741/1.189, allocations: 1.576 MB / 1.39 GB, free: 3.91 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 7.266e-05/1.189, allocations: 71.33 kB / 1.39 GB, free: 3.828 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/1.189, allocations: 0 / 1.39 GB, free: 3.828 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/1.191, allocations: 399.1 kB / 1.391 GB, free: 3.426 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/1.192, allocations: 91.86 kB / 1.391 GB, free: 3.336 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006262/1.198, allocations: 4.685 MB / 1.395 GB, free: 14.32 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/1.199, allocations: 103.2 kB / 1.396 GB, free: 14.21 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/1.199, allocations: 35.97 kB / 1.396 GB, free: 14.18 MB / 1.123 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.0004382/1.2, allocations: 174.5 kB / 1.396 GB, free: 14 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/1.2, allocations: 43.44 kB / 1.396 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.255e-05/1.2, allocations: 39.58 kB / 1.396 GB, free: 13.92 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.2, allocations: 4 kB / 1.396 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.2, allocations: 3.938 kB / 1.396 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.2, allocations: 3.984 kB / 1.396 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006473/1.201, allocations: 473.2 kB / 1.396 GB, free: 13.39 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/1.201, allocations: 4 kB / 1.396 GB, free: 13.39 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/1.201, allocations: 35.84 kB / 1.396 GB, free: 13.36 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006158/1.202, allocations: 221.5 kB / 1.397 GB, free: 13.13 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/1.202, allocations: 11.98 kB / 1.397 GB, free: 13.12 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/1.204, allocations: 1.492 MB / 1.398 GB, free: 11.58 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.204, allocations: 0 / 1.398 GB, free: 11.58 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006409/1.21, allocations: 1.283 MB / 1.399 GB, free: 10.27 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/1.21, allocations: 156.5 kB / 1.399 GB, free: 10.1 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/1.211, allocations: 11.94 kB / 1.399 GB, free: 10.09 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005274/1.211, allocations: 39.95 kB / 1.399 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/1.211, allocations: 47.94 kB / 1.399 GB, free: 10 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/1.211, allocations: 11.98 kB / 1.399 GB, free: 9.988 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004627/1.212, allocations: 303.1 kB / 1.4 GB, free: 9.691 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.9e-07/1.212, allocations: 3.938 kB / 1.4 GB, free: 9.688 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007385/1.213, allocations: 159.9 kB / 1.4 GB, free: 9.531 MB / 1.123 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.0004216/1.213, allocations: 178 kB / 1.4 GB, free: 9.352 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003484/1.216, allocations: 1.048 MB / 1.401 GB, free: 8.25 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.216, allocations: 0 / 1.401 GB, free: 8.25 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/1.218, allocations: 325.4 kB / 1.401 GB, free: 7.926 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009339/1.219, allocations: 109.8 kB / 1.402 GB, free: 7.816 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/1.222, allocations: 0.9273 MB / 1.402 GB, free: 6.871 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/1.222, allocations: 0.8035 MB / 1.403 GB, free: 6.043 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/1.223, allocations: 43.41 kB / 1.403 GB, free: 6 MB / 1.123 GB Notification: Performance of SimCode: time 1.453e-06/1.223, allocations: 0 / 1.403 GB, free: 6 MB / 1.123 GB Notification: Performance of Templates: time 0.01869/1.241, allocations: 12.24 MB / 1.415 GB, free: 9.793 MB / 1.139 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