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.001186/0.001186, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.00143/0.00143, allocations: 181 kB / 24.09 MB, free: 412 kB / 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.9769/0.9769, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.878/1.878, allocations: 377.9 MB / 0.6239 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.134e-06/2.134e-06, allocations: 0 / 0.812 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.943e-05, allocations: 4.219 kB / 0.812 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.141/0.141, allocations: 144.4 MB / 0.953 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003384/0.1444, allocations: 2.287 MB / 0.9552 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004254/0.1448, allocations: 27.81 kB / 0.9552 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005323/0.1453, allocations: 143 kB / 0.9554 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.1467, allocations: 0.6333 MB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000787/0.1475, allocations: 327.1 kB / 0.9563 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001149/0.1487, allocations: 0.9621 MB / 0.9572 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003425/0.149, allocations: 218.7 kB / 0.9574 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.1506, allocations: 0.5635 MB / 0.958 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/0.151, allocations: 259.2 kB / 0.9582 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.1511, allocations: 32 kB / 0.9583 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004885/0.1516, allocations: 291.1 kB / 0.9585 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.1517, allocations: 143.5 kB / 0.9587 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1518, allocations: 147.7 kB / 0.9588 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006431/0.1525, allocations: 458.5 kB / 0.9592 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1525, allocations: 0 / 0.9592 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1525, allocations: 0 / 0.9592 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.1525, allocations: 0 / 0.9592 GB, free: 10.18 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.0008164/0.1533, allocations: 0.7291 MB / 0.96 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1533, allocations: 8.031 kB / 0.96 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005734/0.1539, allocations: 156.4 kB / 0.9601 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.1543, allocations: 354.9 kB / 0.9605 GB, free: 8.883 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.1543, allocations: 20.62 kB / 0.9605 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/0.1544, allocations: 28 kB / 0.9605 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.1546, allocations: 291.2 kB / 0.9608 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1547, allocations: 0 / 0.9608 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.1547, allocations: 8 kB / 0.9608 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.1547, allocations: 8.5 kB / 0.9608 GB, free: 8.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.1548, allocations: 89.41 kB / 0.9609 GB, free: 8.414 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.0009962/0.1558, allocations: 0.826 MB / 0.9617 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.156, allocations: 127.3 kB / 0.9618 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.1561, allocations: 43.67 kB / 0.9619 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.1561, allocations: 7.938 kB / 0.9619 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.1561, allocations: 41.39 kB / 0.9619 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 2.254e-06/0.1561, allocations: 0 / 0.9619 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.0004828/0.1566, allocations: 233.3 kB / 0.9621 GB, free: 7.078 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.1566, allocations: 55.41 kB / 0.9622 GB, free: 7.012 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.1568, allocations: 314.2 kB / 0.9625 GB, free: 6.691 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.1568, allocations: 33.7 kB / 0.9625 GB, free: 6.652 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.157, allocations: 247.3 kB / 0.9627 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/0.157, allocations: 79.34 kB / 0.9628 GB, free: 6.328 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.1571, allocations: 47.36 kB / 0.9629 GB, free: 6.273 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1572, allocations: 0.5156 MB / 0.9634 GB, free: 5.746 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.627e-05/0.1573, allocations: 23.98 kB / 0.9634 GB, free: 5.723 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.387e-05/0.1573, allocations: 93.75 kB / 0.9635 GB, free: 5.602 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.1575, allocations: 136.5 kB / 0.9636 GB, free: 5.441 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1575, allocations: 4 kB / 0.9636 GB, free: 5.438 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001933/0.1577, allocations: 177.3 kB / 0.9638 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1577, allocations: 4 kB / 0.9638 GB, free: 5.254 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1577, allocations: 4 kB / 0.9638 GB, free: 5.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1577, allocations: 0 / 0.9638 GB, free: 5.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.1578, allocations: 43.92 kB / 0.9638 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1578, allocations: 7.984 kB / 0.9638 GB, free: 5.199 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.1579, allocations: 15.89 kB / 0.9639 GB, free: 5.184 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.158, allocations: 4 kB / 0.9639 GB, free: 5.18 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 0.000104/0.1581, allocations: 176.4 kB / 0.964 GB, free: 4.996 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.1581, allocations: 39.97 kB / 0.9641 GB, free: 4.957 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.808e-05/0.1582, allocations: 38.3 kB / 0.9641 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1582, allocations: 0 / 0.9641 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1582, allocations: 0 / 0.9641 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1582, allocations: 7.984 kB / 0.9641 GB, free: 4.914 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.1584, allocations: 229 kB / 0.9643 GB, free: 4.664 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1584, allocations: 3.984 kB / 0.9643 GB, free: 4.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.939e-05/0.1585, allocations: 31.92 kB / 0.9644 GB, free: 4.629 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001747/0.1587, allocations: 43.66 kB / 0.9644 GB, free: 4.582 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1587, allocations: 8 kB / 0.9644 GB, free: 4.574 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008615/0.1596, allocations: 1.768 MB / 0.9661 GB, free: 2.688 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1596, allocations: 0 / 0.9661 GB, free: 2.688 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.1599, allocations: 353.3 kB / 0.9665 GB, free: 2.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-05/0.16, allocations: 51.78 kB / 0.9665 GB, free: 2.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.16, allocations: 7.938 kB / 0.9665 GB, free: 2.262 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.1601, allocations: 8 kB / 0.9665 GB, free: 2.254 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.1602, allocations: 11.97 kB / 0.9665 GB, free: 2.242 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.1602, allocations: 8 kB / 0.9666 GB, free: 2.234 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001004/0.1603, allocations: 210.9 kB / 0.9668 GB, free: 2.027 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4e-08/0.1603, allocations: 0 / 0.9668 GB, free: 2.027 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002801/0.1606, allocations: 111.8 kB / 0.9669 GB, free: 1.918 MB / 0.9167 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.000155/0.1607, allocations: 115.2 kB / 0.967 GB, free: 1.793 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.1609, allocations: 90.5 kB / 0.9671 GB, free: 1.703 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1609, allocations: 0 / 0.9671 GB, free: 1.703 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.1611, allocations: 241.3 kB / 0.9673 GB, free: 1.445 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.1616, allocations: 197.3 kB / 0.9675 GB, free: 1.258 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.1627, allocations: 0.6372 MB / 0.9681 GB, free: 0.5938 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.926e-05/0.1628, allocations: 97.53 kB / 0.9682 GB, free: 488 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001629/0.163, allocations: 54.92 kB / 0.9682 GB, free: 432 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.1632, allocations: 198.1 kB / 0.9684 GB, free: 232 kB / 0.9167 GB Notification: Performance of SimCode: time 1.292e-06/0.1632, allocations: 0 / 0.9684 GB, free: 232 kB / 0.9167 GB Notification: Performance of Templates: time 0.01009/0.1733, allocations: 7.178 MB / 0.9754 GB, free: 9.258 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.370572776999325]