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.001333/0.001333, allocations: 83.59 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.0009765/0.0009765, 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.8886/0.8886, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.879/1.879, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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.232e-06/1.232e-06, allocations: 0 / 0.8115 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.578e-05, allocations: 5.406 kB / 0.8115 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1613/0.1613, allocations: 147.6 MB / 0.9557 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004895/0.1662, allocations: 2.926 MB / 0.9585 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003731/0.1666, allocations: 23.81 kB / 0.9585 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008014/0.1674, allocations: 206.7 kB / 0.9587 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.169, allocations: 0.7615 MB / 0.9595 GB, free: 9.621 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008332/0.1699, allocations: 434.7 kB / 0.9599 GB, free: 9.195 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001007/0.1709, allocations: 1.133 MB / 0.961 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000292/0.1712, allocations: 292.7 kB / 0.9613 GB, free: 7.77 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.1723, allocations: 0.7189 MB / 0.962 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.1726, allocations: 311 kB / 0.9623 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.751e-05/0.1727, allocations: 44 kB / 0.9623 GB, free: 6.738 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.173, allocations: 327.1 kB / 0.9626 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1732, allocations: 183.4 kB / 0.9628 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.1733, allocations: 183.5 kB / 0.963 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006413/0.174, allocations: 0.5878 MB / 0.9636 GB, free: 5.469 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.174, allocations: 4 kB / 0.9636 GB, free: 5.465 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.512e-06/0.174, allocations: 0 / 0.9636 GB, free: 5.465 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.174, allocations: 0 / 0.9636 GB, free: 5.465 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.0009797/0.175, allocations: 0.8844 MB / 0.9644 GB, free: 4.543 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.175, allocations: 8.031 kB / 0.9644 GB, free: 4.535 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005711/0.1756, allocations: 184.3 kB / 0.9646 GB, free: 4.355 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.176, allocations: 445 kB / 0.965 GB, free: 3.898 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.176, allocations: 24.78 kB / 0.9651 GB, free: 3.871 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.1761, allocations: 28 kB / 0.9651 GB, free: 3.844 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.1765, allocations: 366.2 kB / 0.9654 GB, free: 3.441 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1765, allocations: 0 / 0.9654 GB, free: 3.441 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.1765, allocations: 19.92 kB / 0.9654 GB, free: 3.422 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.1766, allocations: 12.66 kB / 0.9655 GB, free: 3.41 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.1767, allocations: 115.8 kB / 0.9656 GB, free: 3.297 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.001076/0.1778, allocations: 0.9743 MB / 0.9665 GB, free: 2.281 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.178, allocations: 139.3 kB / 0.9667 GB, free: 2.133 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.476e-05/0.1781, allocations: 68.08 kB / 0.9667 GB, free: 2.062 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.1781, allocations: 11.94 kB / 0.9667 GB, free: 2.051 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.1783, allocations: 226 kB / 0.9669 GB, free: 1.793 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.1783, allocations: 4 kB / 0.967 GB, free: 1.789 MB / 0.9167 GB Notification: Performance of matching and sorting (n=29): time 0.001548/0.1799, allocations: 0.8151 MB / 0.9677 GB, free: 0.9297 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.1799, allocations: 59.34 kB / 0.9678 GB, free: 0.8594 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.1802, allocations: 446.7 kB / 0.9682 GB, free: 420 kB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.1802, allocations: 33.7 kB / 0.9683 GB, free: 380 kB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.1804, allocations: 299.2 kB / 0.9685 GB, free: 72 kB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.528e-05/0.1804, allocations: 107.1 kB / 0.9686 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-05/0.1805, allocations: 83.67 kB / 0.9687 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1807, allocations: 0.5235 MB / 0.9692 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.474e-05/0.1807, allocations: 64.7 kB / 0.9693 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.1809, allocations: 135.6 kB / 0.9694 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.1811, allocations: 196.9 kB / 0.9696 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1811, allocations: 3.938 kB / 0.9696 GB, free: 14.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004603/0.1815, allocations: 349.3 kB / 0.97 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1816, allocations: 8 kB / 0.97 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1816, allocations: 0 / 0.97 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002664/0.1818, allocations: 95.67 kB / 0.9701 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.182, allocations: 63.91 kB / 0.9701 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.1832, allocations: 2.133 MB / 0.9722 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.1834, allocations: 11.94 kB / 0.9722 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.1834, allocations: 12 kB / 0.9722 GB, free: 12.11 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.0001192/0.1835, allocations: 178.5 kB / 0.9724 GB, free: 11.92 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.1836, allocations: 59.66 kB / 0.9724 GB, free: 11.86 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004323/0.184, allocations: 303 kB / 0.9727 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.184, allocations: 0 / 0.9727 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.184, allocations: 4 kB / 0.9727 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.184, allocations: 0 / 0.9727 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007974/0.1848, allocations: 0.7672 MB / 0.9735 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1848, allocations: 0 / 0.9735 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.185, allocations: 63.91 kB / 0.9736 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/0.1852, allocations: 79.61 kB / 0.9736 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.1852, allocations: 12.03 kB / 0.9736 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007839/0.186, allocations: 1.81 MB / 0.9754 GB, free: 8.652 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.186, allocations: 4 kB / 0.9754 GB, free: 8.648 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/0.1865, allocations: 0.4894 MB / 0.9759 GB, free: 8.133 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.1866, allocations: 75.67 kB / 0.976 GB, free: 8.059 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.1866, allocations: 12 kB / 0.976 GB, free: 8.047 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.1868, allocations: 11.98 kB / 0.976 GB, free: 8.035 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.1869, allocations: 19.95 kB / 0.976 GB, free: 8.016 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1869, allocations: 12 kB / 0.976 GB, free: 8.004 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002028/0.1871, allocations: 295 kB / 0.9763 GB, free: 7.715 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.1871, allocations: 0 / 0.9763 GB, free: 7.715 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003319/0.1874, allocations: 131.9 kB / 0.9764 GB, free: 7.586 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.0009171/0.1883, allocations: 413.8 kB / 0.9768 GB, free: 7.316 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004393/0.1888, allocations: 368.7 kB / 0.9772 GB, free: 6.938 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1888, allocations: 0 / 0.9772 GB, free: 6.938 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.189, allocations: 281.8 kB / 0.9774 GB, free: 6.641 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.1896, allocations: 242.2 kB / 0.9777 GB, free: 6.414 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.191, allocations: 0.8614 MB / 0.9785 GB, free: 5.516 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.788e-05/0.1911, allocations: 137 kB / 0.9786 GB, free: 5.359 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00016/0.1913, allocations: 80.31 kB / 0.9787 GB, free: 5.281 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.1913, allocations: 40.5 kB / 0.9788 GB, free: 5.242 MB / 0.9323 GB Notification: Performance of SimCode: time 6.61e-07/0.1913, allocations: 0 / 0.9788 GB, free: 5.242 MB / 0.9323 GB Notification: Performance of Templates: time 0.01155/0.2029, allocations: 10.13 MB / 0.9886 GB, free: 11.33 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.364864522125572]