Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.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.0008865/0.0008865, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.001032/0.001032, allocations: 173 kB / 23.36 MB, free: 0.9727 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.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.528/2.528, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.693e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1439/0.1439, allocations: 146.5 MB / 0.9817 GB, free: 11.12 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004738/0.1487, allocations: 2.338 MB / 0.984 GB, free: 8.773 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005615/0.1492, allocations: 19.88 kB / 0.984 GB, free: 8.754 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005822/0.1498, allocations: 135 kB / 0.9841 GB, free: 8.621 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.1516, allocations: 0.641 MB / 0.9847 GB, free: 7.977 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009208/0.1525, allocations: 327.2 kB / 0.985 GB, free: 7.656 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001642/0.1542, allocations: 0.9687 MB / 0.986 GB, free: 6.691 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009883/0.1551, allocations: 245.2 kB / 0.9862 GB, free: 6.449 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.1567, allocations: 0.5688 MB / 0.9868 GB, free: 5.898 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006089/0.1573, allocations: 247.2 kB / 0.987 GB, free: 5.656 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 7.308e-05/0.1574, allocations: 32 kB / 0.987 GB, free: 5.625 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008713/0.1583, allocations: 283.2 kB / 0.9873 GB, free: 5.348 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.1585, allocations: 143.5 kB / 0.9875 GB, free: 5.207 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.1587, allocations: 143.7 kB / 0.9876 GB, free: 5.066 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.1598, allocations: 462.5 kB / 0.988 GB, free: 4.613 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.1598, allocations: 0 / 0.988 GB, free: 4.613 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1598, allocations: 0 / 0.988 GB, free: 4.613 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.1598, allocations: 0 / 0.988 GB, free: 4.613 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00112/0.1609, allocations: 0.5963 MB / 0.9886 GB, free: 3.992 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.1609, allocations: 8.625 kB / 0.9886 GB, free: 3.984 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009472/0.1619, allocations: 164.5 kB / 0.9888 GB, free: 3.824 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005962/0.1625, allocations: 300.4 kB / 0.9891 GB, free: 3.504 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.1625, allocations: 24.62 kB / 0.9891 GB, free: 3.48 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.1626, allocations: 27.95 kB / 0.9891 GB, free: 3.453 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.163, allocations: 304.3 kB / 0.9894 GB, free: 3.113 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.163, allocations: 0 / 0.9894 GB, free: 3.113 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.163, allocations: 12 kB / 0.9894 GB, free: 3.102 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/0.1631, allocations: 8.5 kB / 0.9894 GB, free: 3.094 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.1632, allocations: 81.38 kB / 0.9895 GB, free: 3.016 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.1645, allocations: 0.5978 MB / 0.9901 GB, free: 2.395 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.1647, allocations: 109.3 kB / 0.9902 GB, free: 2.277 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.893e-05/0.1648, allocations: 49.05 kB / 0.9902 GB, free: 2.227 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.1648, allocations: 4 kB / 0.9902 GB, free: 2.223 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1649, allocations: 46.45 kB / 0.9903 GB, free: 2.168 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.764e-06/0.1649, allocations: 0 / 0.9903 GB, free: 2.168 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0005783/0.1654, allocations: 186.9 kB / 0.9905 GB, free: 1.977 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.1655, allocations: 55.41 kB / 0.9905 GB, free: 1.91 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.1657, allocations: 258.9 kB / 0.9908 GB, free: 1.648 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.1657, allocations: 33.7 kB / 0.9908 GB, free: 1.609 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.1659, allocations: 161.2 kB / 0.9909 GB, free: 1.449 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-05/0.166, allocations: 87.3 kB / 0.991 GB, free: 1.363 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.568e-05/0.1661, allocations: 45.69 kB / 0.9911 GB, free: 1.312 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002365/0.1663, allocations: 342.7 kB / 0.9914 GB, free: 0.9688 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.964e-05/0.1664, allocations: 18.83 kB / 0.9914 GB, free: 0.9492 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.1665, allocations: 77.91 kB / 0.9915 GB, free: 0.8516 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.1667, allocations: 133.7 kB / 0.9916 GB, free: 0.6992 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1667, allocations: 0 / 0.9916 GB, free: 0.6992 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000219/0.1669, allocations: 132.3 kB / 0.9917 GB, free: 0.5625 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.1669, allocations: 8 kB / 0.9918 GB, free: 0.5547 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.167, allocations: 0 / 0.9918 GB, free: 0.5547 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.167, allocations: 4 kB / 0.9918 GB, free: 0.5508 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.1671, allocations: 43.92 kB / 0.9918 GB, free: 0.5078 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1671, allocations: 4 kB / 0.9918 GB, free: 0.5039 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.1673, allocations: 24.08 kB / 0.9918 GB, free: 492 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.1673, allocations: 11.94 kB / 0.9918 GB, free: 480 kB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.1675, allocations: 124.6 kB / 0.992 GB, free: 344 kB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.1675, allocations: 23.98 kB / 0.992 GB, free: 320 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.308e-05/0.1676, allocations: 34.3 kB / 0.992 GB, free: 284 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1676, allocations: 7.984 kB / 0.992 GB, free: 276 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1676, allocations: 0 / 0.992 GB, free: 276 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1676, allocations: 0 / 0.992 GB, free: 276 kB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.1679, allocations: 201.5 kB / 0.9922 GB, free: 56 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1679, allocations: 3.938 kB / 0.9922 GB, free: 52 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.1681, allocations: 39.98 kB / 0.9923 GB, free: 12 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002341/0.1684, allocations: 50.47 kB / 0.9923 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1684, allocations: 4 kB / 0.9923 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.1695, allocations: 1.23 MB / 0.9935 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1695, allocations: 0 / 0.9935 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.1699, allocations: 274 kB / 0.9938 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.364e-05/0.17, allocations: 39.73 kB / 0.9938 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.17, allocations: 11.94 kB / 0.9938 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.1702, allocations: 10.39 kB / 0.9938 GB, free: 14.28 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.1702, allocations: 7.984 kB / 0.9938 GB, free: 14.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.1702, allocations: 7.984 kB / 0.9938 GB, free: 14.26 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001134/0.1704, allocations: 104.7 kB / 0.9939 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.1704, allocations: 0 / 0.9939 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004011/0.1708, allocations: 107.8 kB / 0.994 GB, free: 14.05 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002926/0.1711, allocations: 92.36 kB / 0.9941 GB, free: 13.95 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001729/0.1712, allocations: 89.02 kB / 0.9942 GB, free: 13.86 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.1712, allocations: 12.05 kB / 0.9942 GB, free: 13.85 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.1715, allocations: 167.4 kB / 0.9944 GB, free: 13.67 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007588/0.1722, allocations: 212 kB / 0.9946 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.1735, allocations: 0.597 MB / 0.9952 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.175e-05/0.1736, allocations: 105.5 kB / 0.9953 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002214/0.1738, allocations: 50.94 kB / 0.9953 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/0.1741, allocations: 173.2 kB / 0.9955 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of SimCode: time 1.103e-06/0.1741, allocations: 0 / 0.9955 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of Templates: time 0.01303/0.1872, allocations: 7.252 MB / 1.003 GB, free: 5.445 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.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.736380611080676]