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.001587/0.001587, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001737/0.001737, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9368/0.9368, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.776/1.776, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 177] 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.623e-06/1.623e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.628e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004088/0.004124, allocations: 3.008 MB / 0.7901 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1521/0.1562, allocations: 145 MB / 0.9317 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002988/0.1565, allocations: 7.938 kB / 0.9317 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.1569, allocations: 87.22 kB / 0.9318 GB, free: 7.832 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0008332/0.1578, allocations: 297.8 kB / 0.9321 GB, free: 7.539 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.1595, allocations: 0.8061 MB / 0.9329 GB, free: 6.73 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0008592/0.1603, allocations: 0.7951 MB / 0.9337 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.1605, allocations: 66.22 kB / 0.9337 GB, free: 5.859 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005338/0.1611, allocations: 451.1 kB / 0.9342 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004119/0.1615, allocations: 275.3 kB / 0.9344 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 9.12e-05/0.1616, allocations: 60 kB / 0.9345 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.1626, allocations: 0.5457 MB / 0.935 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.1627, allocations: 155.5 kB / 0.9352 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.1629, allocations: 219.5 kB / 0.9354 GB, free: 4.176 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.1643, allocations: 0.7944 MB / 0.9361 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1643, allocations: 3.984 kB / 0.9361 GB, free: 3.375 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1643, allocations: 0 / 0.9361 GB, free: 3.375 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.1643, allocations: 0 / 0.9361 GB, free: 3.375 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.001721/0.166, allocations: 1.121 MB / 0.9372 GB, free: 2.195 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.1661, allocations: 8.031 kB / 0.9372 GB, free: 2.188 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.1676, allocations: 328.2 kB / 0.9376 GB, free: 1.867 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005299/0.1681, allocations: 359.4 kB / 0.9379 GB, free: 1.488 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-05/0.1682, allocations: 96.45 kB / 0.938 GB, free: 1.383 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-05/0.1683, allocations: 48.08 kB / 0.938 GB, free: 1.336 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004948/0.1688, allocations: 319.3 kB / 0.9383 GB, free: 1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1688, allocations: 0 / 0.9383 GB, free: 1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.1688, allocations: 8 kB / 0.9384 GB, free: 0.9922 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.1688, allocations: 12 kB / 0.9384 GB, free: 0.9805 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.1691, allocations: 126.8 kB / 0.9385 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/0.1716, allocations: 1.625 MB / 0.9401 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.1719, allocations: 139.2 kB / 0.9402 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.172, allocations: 71.64 kB / 0.9403 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.1721, allocations: 8 kB / 0.9403 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003211/0.1724, allocations: 216.6 kB / 0.9405 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=30): time 1.192e-06/0.1724, allocations: 0 / 0.9405 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30): time 0.003578/0.176, allocations: 1.036 MB / 0.9415 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.176, allocations: 85.11 kB / 0.9416 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004251/0.1764, allocations: 466.4 kB / 0.942 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.766e-05/0.1765, allocations: 41.7 kB / 0.9421 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.1767, allocations: 256.4 kB / 0.9423 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.537e-05/0.1768, allocations: 99.16 kB / 0.9424 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.177, allocations: 163.9 kB / 0.9426 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0005475/0.1775, allocations: 0.5312 MB / 0.9431 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.1779, allocations: 188.6 kB / 0.9433 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.1783, allocations: 0.5093 MB / 0.9438 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007422/0.1791, allocations: 0.5636 MB / 0.9443 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1791, allocations: 4 kB / 0.9443 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003325/0.1824, allocations: 1.313 MB / 0.9456 GB, free: 9.188 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.223e-05/0.1825, allocations: 67.39 kB / 0.9457 GB, free: 9.109 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1825, allocations: 0 / 0.9457 GB, free: 9.109 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.1837, allocations: 406.5 kB / 0.946 GB, free: 8.695 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.184, allocations: 91.81 kB / 0.9461 GB, free: 8.605 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00431/0.1883, allocations: 5.771 MB / 0.9518 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.1888, allocations: 95.5 kB / 0.9519 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.1888, allocations: 35.97 kB / 0.9519 GB, free: 2.398 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.0002436/0.1891, allocations: 196.5 kB / 0.9521 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.615e-05/0.1892, allocations: 47.72 kB / 0.9521 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.1892, allocations: 43.34 kB / 0.9522 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1892, allocations: 7.938 kB / 0.9522 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1892, allocations: 4 kB / 0.9522 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.1892, allocations: 7.984 kB / 0.9522 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.1896, allocations: 332.3 kB / 0.9525 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1896, allocations: 0 / 0.9525 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.193e-05/0.1897, allocations: 23.92 kB / 0.9525 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002571/0.1899, allocations: 159.2 kB / 0.9527 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.1899, allocations: 11.98 kB / 0.9527 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.191, allocations: 1.966 MB / 0.9546 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.191, allocations: 0 / 0.9546 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.1934, allocations: 0.963 MB / 0.9556 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.1936, allocations: 91.56 kB / 0.9556 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.416e-05/0.1937, allocations: 11.98 kB / 0.9556 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.1938, allocations: 27.97 kB / 0.9557 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.847e-05/0.1939, allocations: 39.94 kB / 0.9557 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.194, allocations: 11.98 kB / 0.9557 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002234/0.1942, allocations: 287 kB / 0.956 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1942, allocations: 4 kB / 0.956 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005157/0.1947, allocations: 167.8 kB / 0.9562 GB, free: 13.88 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.0003326/0.195, allocations: 179 kB / 0.9563 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001875/0.1969, allocations: 0.9664 MB / 0.9573 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1969, allocations: 0 / 0.9573 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005543/0.1975, allocations: 246.9 kB / 0.9575 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.1979, allocations: 113.4 kB / 0.9576 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.1993, allocations: 0.8106 MB / 0.9584 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.747e-05/0.1994, allocations: 105.3 kB / 0.9585 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000177/0.1996, allocations: 55.2 kB / 0.9586 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.847e-05/0.1997, allocations: 44.47 kB / 0.9586 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of SimCode: time 8.01e-07/0.1997, allocations: 0 / 0.9586 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of Templates: time 0.01673/0.2164, allocations: 13.29 MB / 0.9716 GB, free: 14.06 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.964516235981137]