Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001311/0.001311, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001564/0.001564, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9797/0.9797, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.839/1.839, allocations: 377.9 MB / 0.6236 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.16e-05, allocations: 3.375 kB / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004485/0.004516, allocations: 3.02 MB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1317/0.1362, allocations: 145 MB / 0.9562 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002843/0.1365, allocations: 4 kB / 0.9562 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.1368, allocations: 87.16 kB / 0.9563 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0009093/0.1377, allocations: 305.7 kB / 0.9565 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.1394, allocations: 0.7906 MB / 0.9573 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0008098/0.1402, allocations: 0.799 MB / 0.9581 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.1403, allocations: 74.22 kB / 0.9582 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006241/0.141, allocations: 459.1 kB / 0.9586 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004461/0.1414, allocations: 263.3 kB / 0.9589 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.1415, allocations: 63.98 kB / 0.9589 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.1426, allocations: 0.5418 MB / 0.9595 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1427, allocations: 155.5 kB / 0.9596 GB, free: 9.629 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.1429, allocations: 211.5 kB / 0.9598 GB, free: 9.422 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.1443, allocations: 0.8021 MB / 0.9606 GB, free: 8.617 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1443, allocations: 0 / 0.9606 GB, free: 8.617 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1443, allocations: 4 kB / 0.9606 GB, free: 8.613 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.286e-05/0.1443, allocations: 0 / 0.9606 GB, free: 8.613 MB / 0.9167 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.001799/0.1461, allocations: 1.118 MB / 0.9617 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1462, allocations: 12.02 kB / 0.9617 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.1477, allocations: 332.3 kB / 0.962 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.1482, allocations: 359.3 kB / 0.9623 GB, free: 6.723 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-05/0.1483, allocations: 96.45 kB / 0.9624 GB, free: 6.617 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.429e-05/0.1484, allocations: 48.08 kB / 0.9625 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/0.1488, allocations: 315.3 kB / 0.9628 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1488, allocations: 0 / 0.9628 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.1489, allocations: 8 kB / 0.9628 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.1489, allocations: 8 kB / 0.9628 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.1491, allocations: 118.8 kB / 0.9629 GB, free: 6.105 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.1514, allocations: 1.633 MB / 0.9645 GB, free: 4.418 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.1517, allocations: 135.1 kB / 0.9646 GB, free: 4.273 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.1518, allocations: 79.58 kB / 0.9647 GB, free: 4.191 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.1518, allocations: 7.984 kB / 0.9647 GB, free: 4.184 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/0.1521, allocations: 224.2 kB / 0.9649 GB, free: 3.941 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.1521, allocations: 0 / 0.9649 GB, free: 3.941 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30): time 0.003425/0.1556, allocations: 1.032 MB / 0.9659 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.1556, allocations: 81.11 kB / 0.966 GB, free: 2.793 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.156, allocations: 474.4 kB / 0.9665 GB, free: 2.316 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.13e-05/0.156, allocations: 37.7 kB / 0.9665 GB, free: 2.273 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.1562, allocations: 256.4 kB / 0.9668 GB, free: 2.02 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.33e-05/0.1563, allocations: 103.2 kB / 0.9669 GB, free: 1.918 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.1564, allocations: 163.8 kB / 0.967 GB, free: 1.75 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004102/0.1569, allocations: 0.5274 MB / 0.9675 GB, free: 1.211 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.1572, allocations: 192.5 kB / 0.9677 GB, free: 1.012 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/0.1576, allocations: 0.5131 MB / 0.9682 GB, free: 408 kB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007468/0.1583, allocations: 0.5608 MB / 0.9688 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1583, allocations: 3.938 kB / 0.9688 GB, free: 15.78 MB / 0.9323 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003095/0.1614, allocations: 1.305 MB / 0.97 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.1615, allocations: 63.39 kB / 0.9701 GB, free: 14.35 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1615, allocations: 4.125 kB / 0.9701 GB, free: 14.35 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.1625, allocations: 406.3 kB / 0.9705 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.1628, allocations: 91.81 kB / 0.9706 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00374/0.1666, allocations: 5.765 MB / 0.9762 GB, free: 7.766 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.167, allocations: 87.48 kB / 0.9763 GB, free: 7.68 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/0.167, allocations: 39.95 kB / 0.9763 GB, free: 7.641 MB / 0.9323 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.0002065/0.1672, allocations: 200.4 kB / 0.9765 GB, free: 7.434 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.1673, allocations: 55.7 kB / 0.9766 GB, free: 7.379 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.1673, allocations: 39.34 kB / 0.9766 GB, free: 7.336 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1673, allocations: 7.938 kB / 0.9766 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1673, allocations: 0 / 0.9766 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1673, allocations: 0 / 0.9766 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.1677, allocations: 336.3 kB / 0.9769 GB, free: 6.965 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1677, allocations: 0 / 0.9769 GB, free: 6.965 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.791e-05/0.1678, allocations: 19.97 kB / 0.977 GB, free: 6.945 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002326/0.168, allocations: 163.2 kB / 0.9771 GB, free: 6.777 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.168, allocations: 11.98 kB / 0.9771 GB, free: 6.766 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009291/0.1689, allocations: 1.962 MB / 0.979 GB, free: 4.746 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1689, allocations: 160 / 0.979 GB, free: 4.746 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.1714, allocations: 0.974 MB / 0.98 GB, free: 3.738 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.1716, allocations: 79.58 kB / 0.9801 GB, free: 3.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.1716, allocations: 8 kB / 0.9801 GB, free: 3.652 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.1718, allocations: 27.97 kB / 0.9801 GB, free: 3.625 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.1719, allocations: 39.92 kB / 0.9801 GB, free: 3.586 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.1719, allocations: 15.98 kB / 0.9802 GB, free: 3.57 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002062/0.1721, allocations: 291 kB / 0.9804 GB, free: 3.285 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1721, allocations: 0 / 0.9804 GB, free: 3.285 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004599/0.1726, allocations: 167.8 kB / 0.9806 GB, free: 3.121 MB / 0.9323 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.0003192/0.1729, allocations: 185.4 kB / 0.9808 GB, free: 2.934 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.1745, allocations: 0.9639 MB / 0.9817 GB, free: 1.887 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1745, allocations: 4 kB / 0.9817 GB, free: 1.883 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005201/0.1751, allocations: 242.5 kB / 0.9819 GB, free: 1.633 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.1755, allocations: 125.5 kB / 0.9821 GB, free: 1.512 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.1769, allocations: 0.8009 MB / 0.9828 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.55e-05/0.177, allocations: 101.3 kB / 0.9829 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001699/0.1772, allocations: 55.25 kB / 0.983 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.399e-05/0.1773, allocations: 36.48 kB / 0.983 GB, free: 488 kB / 0.9323 GB Notification: Performance of SimCode: time 9.62e-07/0.1773, allocations: 0 / 0.983 GB, free: 488 kB / 0.9323 GB Notification: Performance of Templates: time 0.01564/0.1929, allocations: 13.31 MB / 0.996 GB, free: 3.301 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.912858702708036]