Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001034/0.001034, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009685/0.0009685, allocations: 165 kB / 23.02 MB, free: 1.551 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.9553/0.9553, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.078/2.078, allocations: 429.5 MB / 0.6732 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Examples.Tutorial.Boiler.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0.875 kB / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.851e-05, allocations: 4.984 kB / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1259/0.1259, allocations: 147.6 MB / 1.022 GB, free: 2.184 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00396/0.1299, allocations: 2.932 MB / 1.025 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005061/0.1304, allocations: 23.81 kB / 1.025 GB, free: 15.22 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007008/0.1311, allocations: 206.7 kB / 1.025 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.1327, allocations: 0.7538 MB / 1.026 GB, free: 14.26 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008593/0.1335, allocations: 430.7 kB / 1.027 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001229/0.1348, allocations: 1.137 MB / 1.028 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000426/0.1352, allocations: 297.1 kB / 1.028 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008006/0.136, allocations: 0.5687 MB / 1.028 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007997/0.1368, allocations: 341.8 kB / 1.029 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.558e-05/0.1369, allocations: 40 kB / 1.029 GB, free: 11.47 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007122/0.1376, allocations: 414.8 kB / 1.029 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.1377, allocations: 183.4 kB / 1.029 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.1379, allocations: 195.5 kB / 1.03 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.139, allocations: 0.6073 MB / 1.03 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.139, allocations: 0 / 1.03 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.024e-06/0.139, allocations: 3.938 kB / 1.03 GB, free: 10.08 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.139, allocations: 0 / 1.03 GB, free: 10.08 MB / 0.9948 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.001286/0.1403, allocations: 0.9038 MB / 1.031 GB, free: 9.141 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1403, allocations: 12.03 kB / 1.031 GB, free: 9.129 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007194/0.1411, allocations: 192.2 kB / 1.031 GB, free: 8.941 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005983/0.1416, allocations: 449.9 kB / 1.032 GB, free: 8.477 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.1417, allocations: 24.59 kB / 1.032 GB, free: 8.453 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.1417, allocations: 31.98 kB / 1.032 GB, free: 8.422 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.1421, allocations: 362.2 kB / 1.032 GB, free: 8.027 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1422, allocations: 0 / 1.032 GB, free: 8.027 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.1422, allocations: 15.94 kB / 1.032 GB, free: 8.012 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.1422, allocations: 8.656 kB / 1.032 GB, free: 8.004 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.1424, allocations: 115.8 kB / 1.032 GB, free: 7.891 MB / 0.9948 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.001294/0.1437, allocations: 0.9705 MB / 1.033 GB, free: 6.879 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.1439, allocations: 157.2 kB / 1.033 GB, free: 6.715 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.216e-05/0.144, allocations: 67.66 kB / 1.033 GB, free: 6.645 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1441, allocations: 4 kB / 1.033 GB, free: 6.641 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.1443, allocations: 227.8 kB / 1.034 GB, free: 6.379 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=26): time 2.054e-06/0.1443, allocations: 0 / 1.034 GB, free: 6.379 MB / 0.9948 GB Notification: Performance of matching and sorting (n=29): time 0.00165/0.1459, allocations: 0.8185 MB / 1.034 GB, free: 5.516 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.146, allocations: 51.41 kB / 1.034 GB, free: 5.453 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.1463, allocations: 454.7 kB / 1.035 GB, free: 4.992 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.1463, allocations: 33.64 kB / 1.035 GB, free: 4.953 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.1465, allocations: 299.2 kB / 1.035 GB, free: 4.656 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/0.1466, allocations: 107.1 kB / 1.035 GB, free: 4.551 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.461e-05/0.1467, allocations: 79.73 kB / 1.035 GB, free: 4.465 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1468, allocations: 0.5274 MB / 1.036 GB, free: 3.926 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.1469, allocations: 60.66 kB / 1.036 GB, free: 3.867 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.147, allocations: 135.6 kB / 1.036 GB, free: 3.711 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.1473, allocations: 200.8 kB / 1.036 GB, free: 3.492 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1473, allocations: 4 kB / 1.036 GB, free: 3.488 MB / 0.9948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005222/0.1478, allocations: 353.2 kB / 1.037 GB, free: 3.133 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1478, allocations: 4 kB / 1.037 GB, free: 3.129 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1478, allocations: 4 kB / 1.037 GB, free: 3.125 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000294/0.1481, allocations: 91.7 kB / 1.037 GB, free: 3.031 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.1483, allocations: 59.92 kB / 1.037 GB, free: 2.973 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.1495, allocations: 2.137 MB / 1.039 GB, free: 0.7148 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.1497, allocations: 15.94 kB / 1.039 GB, free: 0.6992 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.1497, allocations: 19.92 kB / 1.039 GB, free: 0.6797 MB / 0.9948 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.0001302/0.1498, allocations: 180.5 kB / 1.039 GB, free: 0.4922 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.1499, allocations: 55.72 kB / 1.039 GB, free: 448 kB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004569/0.1503, allocations: 289.7 kB / 1.039 GB, free: 148 kB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1503, allocations: 4 kB / 1.039 GB, free: 144 kB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1503, allocations: 3.984 kB / 1.039 GB, free: 140 kB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1504, allocations: 0 / 1.039 GB, free: 140 kB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009061/0.1513, allocations: 0.7669 MB / 1.04 GB, free: 15.32 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1513, allocations: 0 / 1.04 GB, free: 15.32 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.1515, allocations: 63.89 kB / 1.04 GB, free: 15.26 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/0.1517, allocations: 83.56 kB / 1.04 GB, free: 15.18 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.1517, allocations: 12 kB / 1.04 GB, free: 15.16 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000959/0.1527, allocations: 1.818 MB / 1.042 GB, free: 13.22 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1527, allocations: 3.938 kB / 1.042 GB, free: 13.21 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005544/0.1532, allocations: 497.4 kB / 1.043 GB, free: 12.7 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.1533, allocations: 75.67 kB / 1.043 GB, free: 12.62 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.1534, allocations: 8 kB / 1.043 GB, free: 12.62 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.1535, allocations: 12.03 kB / 1.043 GB, free: 12.61 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.1536, allocations: 27.95 kB / 1.043 GB, free: 12.58 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.1536, allocations: 15.92 kB / 1.043 GB, free: 12.56 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002076/0.1538, allocations: 287.1 kB / 1.043 GB, free: 12.29 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.1e-08/0.1538, allocations: 0 / 1.043 GB, free: 12.29 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003854/0.1542, allocations: 131.9 kB / 1.043 GB, free: 12.16 MB / 1.01 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.0009414/0.1552, allocations: 416.7 kB / 1.044 GB, free: 11.89 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004864/0.1556, allocations: 372.8 kB / 1.044 GB, free: 11.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1556, allocations: 4.312 kB / 1.044 GB, free: 11.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.1558, allocations: 269.3 kB / 1.044 GB, free: 11.21 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006835/0.1565, allocations: 245.6 kB / 1.044 GB, free: 10.98 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.158, allocations: 0.8519 MB / 1.045 GB, free: 10.09 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.706e-05/0.158, allocations: 133.1 kB / 1.045 GB, free: 9.941 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002066/0.1583, allocations: 80.31 kB / 1.045 GB, free: 9.863 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.135e-05/0.1583, allocations: 44.48 kB / 1.045 GB, free: 9.82 MB / 1.01 GB Notification: Performance of SimCode: time 7.82e-07/0.1583, allocations: 4 kB / 1.045 GB, free: 9.816 MB / 1.01 GB Notification: Performance of Templates: time 0.01237/0.1707, allocations: 9.582 MB / 1.055 GB, free: 440 kB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.275182471610606]