Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00135/0.00135, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009359/0.0009359, allocations: 185.3 kB / 24.09 MB, free: 420 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.9447/0.9447, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.761/1.761, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Examples.Tutorial.Boiler.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.445e-05, allocations: 8.781 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1422/0.1423, allocations: 144.9 MB / 0.929 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003669/0.1459, allocations: 2.883 MB / 0.9318 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003397/0.1463, allocations: 23.81 kB / 0.9318 GB, free: 7.973 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005601/0.1468, allocations: 206.7 kB / 0.932 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.1479, allocations: 0.7576 MB / 0.9328 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.1485, allocations: 426.8 kB / 0.9332 GB, free: 6.59 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0008442/0.1493, allocations: 1.133 MB / 0.9343 GB, free: 5.453 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.1496, allocations: 292.7 kB / 0.9345 GB, free: 5.164 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.1507, allocations: 0.6816 MB / 0.9352 GB, free: 4.523 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.151, allocations: 319 kB / 0.9355 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 5.028e-05/0.1511, allocations: 40 kB / 0.9356 GB, free: 4.172 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.1515, allocations: 331.1 kB / 0.9359 GB, free: 3.848 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.1516, allocations: 183.4 kB / 0.936 GB, free: 3.668 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.1517, allocations: 179.5 kB / 0.9362 GB, free: 3.492 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0006227/0.1524, allocations: 0.5917 MB / 0.9368 GB, free: 2.898 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1524, allocations: 0 / 0.9368 GB, free: 2.898 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1524, allocations: 0 / 0.9368 GB, free: 2.898 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.1524, allocations: 0 / 0.9368 GB, free: 2.898 MB / 0.8855 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.0008925/0.1533, allocations: 0.8882 MB / 0.9377 GB, free: 1.969 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1533, allocations: 12.03 kB / 0.9377 GB, free: 1.957 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005262/0.1538, allocations: 180.3 kB / 0.9378 GB, free: 1.781 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.1542, allocations: 429 kB / 0.9383 GB, free: 1.34 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.1543, allocations: 32.78 kB / 0.9383 GB, free: 1.309 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.1543, allocations: 35.98 kB / 0.9383 GB, free: 1.273 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.1546, allocations: 342.1 kB / 0.9386 GB, free: 0.8945 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1546, allocations: 0 / 0.9386 GB, free: 0.8945 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.1546, allocations: 12 kB / 0.9387 GB, free: 0.8828 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.1546, allocations: 8.656 kB / 0.9387 GB, free: 0.875 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.1548, allocations: 99.11 kB / 0.9388 GB, free: 0.7773 MB / 0.8855 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.000971/0.1557, allocations: 0.9007 MB / 0.9396 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.1559, allocations: 143.2 kB / 0.9398 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.156, allocations: 51.66 kB / 0.9398 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.156, allocations: 8 kB / 0.9398 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.1561, allocations: 221.2 kB / 0.94 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.1561, allocations: 0 / 0.94 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of matching and sorting (n=29): time 0.001191/0.1573, allocations: 0.7072 MB / 0.9407 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.1574, allocations: 55.41 kB / 0.9408 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.1576, allocations: 438.4 kB / 0.9412 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.1576, allocations: 29.7 kB / 0.9412 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.1578, allocations: 299.1 kB / 0.9415 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.374e-05/0.1578, allocations: 107.1 kB / 0.9416 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.054e-05/0.1579, allocations: 87.64 kB / 0.9417 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1581, allocations: 0.539 MB / 0.9422 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.855e-05/0.1581, allocations: 40.72 kB / 0.9423 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.297e-05/0.1582, allocations: 123.6 kB / 0.9424 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.1584, allocations: 176.8 kB / 0.9426 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1584, allocations: 4 kB / 0.9426 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003822/0.1587, allocations: 325.2 kB / 0.9429 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1588, allocations: 8 kB / 0.9429 GB, free: 12.31 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1588, allocations: 0 / 0.9429 GB, free: 12.31 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002088/0.159, allocations: 91.7 kB / 0.943 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1591, allocations: 59.92 kB / 0.943 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.1601, allocations: 2.107 MB / 0.9451 GB, free: 9.945 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.1603, allocations: 8 kB / 0.9451 GB, free: 9.938 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.1603, allocations: 8 kB / 0.9451 GB, free: 9.93 MB / 0.9011 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.0001109/0.1604, allocations: 176.6 kB / 0.9453 GB, free: 9.746 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.1604, allocations: 63.7 kB / 0.9453 GB, free: 9.684 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.1608, allocations: 286.9 kB / 0.9456 GB, free: 9.395 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1608, allocations: 4 kB / 0.9456 GB, free: 9.391 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.1608, allocations: 0 / 0.9456 GB, free: 9.391 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1608, allocations: 4.031 kB / 0.9456 GB, free: 9.387 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006842/0.1615, allocations: 0.6781 MB / 0.9463 GB, free: 8.672 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1615, allocations: 0 / 0.9463 GB, free: 8.672 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.1617, allocations: 63.91 kB / 0.9463 GB, free: 8.609 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001747/0.1618, allocations: 75.61 kB / 0.9464 GB, free: 8.531 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.1619, allocations: 11.98 kB / 0.9464 GB, free: 8.52 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007431/0.1626, allocations: 1.792 MB / 0.9482 GB, free: 6.605 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1626, allocations: 0 / 0.9482 GB, free: 6.605 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/0.163, allocations: 469.2 kB / 0.9486 GB, free: 6.121 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.09e-05/0.1631, allocations: 67.67 kB / 0.9487 GB, free: 6.055 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.1631, allocations: 12 kB / 0.9487 GB, free: 6.043 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.1633, allocations: 11.98 kB / 0.9487 GB, free: 6.031 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.1633, allocations: 24.19 kB / 0.9487 GB, free: 6.008 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.1633, allocations: 11.98 kB / 0.9487 GB, free: 5.996 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001413/0.1635, allocations: 275 kB / 0.949 GB, free: 5.73 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4e-08/0.1635, allocations: 0 / 0.949 GB, free: 5.73 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003025/0.1638, allocations: 124 kB / 0.9491 GB, free: 5.609 MB / 0.9011 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.0007472/0.1645, allocations: 411 kB / 0.9495 GB, free: 5.344 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003335/0.1649, allocations: 356.6 kB / 0.9498 GB, free: 4.977 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.1649, allocations: 320 / 0.9498 GB, free: 4.977 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.165, allocations: 265.8 kB / 0.9501 GB, free: 4.695 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005707/0.1656, allocations: 246 kB / 0.9503 GB, free: 4.465 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.1667, allocations: 0.8575 MB / 0.9512 GB, free: 3.57 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.023e-05/0.1668, allocations: 133.2 kB / 0.9513 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001712/0.167, allocations: 68.33 kB / 0.9514 GB, free: 3.352 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.1673, allocations: 234 kB / 0.9516 GB, free: 3.121 MB / 0.9011 GB Notification: Performance of SimCode: time 5.41e-07/0.1673, allocations: 4 kB / 0.9516 GB, free: 3.117 MB / 0.9011 GB Notification: Performance of Templates: time 0.01149/0.1788, allocations: 10.37 MB / 0.9617 GB, free: 8.988 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_11_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.29106503399089]