Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009196/0.0009196, 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.0009938/0.0009938, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9684/0.9684, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.853/1.853, allocations: 377.8 MB / 0.6236 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_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_12_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.411e-05, allocations: 4.281 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1503/0.1503, allocations: 147.1 MB / 0.9552 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002616/0.1529, allocations: 2.318 MB / 0.9574 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.1531, allocations: 15.88 kB / 0.9574 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004831/0.1536, allocations: 143 kB / 0.9576 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0009473/0.1546, allocations: 0.6372 MB / 0.9582 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.155, allocations: 335.1 kB / 0.9585 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0008898/0.1559, allocations: 0.9543 MB / 0.9594 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.1561, allocations: 222.7 kB / 0.9597 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000657/0.1568, allocations: 490.5 kB / 0.9601 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004997/0.1573, allocations: 281.1 kB / 0.9604 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.1573, allocations: 36 kB / 0.9604 GB, free: 8.727 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003939/0.1577, allocations: 370.8 kB / 0.9608 GB, free: 8.363 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1579, allocations: 139.6 kB / 0.9609 GB, free: 8.227 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.158, allocations: 147.7 kB / 0.961 GB, free: 8.082 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005281/0.1585, allocations: 482.4 kB / 0.9615 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1585, allocations: 0 / 0.9615 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1585, allocations: 0 / 0.9615 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.1585, allocations: 0 / 0.9615 GB, free: 7.609 MB / 0.9167 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.0007418/0.1593, allocations: 0.7408 MB / 0.9622 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1593, allocations: 8.031 kB / 0.9622 GB, free: 6.824 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005805/0.1599, allocations: 168.4 kB / 0.9624 GB, free: 6.66 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.1603, allocations: 367.5 kB / 0.9628 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1603, allocations: 24.56 kB / 0.9628 GB, free: 6.254 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.1603, allocations: 35.94 kB / 0.9628 GB, free: 6.219 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.1606, allocations: 311.2 kB / 0.9631 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1606, allocations: 0 / 0.9631 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.1606, allocations: 8 kB / 0.9631 GB, free: 5.871 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.1607, allocations: 12.5 kB / 0.9631 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.1608, allocations: 106.8 kB / 0.9632 GB, free: 5.754 MB / 0.9167 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.0009351/0.1618, allocations: 0.8648 MB / 0.9641 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.162, allocations: 131.3 kB / 0.9642 GB, free: 4.707 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.271e-05/0.1621, allocations: 57.84 kB / 0.9643 GB, free: 4.648 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.1621, allocations: 4.344 kB / 0.9643 GB, free: 4.645 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.1621, allocations: 41.38 kB / 0.9643 GB, free: 4.594 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 1.273e-06/0.1621, allocations: 3.938 kB / 0.9643 GB, free: 4.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.0005066/0.1626, allocations: 245 kB / 0.9645 GB, free: 4.34 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.1626, allocations: 51.41 kB / 0.9646 GB, free: 4.277 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.1628, allocations: 326.3 kB / 0.9649 GB, free: 3.941 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1628, allocations: 33.7 kB / 0.9649 GB, free: 3.902 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.163, allocations: 251.3 kB / 0.9652 GB, free: 3.652 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.163, allocations: 75.33 kB / 0.9652 GB, free: 3.578 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.1631, allocations: 51.36 kB / 0.9653 GB, free: 3.52 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1632, allocations: 0.5117 MB / 0.9658 GB, free: 2.992 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.834e-05/0.1632, allocations: 27.98 kB / 0.9658 GB, free: 2.965 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.764e-05/0.1633, allocations: 105.7 kB / 0.9659 GB, free: 2.832 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.1634, allocations: 148 kB / 0.9661 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1634, allocations: 4 kB / 0.9661 GB, free: 2.656 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002086/0.1636, allocations: 189.3 kB / 0.9662 GB, free: 2.465 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1637, allocations: 4 kB / 0.9662 GB, free: 2.461 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1637, allocations: 4 kB / 0.9662 GB, free: 2.457 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1637, allocations: 4 kB / 0.9663 GB, free: 2.453 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.1638, allocations: 39.92 kB / 0.9663 GB, free: 2.414 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.1638, allocations: 7.984 kB / 0.9663 GB, free: 2.406 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.1639, allocations: 27.97 kB / 0.9663 GB, free: 2.379 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1639, allocations: 8 kB / 0.9663 GB, free: 2.371 MB / 0.9167 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 9.643e-05/0.164, allocations: 168.5 kB / 0.9665 GB, free: 2.195 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.1641, allocations: 39.81 kB / 0.9665 GB, free: 2.156 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.1641, allocations: 30.3 kB / 0.9666 GB, free: 2.129 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1641, allocations: 4 kB / 0.9666 GB, free: 2.125 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1641, allocations: 4 kB / 0.9666 GB, free: 2.121 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1641, allocations: 0 / 0.9666 GB, free: 2.121 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.1645, allocations: 288.3 kB / 0.9668 GB, free: 1.805 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1645, allocations: 0 / 0.9668 GB, free: 1.805 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.956e-05/0.1646, allocations: 35.98 kB / 0.9669 GB, free: 1.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001742/0.1648, allocations: 43.66 kB / 0.9669 GB, free: 1.723 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1648, allocations: 4 kB / 0.9669 GB, free: 1.719 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009332/0.1657, allocations: 1.787 MB / 0.9687 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1657, allocations: 0 / 0.9687 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.166, allocations: 372.3 kB / 0.969 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.1661, allocations: 51.77 kB / 0.9691 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.1661, allocations: 4 kB / 0.9691 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.1662, allocations: 5.719 kB / 0.9691 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.1662, allocations: 19.92 kB / 0.9691 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.1663, allocations: 4 kB / 0.9691 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001203/0.1664, allocations: 227 kB / 0.9693 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.1664, allocations: 0 / 0.9693 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002446/0.1666, allocations: 111.9 kB / 0.9694 GB, free: 15.01 MB / 0.9323 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.0001181/0.1667, allocations: 103.2 kB / 0.9695 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.1669, allocations: 111.5 kB / 0.9696 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1669, allocations: 0 / 0.9696 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.1671, allocations: 247.8 kB / 0.9699 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.1677, allocations: 194.6 kB / 0.9701 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008888/0.1685, allocations: 0.6351 MB / 0.9707 GB, free: 13.67 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.125e-05/0.1686, allocations: 109.5 kB / 0.9708 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001246/0.1687, allocations: 58.92 kB / 0.9708 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.1688, allocations: 24.5 kB / 0.9709 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of SimCode: time 7.91e-07/0.1688, allocations: 0 / 0.9709 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of Templates: time 0.007741/0.1765, allocations: 6.57 MB / 0.9773 GB, free: 7.098 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.460984171833843]