Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.Boiler.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.001385/0.001385, 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.0009677/0.0009677, 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.9326/0.9326, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.884/1.884, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.Boiler.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.16e-05, allocations: 3.625 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1299/0.1299, allocations: 147.6 MB / 0.9557 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003649/0.1336, allocations: 2.921 MB / 0.9585 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003195/0.1339, allocations: 23.81 kB / 0.9585 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006153/0.1345, allocations: 214.6 kB / 0.9587 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.1357, allocations: 0.7576 MB / 0.9595 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.1363, allocations: 426.7 kB / 0.9599 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0008999/0.1372, allocations: 1.133 MB / 0.961 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.1375, allocations: 296.7 kB / 0.9613 GB, free: 7.879 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005959/0.1381, allocations: 0.5726 MB / 0.9618 GB, free: 7.305 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005825/0.1387, allocations: 329.2 kB / 0.9621 GB, free: 6.988 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.1387, allocations: 40 kB / 0.9622 GB, free: 6.949 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004791/0.1392, allocations: 418.8 kB / 0.9626 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.1393, allocations: 183.4 kB / 0.9628 GB, free: 6.359 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.1395, allocations: 183.5 kB / 0.9629 GB, free: 6.18 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006598/0.1401, allocations: 0.619 MB / 0.9635 GB, free: 5.559 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1402, allocations: 4 kB / 0.9635 GB, free: 5.555 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1402, allocations: 0 / 0.9635 GB, free: 5.555 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.1402, allocations: 0 / 0.9635 GB, free: 5.555 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009727/0.1411, allocations: 0.9038 MB / 0.9644 GB, free: 4.613 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1412, allocations: 8.031 kB / 0.9644 GB, free: 4.605 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006271/0.1418, allocations: 200.2 kB / 0.9646 GB, free: 4.41 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.1423, allocations: 441.9 kB / 0.965 GB, free: 3.953 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.1423, allocations: 24.59 kB / 0.9651 GB, free: 3.93 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.1424, allocations: 31.94 kB / 0.9651 GB, free: 3.898 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.1428, allocations: 366.2 kB / 0.9654 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1428, allocations: 3.984 kB / 0.9655 GB, free: 3.496 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.1428, allocations: 12 kB / 0.9655 GB, free: 3.484 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.1428, allocations: 16.66 kB / 0.9655 GB, free: 3.469 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.143, allocations: 115.8 kB / 0.9656 GB, free: 3.355 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.001103/0.1441, allocations: 0.9743 MB / 0.9665 GB, free: 2.34 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.1444, allocations: 143.3 kB / 0.9667 GB, free: 2.188 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.555e-05/0.1444, allocations: 64.09 kB / 0.9667 GB, free: 2.121 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.1445, allocations: 7.938 kB / 0.9667 GB, free: 2.113 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.1447, allocations: 230.1 kB / 0.967 GB, free: 1.852 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=26): time 1.503e-06/0.1447, allocations: 0 / 0.967 GB, free: 1.852 MB / 0.9167 GB Notification: Performance of matching and sorting (n=29): time 0.001567/0.1462, allocations: 0.814 MB / 0.9678 GB, free: 0.9922 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.1463, allocations: 59.41 kB / 0.9678 GB, free: 0.9219 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.1466, allocations: 446.7 kB / 0.9682 GB, free: 484 kB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.1466, allocations: 29.7 kB / 0.9683 GB, free: 448 kB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.1467, allocations: 299.2 kB / 0.9686 GB, free: 140 kB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.321e-05/0.1468, allocations: 107.2 kB / 0.9687 GB, free: 32 kB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.784e-05/0.1469, allocations: 83.75 kB / 0.9687 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.147, allocations: 0.5274 MB / 0.9693 GB, free: 15.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.671e-05/0.1471, allocations: 56.72 kB / 0.9693 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1473, allocations: 135.6 kB / 0.9694 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.1475, allocations: 208.8 kB / 0.9696 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1475, allocations: 0 / 0.9696 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004916/0.148, allocations: 349.3 kB / 0.97 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.148, allocations: 8 kB / 0.97 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.148, allocations: 3.984 kB / 0.97 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002871/0.1483, allocations: 95.66 kB / 0.9701 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.1484, allocations: 63.91 kB / 0.9701 GB, free: 14.44 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.1497, allocations: 2.13 MB / 0.9722 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.1499, allocations: 19.91 kB / 0.9722 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.1499, allocations: 12 kB / 0.9722 GB, free: 12.16 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.15, allocations: 176.5 kB / 0.9724 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.1501, allocations: 59.7 kB / 0.9725 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004643/0.1505, allocations: 295 kB / 0.9728 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1505, allocations: 4 kB / 0.9728 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1505, allocations: 4 kB / 0.9728 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1506, allocations: 3.984 kB / 0.9728 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008514/0.1514, allocations: 0.767 MB / 0.9735 GB, free: 10.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1514, allocations: 0 / 0.9735 GB, free: 10.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.1516, allocations: 59.97 kB / 0.9736 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002089/0.1518, allocations: 79.61 kB / 0.9736 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.1518, allocations: 15.98 kB / 0.9737 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008253/0.1526, allocations: 1.815 MB / 0.9754 GB, free: 8.703 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1527, allocations: 0 / 0.9754 GB, free: 8.703 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.1532, allocations: 0.4972 MB / 0.9759 GB, free: 8.18 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1533, allocations: 67.69 kB / 0.976 GB, free: 8.113 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.1533, allocations: 15.98 kB / 0.976 GB, free: 8.098 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.1535, allocations: 10.06 kB / 0.976 GB, free: 8.09 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.1535, allocations: 19.95 kB / 0.976 GB, free: 8.07 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.1535, allocations: 15.94 kB / 0.976 GB, free: 8.055 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002041/0.1538, allocations: 295 kB / 0.9763 GB, free: 7.766 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1538, allocations: 0 / 0.9763 GB, free: 7.766 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003712/0.1541, allocations: 124 kB / 0.9764 GB, free: 7.645 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.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008878/0.155, allocations: 420.1 kB / 0.9768 GB, free: 7.375 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004588/0.1555, allocations: 372.7 kB / 0.9772 GB, free: 6.992 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1555, allocations: 0 / 0.9772 GB, free: 6.992 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.1557, allocations: 281.8 kB / 0.9775 GB, free: 6.695 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/0.1563, allocations: 236.7 kB / 0.9777 GB, free: 6.469 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.1578, allocations: 0.8575 MB / 0.9785 GB, free: 5.574 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.567e-05/0.1579, allocations: 137.1 kB / 0.9787 GB, free: 5.418 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00019/0.1581, allocations: 88.3 kB / 0.9787 GB, free: 5.332 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/0.1582, allocations: 36.5 kB / 0.9788 GB, free: 5.297 MB / 0.9323 GB Notification: Performance of SimCode: time 5.31e-07/0.1582, allocations: 0 / 0.9788 GB, free: 5.297 MB / 0.9323 GB Notification: Performance of Templates: time 0.01114/0.1693, allocations: 9.57 MB / 0.9881 GB, free: 11.95 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_Boiler_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.609197529964149]