Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 166.8 kB / 24.87 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9614/0.9614, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.825/1.825, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.021e-05, allocations: 4.844 kB / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005438/0.005468, allocations: 2.971 MB / 0.7913 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1282/0.1337, allocations: 142.3 MB / 0.9302 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.134, allocations: 7.938 kB / 0.9302 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.1343, allocations: 91.09 kB / 0.9303 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0007734/0.1351, allocations: 297.8 kB / 0.9306 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.1368, allocations: 0.7944 MB / 0.9314 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.000935/0.1377, allocations: 0.8029 MB / 0.9322 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.1379, allocations: 70.22 kB / 0.9322 GB, free: 8.332 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006215/0.1385, allocations: 451.1 kB / 0.9327 GB, free: 7.891 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004553/0.139, allocations: 275.2 kB / 0.9329 GB, free: 7.621 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.1391, allocations: 63.98 kB / 0.933 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.1402, allocations: 0.5379 MB / 0.9335 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.1403, allocations: 159.5 kB / 0.9337 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.1406, allocations: 219.5 kB / 0.9339 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.1418, allocations: 0.7905 MB / 0.9346 GB, free: 5.855 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1418, allocations: 0 / 0.9346 GB, free: 5.855 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1418, allocations: 0 / 0.9346 GB, free: 5.855 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.1418, allocations: 4 kB / 0.9347 GB, free: 5.852 MB / 0.8855 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.001917/0.1437, allocations: 1.133 MB / 0.9358 GB, free: 4.66 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1437, allocations: 12.03 kB / 0.9358 GB, free: 4.648 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.1457, allocations: 332.3 kB / 0.9361 GB, free: 4.324 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005345/0.1463, allocations: 347.4 kB / 0.9364 GB, free: 3.957 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.148e-05/0.1463, allocations: 88.47 kB / 0.9365 GB, free: 3.859 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.763e-05/0.1464, allocations: 56 kB / 0.9366 GB, free: 3.805 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.1469, allocations: 299.3 kB / 0.9368 GB, free: 3.488 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1469, allocations: 0 / 0.9368 GB, free: 3.488 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.1469, allocations: 8 kB / 0.9369 GB, free: 3.48 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.147, allocations: 4 kB / 0.9369 GB, free: 3.477 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.1471, allocations: 103.3 kB / 0.937 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/0.15, allocations: 1.575 MB / 0.9385 GB, free: 1.754 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.1503, allocations: 119.2 kB / 0.9386 GB, free: 1.625 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1504, allocations: 59.66 kB / 0.9387 GB, free: 1.562 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.1504, allocations: 7.984 kB / 0.9387 GB, free: 1.555 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003/0.1507, allocations: 208.5 kB / 0.9389 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/0.1507, allocations: 0 / 0.9389 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30): time 0.003491/0.1542, allocations: 0.9976 MB / 0.9398 GB, free: 324 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.1542, allocations: 85.05 kB / 0.9399 GB, free: 220 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.1545, allocations: 454.2 kB / 0.9404 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.47e-05/0.1546, allocations: 45.7 kB / 0.9404 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1548, allocations: 256.3 kB / 0.9406 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.617e-05/0.1548, allocations: 107.1 kB / 0.9407 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.155, allocations: 167.8 kB / 0.9409 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1552, allocations: 0.5312 MB / 0.9414 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.1554, allocations: 156.6 kB / 0.9416 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.1557, allocations: 485.4 kB / 0.942 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.1562, allocations: 0.505 MB / 0.9425 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1562, allocations: 4 kB / 0.9425 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003027/0.1593, allocations: 1.243 MB / 0.9437 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/0.1593, allocations: 59.41 kB / 0.9438 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1593, allocations: 4 kB / 0.9438 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.1604, allocations: 406.2 kB / 0.9442 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.1606, allocations: 91.88 kB / 0.9443 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003297/0.1639, allocations: 5.709 MB / 0.9499 GB, free: 5.457 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004943/0.1644, allocations: 83.48 kB / 0.9499 GB, free: 5.375 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.1645, allocations: 39.89 kB / 0.95 GB, free: 5.336 MB / 0.9011 GB Warning: Assuming fixed start value for the following 2 variables: evaSho.off:DISCRETE(fixed = true protected = true ) \"Signal, true when component is off\" type: Boolean evaNor.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 (intSho.local_reset,intNor.local_reset,$PRE.evaSho.off,$PRE.pulSho.count,$PRE.pulSho.T_start,evaSho.off,pulSho.count,pulSho.T_start,$whenCondition1,$whenCondition3,$PRE.pulNor.count,$PRE.pulNor.T_start,$PRE.evaNor.off,pulNor.count,pulNor.T_start,evaNor.off,$whenCondition2,$whenCondition4) * 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.0001947/0.1647, allocations: 196.5 kB / 0.9502 GB, free: 5.133 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/0.1648, allocations: 59.66 kB / 0.9502 GB, free: 5.074 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.1648, allocations: 39.34 kB / 0.9503 GB, free: 5.031 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1648, allocations: 4 kB / 0.9503 GB, free: 5.027 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1648, allocations: 0 / 0.9503 GB, free: 5.027 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.1648, allocations: 0 / 0.9503 GB, free: 5.027 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.1651, allocations: 288.8 kB / 0.9505 GB, free: 4.719 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1651, allocations: 0 / 0.9505 GB, free: 4.719 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-05/0.1652, allocations: 27.97 kB / 0.9506 GB, free: 4.691 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002225/0.1654, allocations: 155.3 kB / 0.9507 GB, free: 4.531 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.1654, allocations: 11.98 kB / 0.9507 GB, free: 4.52 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009936/0.1664, allocations: 1.954 MB / 0.9526 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1664, allocations: 0 / 0.9526 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.1688, allocations: 0.9242 MB / 0.9535 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.169, allocations: 87.5 kB / 0.9536 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/0.1691, allocations: 16 kB / 0.9536 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.1693, allocations: 31.97 kB / 0.9537 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.1693, allocations: 27.94 kB / 0.9537 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.1694, allocations: 19.97 kB / 0.9537 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001556/0.1695, allocations: 274.9 kB / 0.954 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1695, allocations: 0 / 0.954 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004285/0.17, allocations: 159.8 kB / 0.9541 GB, free: 0.9492 MB / 0.9011 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.0002535/0.1702, allocations: 178.5 kB / 0.9543 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.1717, allocations: 0.9271 MB / 0.9552 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1717, allocations: 0 / 0.9552 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.1722, allocations: 238.7 kB / 0.9554 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.1726, allocations: 129.7 kB / 0.9556 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.1737, allocations: 0.7894 MB / 0.9563 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.476e-05/0.1738, allocations: 101.3 kB / 0.9564 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.174, allocations: 55.19 kB / 0.9565 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.1743, allocations: 198 kB / 0.9567 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of SimCode: time 7.11e-07/0.1743, allocations: 0 / 0.9567 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of Templates: time 0.01668/0.1909, allocations: 14.64 MB / 0.971 GB, free: 15.7 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.63438217015937]