Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009717/0.0009717, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009699/0.0009699, allocations: 161 kB / 23.82 MB, free: 0.75 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.9167/0.9167, allocations: 177.2 MB / 204.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.727/1.727, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7871 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.362e-05, allocations: 4.422 kB / 0.7871 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003427/0.00345, allocations: 3.017 MB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1242/0.1276, allocations: 145 MB / 0.9317 GB, free: 7.887 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.1278, allocations: 4 kB / 0.9317 GB, free: 7.883 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.1281, allocations: 95.09 kB / 0.9318 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0006545/0.1288, allocations: 301.8 kB / 0.9321 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.1301, allocations: 0.7945 MB / 0.9329 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0007011/0.1308, allocations: 0.799 MB / 0.9337 GB, free: 5.891 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.131, allocations: 66.22 kB / 0.9337 GB, free: 5.82 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004408/0.1314, allocations: 455.1 kB / 0.9342 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.1317, allocations: 279.3 kB / 0.9344 GB, free: 5.102 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 8.348e-05/0.1318, allocations: 60 kB / 0.9345 GB, free: 5.043 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008162/0.1326, allocations: 0.5379 MB / 0.935 GB, free: 4.504 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.1327, allocations: 151.5 kB / 0.9352 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.1329, allocations: 223.5 kB / 0.9354 GB, free: 4.137 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0008463/0.1338, allocations: 0.7982 MB / 0.9361 GB, free: 3.336 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1338, allocations: 0 / 0.9361 GB, free: 3.336 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1338, allocations: 0 / 0.9361 GB, free: 3.336 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.1338, allocations: 0 / 0.9361 GB, free: 3.336 MB / 0.8855 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.001566/0.1353, allocations: 1.125 MB / 0.9372 GB, free: 2.152 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1354, allocations: 8.031 kB / 0.9373 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/0.137, allocations: 332.3 kB / 0.9376 GB, free: 1.816 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.1374, allocations: 355.3 kB / 0.9379 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/0.1375, allocations: 92.47 kB / 0.938 GB, free: 1.34 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.689e-05/0.1376, allocations: 48.08 kB / 0.938 GB, free: 1.293 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.138, allocations: 319.3 kB / 0.9383 GB, free: 0.957 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.138, allocations: 3.984 kB / 0.9384 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.138, allocations: 11.98 kB / 0.9384 GB, free: 0.9414 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.1381, allocations: 4 kB / 0.9384 GB, free: 0.9375 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.1382, allocations: 126.8 kB / 0.9385 GB, free: 0.8164 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.1405, allocations: 1.637 MB / 0.9401 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.1407, allocations: 131.2 kB / 0.9402 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.1408, allocations: 67.66 kB / 0.9403 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1409, allocations: 8 kB / 0.9403 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002789/0.1411, allocations: 220.6 kB / 0.9405 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.1412, allocations: 0 / 0.9405 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30): time 0.003344/0.1445, allocations: 1.033 MB / 0.9415 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.1445, allocations: 85.11 kB / 0.9416 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.1449, allocations: 466.4 kB / 0.942 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.844e-05/0.1449, allocations: 41.7 kB / 0.9421 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.145, allocations: 260.4 kB / 0.9423 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.557e-05/0.1451, allocations: 103.2 kB / 0.9424 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.1453, allocations: 159.9 kB / 0.9426 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1454, allocations: 0.5274 MB / 0.9431 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.1457, allocations: 188.6 kB / 0.9433 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.1461, allocations: 0.5092 MB / 0.9438 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/0.1468, allocations: 0.5636 MB / 0.9443 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1468, allocations: 4 kB / 0.9443 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003177/0.1499, allocations: 1.313 MB / 0.9456 GB, free: 9.145 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.15, allocations: 61.12 kB / 0.9457 GB, free: 9.074 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.15, allocations: 4 kB / 0.9457 GB, free: 9.07 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.1511, allocations: 406.5 kB / 0.946 GB, free: 8.656 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.1513, allocations: 103.8 kB / 0.9461 GB, free: 8.555 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/0.1549, allocations: 5.762 MB / 0.9518 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.1553, allocations: 87.47 kB / 0.9519 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.1554, allocations: 43.95 kB / 0.9519 GB, free: 2.352 MB / 0.9011 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.0002081/0.1556, allocations: 196.5 kB / 0.9521 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.1557, allocations: 51.72 kB / 0.9521 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.1557, allocations: 39.34 kB / 0.9522 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1557, allocations: 11.92 kB / 0.9522 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1557, allocations: 0 / 0.9522 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1557, allocations: 0 / 0.9522 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.156, allocations: 332.3 kB / 0.9525 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.156, allocations: 4 kB / 0.9525 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.371e-05/0.1561, allocations: 23.92 kB / 0.9525 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000234/0.1563, allocations: 163.2 kB / 0.9527 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.1563, allocations: 15.98 kB / 0.9527 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009144/0.1573, allocations: 1.966 MB / 0.9546 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1573, allocations: 0 / 0.9546 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.1597, allocations: 0.9641 MB / 0.9556 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.1599, allocations: 91.56 kB / 0.9556 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.1599, allocations: 8 kB / 0.9557 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.1601, allocations: 27.97 kB / 0.9557 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.1602, allocations: 35.94 kB / 0.9557 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.1602, allocations: 15.97 kB / 0.9557 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002113/0.1604, allocations: 287.1 kB / 0.956 GB, free: 14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1604, allocations: 0 / 0.956 GB, free: 14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004925/0.1609, allocations: 167.8 kB / 0.9562 GB, free: 13.83 MB / 0.9167 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.0003268/0.1612, allocations: 175 kB / 0.9563 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.1627, allocations: 0.969 MB / 0.9573 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1627, allocations: 0 / 0.9573 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005334/0.1632, allocations: 246.7 kB / 0.9575 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.1636, allocations: 121.6 kB / 0.9576 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.1653, allocations: 0.8097 MB / 0.9584 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.121e-05/0.1653, allocations: 101.3 kB / 0.9585 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00017/0.1655, allocations: 51.2 kB / 0.9586 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.619e-05/0.1656, allocations: 44.47 kB / 0.9586 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of SimCode: time 1.092e-06/0.1656, allocations: 3.938 kB / 0.9586 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of Templates: time 0.01625/0.1819, allocations: 14.36 MB / 0.9726 GB, free: 12.95 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.312188121024519]