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.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.001086/0.001086, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001269/0.001269, allocations: 173 kB / 23.36 MB, free: 1.133 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 1.038/1.038, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.422/2.422, allocations: 438.8 MB / 0.6826 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.526e-05, allocations: 6.312 kB / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005581/0.005606, allocations: 3.045 MB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1394/0.145, allocations: 144.5 MB / 0.9827 GB, free: 10.02 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000313/0.1453, allocations: 7.938 kB / 0.9827 GB, free: 10.01 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.1457, allocations: 87.22 kB / 0.9828 GB, free: 9.922 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008791/0.1466, allocations: 301.7 kB / 0.9831 GB, free: 9.625 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.1483, allocations: 0.7866 MB / 0.9839 GB, free: 8.836 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0009589/0.1493, allocations: 0.8106 MB / 0.9847 GB, free: 8.023 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.1494, allocations: 66.28 kB / 0.9847 GB, free: 7.953 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004983/0.1499, allocations: 463.1 kB / 0.9852 GB, free: 7.5 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003512/0.1503, allocations: 271.3 kB / 0.9854 GB, free: 7.234 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 8.283e-05/0.1504, allocations: 60 kB / 0.9855 GB, free: 7.176 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009764/0.1514, allocations: 0.5729 MB / 0.986 GB, free: 6.602 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1515, allocations: 151.5 kB / 0.9862 GB, free: 6.453 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.1516, allocations: 219.5 kB / 0.9864 GB, free: 6.238 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009905/0.1526, allocations: 0.7944 MB / 0.9872 GB, free: 5.441 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1526, allocations: 0 / 0.9872 GB, free: 5.441 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1526, allocations: 0 / 0.9872 GB, free: 5.441 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.1526, allocations: 4 kB / 0.9872 GB, free: 5.438 MB / 0.948 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.001502/0.1541, allocations: 0.9345 MB / 0.9881 GB, free: 4.461 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1542, allocations: 8.625 kB / 0.9881 GB, free: 4.453 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.1556, allocations: 352.3 kB / 0.9884 GB, free: 4.109 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.156, allocations: 284.7 kB / 0.9887 GB, free: 3.801 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.729e-05/0.1561, allocations: 88.47 kB / 0.9888 GB, free: 3.699 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.617e-05/0.1562, allocations: 52.06 kB / 0.9888 GB, free: 3.648 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.1565, allocations: 289.1 kB / 0.9891 GB, free: 3.344 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1565, allocations: 0 / 0.9891 GB, free: 3.344 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.1566, allocations: 8 kB / 0.9891 GB, free: 3.336 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1566, allocations: 4 kB / 0.9891 GB, free: 3.332 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1567, allocations: 91.38 kB / 0.9892 GB, free: 3.242 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.1586, allocations: 1.121 MB / 0.9903 GB, free: 2.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.1588, allocations: 110.4 kB / 0.9904 GB, free: 1.973 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.37e-05/0.1589, allocations: 48.84 kB / 0.9905 GB, free: 1.922 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1589, allocations: 7.938 kB / 0.9905 GB, free: 1.914 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.1592, allocations: 204.8 kB / 0.9907 GB, free: 1.695 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.1592, allocations: 4 kB / 0.9907 GB, free: 1.691 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.00223/0.1614, allocations: 0.6037 MB / 0.9913 GB, free: 1.074 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.1614, allocations: 81.11 kB / 0.9913 GB, free: 0.9766 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.1618, allocations: 379.1 kB / 0.9917 GB, free: 0.5938 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.1618, allocations: 41.7 kB / 0.9917 GB, free: 0.5469 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.162, allocations: 190.2 kB / 0.9919 GB, free: 368 kB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.201e-05/0.162, allocations: 103.2 kB / 0.992 GB, free: 264 kB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.1622, allocations: 142.2 kB / 0.9922 GB, free: 116 kB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1623, allocations: 366.6 kB / 0.9925 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.1625, allocations: 140.7 kB / 0.9926 GB, free: 15.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.1628, allocations: 449.6 kB / 0.9931 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004897/0.1633, allocations: 486.7 kB / 0.9935 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1633, allocations: 4 kB / 0.9935 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001758/0.165, allocations: 0.7876 MB / 0.9943 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.627e-05/0.1651, allocations: 67.39 kB / 0.9944 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1651, allocations: 0 / 0.9944 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009995/0.1661, allocations: 387 kB / 0.9947 GB, free: 13.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.1663, allocations: 99.8 kB / 0.9948 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/0.1693, allocations: 3.923 MB / 0.9987 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/0.1696, allocations: 87.47 kB / 0.9987 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.1697, allocations: 39.89 kB / 0.9988 GB, free: 8.875 MB / 0.9636 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.0001722/0.1699, allocations: 157.5 kB / 0.9989 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.1699, allocations: 31.97 kB / 0.999 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.17, allocations: 43.33 kB / 0.999 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.17, allocations: 4 kB / 0.999 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.17, allocations: 0 / 0.999 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.17, allocations: 0 / 0.999 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.1702, allocations: 245.5 kB / 0.9992 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1702, allocations: 4 kB / 0.9992 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.956e-05/0.1703, allocations: 23.92 kB / 0.9993 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002103/0.1705, allocations: 141.6 kB / 0.9994 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.1705, allocations: 11.98 kB / 0.9994 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006638/0.1712, allocations: 1.316 MB / 1.001 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1712, allocations: 4 kB / 1.001 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.1724, allocations: 0.5121 MB / 1.001 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.1725, allocations: 55.62 kB / 1.001 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.753e-05/0.1726, allocations: 11.94 kB / 1.001 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.1727, allocations: 27.97 kB / 1.001 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.249e-05/0.1728, allocations: 39.92 kB / 1.001 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.1728, allocations: 11.98 kB / 1.001 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001185/0.1729, allocations: 148.7 kB / 1.001 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.1729, allocations: 4 kB / 1.001 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003905/0.1733, allocations: 167.8 kB / 1.002 GB, free: 5.824 MB / 0.9636 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.000243/0.1736, allocations: 160.2 kB / 1.002 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.1747, allocations: 0.793 MB / 1.003 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.1747, allocations: 4 kB / 1.003 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004552/0.1751, allocations: 206.3 kB / 1.003 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.1755, allocations: 121.7 kB / 1.003 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.1766, allocations: 0.797 MB / 1.004 GB, free: 3.652 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.511e-05/0.1767, allocations: 105.3 kB / 1.004 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001684/0.1768, allocations: 55.2 kB / 1.004 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.1771, allocations: 159.2 kB / 1.004 GB, free: 3.316 MB / 0.9636 GB Notification: Performance of SimCode: time 1.011e-06/0.1771, allocations: 0 / 1.004 GB, free: 3.316 MB / 0.9636 GB Notification: Performance of Templates: time 0.01681/0.1939, allocations: 14.24 MB / 1.018 GB, free: 5.281 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 240] 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","",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.877677853219211]