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.001031/0.001031, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009938/0.0009938, allocations: 169 kB / 23.02 MB, free: 1.551 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.975/0.975, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.046/2.046, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.382e-06/1.382e-06, allocations: 0.7656 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.399e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003249/0.003273, allocations: 3.042 MB / 0.8812 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1335/0.1367, allocations: 145.1 MB / 1.023 GB, free: 1.66 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.1369, allocations: 7.938 kB / 1.023 GB, free: 1.652 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.1372, allocations: 91.14 kB / 1.023 GB, free: 1.562 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0005695/0.1378, allocations: 301.8 kB / 1.023 GB, free: 1.266 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.1389, allocations: 0.8062 MB / 1.024 GB, free: 468 kB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0005837/0.1395, allocations: 0.8146 MB / 1.025 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1396, allocations: 58.25 kB / 1.025 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.14, allocations: 459.1 kB / 1.025 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.1403, allocations: 271.3 kB / 1.026 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.177e-05/0.1403, allocations: 60 kB / 1.026 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006358/0.141, allocations: 0.5535 MB / 1.026 GB, free: 14.25 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.95e-05/0.1411, allocations: 155.5 kB / 1.026 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.1412, allocations: 223.4 kB / 1.027 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007105/0.142, allocations: 0.7983 MB / 1.027 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.142, allocations: 0 / 1.027 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.343e-06/0.142, allocations: 0 / 1.027 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.142, allocations: 0 / 1.027 GB, free: 13.08 MB / 0.9948 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.001389/0.1434, allocations: 1.129 MB / 1.028 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1434, allocations: 8.031 kB / 1.028 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.1448, allocations: 324.3 kB / 1.029 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.1452, allocations: 363.3 kB / 1.029 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003315/0.1455, allocations: 92.47 kB / 1.029 GB, free: 11.08 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.322e-05/0.1456, allocations: 40.12 kB / 1.029 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.146, allocations: 319.3 kB / 1.029 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.146, allocations: 4 kB / 1.029 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.146, allocations: 11.98 kB / 1.03 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.146, allocations: 8 kB / 1.03 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.1462, allocations: 118.8 kB / 1.03 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.1483, allocations: 1.637 MB / 1.031 GB, free: 8.875 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.1486, allocations: 139.2 kB / 1.031 GB, free: 8.727 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.1487, allocations: 75.64 kB / 1.031 GB, free: 8.648 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.1487, allocations: 4 kB / 1.031 GB, free: 8.645 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002612/0.149, allocations: 225.6 kB / 1.032 GB, free: 8.402 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=30): time 1.332e-06/0.149, allocations: 0 / 1.032 GB, free: 8.402 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30): time 0.003306/0.1523, allocations: 1.041 MB / 1.033 GB, free: 7.348 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.1523, allocations: 88.98 kB / 1.033 GB, free: 7.242 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.1527, allocations: 462.5 kB / 1.033 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.464e-05/0.1527, allocations: 41.69 kB / 1.033 GB, free: 6.727 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.1529, allocations: 260.4 kB / 1.033 GB, free: 6.469 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.153, allocations: 95.17 kB / 1.034 GB, free: 6.375 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.1531, allocations: 159.9 kB / 1.034 GB, free: 6.211 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1533, allocations: 0.5235 MB / 1.034 GB, free: 5.676 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.1536, allocations: 192.6 kB / 1.034 GB, free: 5.477 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004255/0.154, allocations: 0.5093 MB / 1.035 GB, free: 4.867 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007078/0.1547, allocations: 0.5636 MB / 1.035 GB, free: 4.25 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.1547, allocations: 0 / 1.035 GB, free: 4.25 MB / 0.9948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003549/0.1583, allocations: 1.314 MB / 1.037 GB, free: 2.887 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.1583, allocations: 65.44 kB / 1.037 GB, free: 2.812 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.1583, allocations: 3.984 kB / 1.037 GB, free: 2.809 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.1595, allocations: 410.4 kB / 1.037 GB, free: 2.391 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.1597, allocations: 87.88 kB / 1.037 GB, free: 2.305 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003726/0.1635, allocations: 5.774 MB / 1.043 GB, free: 12.22 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/0.1638, allocations: 91.56 kB / 1.043 GB, free: 12.13 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003979/0.1642, allocations: 35.95 kB / 1.043 GB, free: 12.1 MB / 1.01 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.000184/0.1644, allocations: 192.7 kB / 1.043 GB, free: 11.9 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.1645, allocations: 59.69 kB / 1.043 GB, free: 11.84 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.1645, allocations: 39.34 kB / 1.043 GB, free: 11.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1645, allocations: 7.938 kB / 1.043 GB, free: 11.79 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1645, allocations: 7.938 kB / 1.043 GB, free: 11.78 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1645, allocations: 0 / 1.043 GB, free: 11.78 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.1648, allocations: 344.1 kB / 1.044 GB, free: 11.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1648, allocations: 3.984 kB / 1.044 GB, free: 11.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.587e-05/0.1649, allocations: 19.98 kB / 1.044 GB, free: 11.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002314/0.1651, allocations: 155.2 kB / 1.044 GB, free: 11.23 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.1652, allocations: 11.98 kB / 1.044 GB, free: 11.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009905/0.1662, allocations: 1.962 MB / 1.046 GB, free: 9.195 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1662, allocations: 0 / 1.046 GB, free: 9.195 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.1686, allocations: 0.9636 MB / 1.047 GB, free: 8.195 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.1687, allocations: 83.58 kB / 1.047 GB, free: 8.113 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.1688, allocations: 8 kB / 1.047 GB, free: 8.105 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.169, allocations: 31.97 kB / 1.047 GB, free: 8.074 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.731e-05/0.1691, allocations: 39.92 kB / 1.047 GB, free: 8.035 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.1691, allocations: 15.98 kB / 1.047 GB, free: 8.02 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001998/0.1693, allocations: 291 kB / 1.047 GB, free: 7.734 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1693, allocations: 0 / 1.047 GB, free: 7.734 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003907/0.1697, allocations: 171.7 kB / 1.047 GB, free: 7.566 MB / 1.01 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.000267/0.1699, allocations: 173.5 kB / 1.047 GB, free: 7.391 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.1713, allocations: 0.9858 MB / 1.048 GB, free: 6.32 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1713, allocations: 0 / 1.048 GB, free: 6.32 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004962/0.1718, allocations: 237.9 kB / 1.049 GB, free: 6.078 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1721, allocations: 125.9 kB / 1.049 GB, free: 5.957 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1733, allocations: 0.8072 MB / 1.05 GB, free: 5.129 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.751e-05/0.1733, allocations: 109.2 kB / 1.05 GB, free: 5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001348/0.1735, allocations: 51.22 kB / 1.05 GB, free: 4.949 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.177e-05/0.1736, allocations: 40.47 kB / 1.05 GB, free: 4.91 MB / 1.01 GB Notification: Performance of SimCode: time 6.71e-07/0.1736, allocations: 0 / 1.05 GB, free: 4.91 MB / 1.01 GB Notification: Performance of Templates: time 0.4234/0.597, allocations: 13.39 MB / 1.063 GB, free: 78.06 MB / 1.01 GB " [Timeout remaining time 299] 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 -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: 6.4270065519958735]