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.0008132/0.0008132, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009477/0.0009477, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9646/0.9646, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.848/1.848, allocations: 377.8 MB / 0.6239 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 1.723e-06/1.723e-06, allocations: 0 / 0.8116 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.957e-05, allocations: 4.219 kB / 0.8116 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005483/0.005512, allocations: 3.008 MB / 0.8145 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1372/0.1427, allocations: 149.2 MB / 0.9602 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003029/0.143, allocations: 3.938 kB / 0.9602 GB, free: 9.352 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.1433, allocations: 91.16 kB / 0.9603 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007341/0.1441, allocations: 297.8 kB / 0.9605 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.146, allocations: 1.004 MB / 0.9615 GB, free: 7.961 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000831/0.1468, allocations: 0.8028 MB / 0.9623 GB, free: 7.156 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.147, allocations: 58.33 kB / 0.9624 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004379/0.1474, allocations: 463.1 kB / 0.9628 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.1478, allocations: 267.3 kB / 0.9631 GB, free: 6.383 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7.407e-05/0.1478, allocations: 60 kB / 0.9631 GB, free: 6.324 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.149, allocations: 0.7403 MB / 0.9638 GB, free: 5.582 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.1491, allocations: 159.5 kB / 0.964 GB, free: 5.426 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.1493, allocations: 211.5 kB / 0.9642 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.1504, allocations: 0.8684 MB / 0.965 GB, free: 4.348 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1504, allocations: 0 / 0.965 GB, free: 4.348 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1504, allocations: 4 kB / 0.9651 GB, free: 4.344 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.1504, allocations: 0 / 0.9651 GB, free: 4.344 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.001593/0.152, allocations: 1.129 MB / 0.9662 GB, free: 3.148 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.152, allocations: 12.03 kB / 0.9662 GB, free: 3.137 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.1535, allocations: 340 kB / 0.9665 GB, free: 2.805 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.154, allocations: 358.8 kB / 0.9668 GB, free: 2.426 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.15e-05/0.154, allocations: 95.84 kB / 0.9669 GB, free: 2.32 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.816e-05/0.1541, allocations: 43.98 kB / 0.967 GB, free: 2.277 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004278/0.1545, allocations: 315.3 kB / 0.9673 GB, free: 1.945 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1545, allocations: 0 / 0.9673 GB, free: 1.945 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.1546, allocations: 12 kB / 0.9673 GB, free: 1.934 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.1546, allocations: 4 kB / 0.9673 GB, free: 1.93 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.1548, allocations: 118.8 kB / 0.9674 GB, free: 1.812 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/0.1571, allocations: 1.637 MB / 0.969 GB, free: 128 kB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.1573, allocations: 127.2 kB / 0.9691 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.1575, allocations: 71.59 kB / 0.9692 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.1575, allocations: 11.92 kB / 0.9692 GB, free: 15.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.1578, allocations: 232.1 kB / 0.9694 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.1578, allocations: 0 / 0.9694 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30): time 0.003505/0.1613, allocations: 1.035 MB / 0.9704 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.1613, allocations: 81.11 kB / 0.9705 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.1617, allocations: 462.5 kB / 0.9709 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.437e-05/0.1617, allocations: 41.69 kB / 0.971 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.1619, allocations: 256.4 kB / 0.9712 GB, free: 13.74 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.098e-05/0.162, allocations: 99.22 kB / 0.9713 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.1621, allocations: 167.9 kB / 0.9715 GB, free: 13.47 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1623, allocations: 0.5235 MB / 0.972 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.1626, allocations: 192.6 kB / 0.9722 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.163, allocations: 0.5131 MB / 0.9727 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006885/0.1637, allocations: 0.5685 MB / 0.9732 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1637, allocations: 0 / 0.9732 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003186/0.1669, allocations: 1.309 MB / 0.9745 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/0.167, allocations: 59.41 kB / 0.9746 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.167, allocations: 4.125 kB / 0.9746 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.1681, allocations: 406.3 kB / 0.975 GB, free: 9.652 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.1684, allocations: 95.81 kB / 0.9751 GB, free: 9.559 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003496/0.1719, allocations: 5.766 MB / 0.9807 GB, free: 3.477 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004624/0.1723, allocations: 83.48 kB / 0.9808 GB, free: 3.395 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.1724, allocations: 39.95 kB / 0.9808 GB, free: 3.355 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.0002235/0.1726, allocations: 202 kB / 0.981 GB, free: 3.148 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/0.1727, allocations: 55.66 kB / 0.981 GB, free: 3.094 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.1727, allocations: 43.33 kB / 0.9811 GB, free: 3.051 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1727, allocations: 4 kB / 0.9811 GB, free: 3.047 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1727, allocations: 0 / 0.9811 GB, free: 3.047 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1727, allocations: 0 / 0.9811 GB, free: 3.047 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.1731, allocations: 336.3 kB / 0.9814 GB, free: 2.684 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1731, allocations: 0 / 0.9814 GB, free: 2.684 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.563e-05/0.1731, allocations: 27.92 kB / 0.9814 GB, free: 2.656 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002363/0.1734, allocations: 163.2 kB / 0.9816 GB, free: 2.488 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.1734, allocations: 11.98 kB / 0.9816 GB, free: 2.477 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008869/0.1743, allocations: 1.969 MB / 0.9835 GB, free: 464 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1743, allocations: 4 kB / 0.9835 GB, free: 460 kB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.1768, allocations: 0.9595 MB / 0.9845 GB, free: 15.45 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.177, allocations: 79.58 kB / 0.9845 GB, free: 15.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.177, allocations: 8 kB / 0.9846 GB, free: 15.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.1772, allocations: 35.91 kB / 0.9846 GB, free: 15.33 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/0.1773, allocations: 31.94 kB / 0.9846 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.1773, allocations: 19.97 kB / 0.9846 GB, free: 15.28 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002062/0.1775, allocations: 291 kB / 0.9849 GB, free: 15 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1775, allocations: 0 / 0.9849 GB, free: 15 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005646/0.1781, allocations: 167.8 kB / 0.9851 GB, free: 14.83 MB / 0.948 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.0003495/0.1785, allocations: 190.9 kB / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.1799, allocations: 0.9642 MB / 0.9862 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1799, allocations: 0 / 0.9862 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005412/0.1804, allocations: 251 kB / 0.9864 GB, free: 13.33 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.1809, allocations: 120.1 kB / 0.9866 GB, free: 13.22 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.1822, allocations: 0.8089 MB / 0.9873 GB, free: 12.39 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.538e-05/0.1823, allocations: 105.2 kB / 0.9874 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001683/0.1824, allocations: 59.25 kB / 0.9875 GB, free: 12.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.776e-05/0.1825, allocations: 40.42 kB / 0.9875 GB, free: 12.16 MB / 0.948 GB Notification: Performance of SimCode: time 1.754e-06/0.1825, allocations: 0 / 0.9875 GB, free: 12.16 MB / 0.948 GB Notification: Performance of Templates: time 0.01527/0.1978, allocations: 13.4 MB / 1.001 GB, free: 14.9 MB / 0.9636 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.612835858017206]