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.001342/0.001342, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001491/0.001491, allocations: 161 kB / 24.16 MB, free: 332 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.9448/0.9448, allocations: 177.1 MB / 204.6 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.872/1.872, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.193e-06/1.193e-06, allocations: 0 / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.928e-05, allocations: 4.281 kB / 0.7601 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.00314/0.003159, allocations: 3.023 MB / 0.7631 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1367/0.1398, allocations: 144.4 MB / 0.9041 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002227/0.14, allocations: 7.938 kB / 0.9041 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.1403, allocations: 91.09 kB / 0.9042 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006454/0.141, allocations: 293.8 kB / 0.9045 GB, free: 2.324 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.1424, allocations: 0.7866 MB / 0.9053 GB, free: 1.535 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007513/0.1431, allocations: 0.8067 MB / 0.906 GB, free: 0.7266 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.1433, allocations: 58.3 kB / 0.9061 GB, free: 0.6602 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004667/0.1437, allocations: 455.1 kB / 0.9065 GB, free: 220 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.1441, allocations: 275.2 kB / 0.9068 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 8.034e-05/0.1442, allocations: 60 kB / 0.9069 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009108/0.1451, allocations: 0.5613 MB / 0.9074 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1452, allocations: 155.5 kB / 0.9076 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.1453, allocations: 223.5 kB / 0.9078 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.1465, allocations: 0.7944 MB / 0.9085 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1465, allocations: 0 / 0.9085 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.42e-07/0.1465, allocations: 0 / 0.9085 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.1465, allocations: 3.938 kB / 0.9085 GB, free: 14.15 MB / 0.8698 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.001495/0.148, allocations: 0.9387 MB / 0.9095 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.1481, allocations: 8.031 kB / 0.9095 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.1495, allocations: 344.5 kB / 0.9098 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.1499, allocations: 280.7 kB / 0.9101 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-05/0.1499, allocations: 96.41 kB / 0.9102 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.046e-05/0.15, allocations: 48.06 kB / 0.9102 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.1504, allocations: 289.1 kB / 0.9105 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1504, allocations: 3.984 kB / 0.9105 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.1504, allocations: 8 kB / 0.9105 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1504, allocations: 4 kB / 0.9105 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1505, allocations: 99.31 kB / 0.9106 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.1525, allocations: 1.109 MB / 0.9117 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.1526, allocations: 94.47 kB / 0.9118 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.364e-05/0.1527, allocations: 56.83 kB / 0.9118 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.1527, allocations: 4.438 kB / 0.9118 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.153, allocations: 204.8 kB / 0.912 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 1.463e-06/0.153, allocations: 0 / 0.912 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.001966/0.1549, allocations: 0.5933 MB / 0.9126 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.155, allocations: 85.11 kB / 0.9127 GB, free: 9.734 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.1552, allocations: 394.9 kB / 0.9131 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.433e-05/0.1553, allocations: 41.7 kB / 0.9131 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.307e-05/0.1554, allocations: 174.3 kB / 0.9133 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.151e-05/0.1554, allocations: 99.2 kB / 0.9134 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.1556, allocations: 154.2 kB / 0.9135 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.1557, allocations: 362.6 kB / 0.9138 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.1559, allocations: 148.7 kB / 0.914 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.1562, allocations: 445.7 kB / 0.9144 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.1566, allocations: 494.8 kB / 0.9149 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1566, allocations: 0 / 0.9149 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001936/0.1586, allocations: 0.7959 MB / 0.9157 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.1586, allocations: 63.41 kB / 0.9157 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1586, allocations: 3.984 kB / 0.9157 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009717/0.1596, allocations: 379 kB / 0.9161 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.1598, allocations: 95.86 kB / 0.9162 GB, free: 5.891 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/0.1623, allocations: 3.929 MB / 0.92 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.1627, allocations: 91.55 kB / 0.9201 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.1628, allocations: 23.97 kB / 0.9201 GB, free: 1.625 MB / 0.8698 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.0001512/0.1629, allocations: 150 kB / 0.9203 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.163, allocations: 35.91 kB / 0.9203 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.163, allocations: 39.34 kB / 0.9203 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.163, allocations: 4 kB / 0.9203 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.163, allocations: 4 kB / 0.9204 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.163, allocations: 3.984 kB / 0.9204 GB, free: 1.379 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.1633, allocations: 249.5 kB / 0.9206 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1633, allocations: 0 / 0.9206 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-05/0.1633, allocations: 23.97 kB / 0.9206 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002042/0.1635, allocations: 149.6 kB / 0.9208 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.1636, allocations: 11.97 kB / 0.9208 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006884/0.1642, allocations: 1.308 MB / 0.922 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1642, allocations: 7.938 kB / 0.9221 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.1656, allocations: 0.4921 MB / 0.9225 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.1657, allocations: 63.55 kB / 0.9226 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.1657, allocations: 11.94 kB / 0.9226 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.1659, allocations: 35.97 kB / 0.9226 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/0.166, allocations: 39.92 kB / 0.9227 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.166, allocations: 11.98 kB / 0.9227 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001119/0.1661, allocations: 148.7 kB / 0.9228 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1661, allocations: 0 / 0.9228 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003722/0.1665, allocations: 167.8 kB / 0.923 GB, free: 14.58 MB / 0.8855 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.0002267/0.1667, allocations: 149.8 kB / 0.9231 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.1677, allocations: 0.8113 MB / 0.9239 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.1677, allocations: 4.375 kB / 0.9239 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004518/0.1682, allocations: 213.3 kB / 0.9241 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.1685, allocations: 121.7 kB / 0.9243 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.1695, allocations: 0.7713 MB / 0.925 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.35e-05/0.1696, allocations: 113.2 kB / 0.9251 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001493/0.1697, allocations: 47.28 kB / 0.9252 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.17, allocations: 159.2 kB / 0.9253 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of SimCode: time 8.81e-07/0.17, allocations: 0 / 0.9253 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of Templates: time 0.01546/0.1855, allocations: 14.13 MB / 0.9391 GB, free: 14.14 MB / 0.9011 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 -s gbode -gbm=radauIIA3 -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.471199669409543]