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.001273/0.001273, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001026/0.001026, allocations: 161 kB / 24.16 MB, free: 336 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.9464/0.9464, allocations: 177.1 MB / 204.6 MB, free: 5.148 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.834/1.834, allocations: 377.9 MB / 0.624 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.142e-06/1.142e-06, allocations: 0 / 0.76 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179e-05/1.294e-05, allocations: 2.312 kB / 0.76 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1291/0.1291, allocations: 147 MB / 0.9035 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004118/0.1332, allocations: 2.958 MB / 0.9064 GB, free: 404 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004184/0.1336, allocations: 23.81 kB / 0.9064 GB, free: 380 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005715/0.1342, allocations: 202.7 kB / 0.9066 GB, free: 176 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.1356, allocations: 0.7654 MB / 0.9074 GB, free: 15.4 MB / 0.8699 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.1366, allocations: 434.7 kB / 0.9078 GB, free: 14.98 MB / 0.8699 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.1382, allocations: 1.132 MB / 0.9089 GB, free: 13.84 MB / 0.8699 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004768/0.1386, allocations: 297.3 kB / 0.9092 GB, free: 13.54 MB / 0.8699 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.1403, allocations: 0.6956 MB / 0.9098 GB, free: 12.88 MB / 0.8699 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005056/0.1408, allocations: 295.1 kB / 0.9101 GB, free: 12.59 MB / 0.8699 GB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/0.1408, allocations: 40 kB / 0.9102 GB, free: 12.55 MB / 0.8699 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006722/0.1415, allocations: 331.1 kB / 0.9105 GB, free: 12.22 MB / 0.8699 GB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.1417, allocations: 179.4 kB / 0.9107 GB, free: 12.05 MB / 0.8699 GB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.1419, allocations: 183.5 kB / 0.9108 GB, free: 11.87 MB / 0.8699 GB Notification: Performance of NFConvertDAE.convert: time 0.0009407/0.1429, allocations: 0.5878 MB / 0.9114 GB, free: 11.28 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1429, allocations: 4 kB / 0.9114 GB, free: 11.27 MB / 0.8699 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1429, allocations: 0 / 0.9114 GB, free: 11.27 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.1429, allocations: 0 / 0.9114 GB, free: 11.27 MB / 0.8699 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.001151/0.144, allocations: 0.7557 MB / 0.9121 GB, free: 10.49 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1441, allocations: 11.97 kB / 0.9122 GB, free: 10.48 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007852/0.1449, allocations: 168.6 kB / 0.9123 GB, free: 10.32 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006328/0.1455, allocations: 382.4 kB / 0.9127 GB, free: 9.918 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.1455, allocations: 28.77 kB / 0.9127 GB, free: 9.891 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-05/0.1456, allocations: 36 kB / 0.9127 GB, free: 9.855 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.146, allocations: 339.3 kB / 0.9131 GB, free: 9.48 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.146, allocations: 0 / 0.9131 GB, free: 9.48 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.146, allocations: 16 kB / 0.9131 GB, free: 9.465 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.1461, allocations: 8.656 kB / 0.9131 GB, free: 9.457 MB / 0.8699 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.1463, allocations: 93.92 kB / 0.9132 GB, free: 9.363 MB / 0.8699 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.001264/0.1475, allocations: 0.6671 MB / 0.9138 GB, free: 8.676 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.1478, allocations: 170.2 kB / 0.914 GB, free: 8.5 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.787e-05/0.1478, allocations: 49.27 kB / 0.914 GB, free: 8.449 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.1479, allocations: 7.938 kB / 0.914 GB, free: 8.441 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.1481, allocations: 220.9 kB / 0.9143 GB, free: 8.188 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=26): time 2.505e-06/0.1481, allocations: 0 / 0.9143 GB, free: 8.188 MB / 0.8699 GB Notification: Performance of matching and sorting (n=29): time 0.001796/0.1499, allocations: 0.6676 MB / 0.9149 GB, free: 7.48 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.1499, allocations: 59.34 kB / 0.915 GB, free: 7.41 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.1503, allocations: 378 kB / 0.9153 GB, free: 7.027 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.1503, allocations: 33.7 kB / 0.9154 GB, free: 6.988 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.1504, allocations: 189.5 kB / 0.9155 GB, free: 6.797 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 8.383e-05/0.1505, allocations: 107.1 kB / 0.9156 GB, free: 6.691 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.1506, allocations: 78.03 kB / 0.9157 GB, free: 6.609 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1507, allocations: 358.7 kB / 0.9161 GB, free: 6.25 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.666e-05/0.1508, allocations: 39.56 kB / 0.9161 GB, free: 6.211 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.1509, allocations: 98.67 kB / 0.9162 GB, free: 6.098 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.1511, allocations: 165.5 kB / 0.9163 GB, free: 5.918 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1511, allocations: 4 kB / 0.9164 GB, free: 5.914 MB / 0.8699 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004953/0.1516, allocations: 264.3 kB / 0.9166 GB, free: 5.645 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1517, allocations: 6.344 kB / 0.9166 GB, free: 5.641 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1517, allocations: 4 kB / 0.9166 GB, free: 5.637 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003171/0.152, allocations: 79.77 kB / 0.9167 GB, free: 5.555 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.1522, allocations: 67.91 kB / 0.9168 GB, free: 5.488 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.1534, allocations: 1.549 MB / 0.9183 GB, free: 3.848 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.1536, allocations: 11.98 kB / 0.9183 GB, free: 3.836 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.1537, allocations: 16.11 kB / 0.9183 GB, free: 3.82 MB / 0.8699 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.000175/0.1539, allocations: 148.4 kB / 0.9184 GB, free: 3.664 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.1539, allocations: 39.95 kB / 0.9185 GB, free: 3.625 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004784/0.1544, allocations: 234.8 kB / 0.9187 GB, free: 3.387 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.1544, allocations: 7.938 kB / 0.9187 GB, free: 3.379 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1544, allocations: 0 / 0.9187 GB, free: 3.379 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1544, allocations: 0 / 0.9187 GB, free: 3.379 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008988/0.1553, allocations: 0.5656 MB / 0.9193 GB, free: 2.785 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.1553, allocations: 0 / 0.9193 GB, free: 2.785 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.1556, allocations: 67.91 kB / 0.9193 GB, free: 2.719 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000268/0.1559, allocations: 90.38 kB / 0.9194 GB, free: 2.625 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.1559, allocations: 12 kB / 0.9194 GB, free: 2.613 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009116/0.1568, allocations: 1.25 MB / 0.9206 GB, free: 1.258 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1568, allocations: 0 / 0.9206 GB, free: 1.258 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.1574, allocations: 402 kB / 0.921 GB, free: 0.8398 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.1575, allocations: 55.64 kB / 0.9211 GB, free: 0.7852 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.1575, allocations: 11.98 kB / 0.9211 GB, free: 0.7734 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.1577, allocations: 8 kB / 0.9211 GB, free: 0.7656 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.1578, allocations: 23.95 kB / 0.9211 GB, free: 0.7422 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.1578, allocations: 12.03 kB / 0.9211 GB, free: 0.7305 MB / 0.8699 GB Notification: Performance of sorting global known variables: time 0.0001689/0.158, allocations: 148.7 kB / 0.9213 GB, free: 0.5898 MB / 0.8699 GB Notification: Performance of sort global known variables: time 1.01e-07/0.158, allocations: 4 kB / 0.9213 GB, free: 0.5859 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.0005184/0.1585, allocations: 124 kB / 0.9214 GB, free: 476 kB / 0.8699 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.001589/0.1601, allocations: 0.5269 MB / 0.9219 GB, free: 172 kB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.0004652/0.1606, allocations: 278.6 kB / 0.9222 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.1606, allocations: 8 kB / 0.9222 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.1608, allocations: 195.8 kB / 0.9224 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008614/0.1616, allocations: 254.8 kB / 0.9226 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.1634, allocations: 0.8281 MB / 0.9234 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.1635, allocations: 129.2 kB / 0.9235 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002717/0.1638, allocations: 76.31 kB / 0.9236 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/0.1642, allocations: 201.2 kB / 0.9238 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of SimCode: time 1.332e-06/0.1642, allocations: 0 / 0.9238 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of Templates: time 0.01703/0.1812, allocations: 10.35 MB / 0.9339 GB, free: 4.051 MB / 0.8855 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.342609756626189]