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.0009813/0.0009813, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.0009112/0.0009112, allocations: 165 kB / 23.27 MB, free: 1.219 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.9897/0.9897, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.376/2.376, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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.512e-06/1.512e-06, allocations: 0 / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.549e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1357/0.1358, allocations: 144.9 MB / 1.031 GB, free: 8.324 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004903/0.1407, allocations: 2.905 MB / 1.034 GB, free: 5.414 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009859/0.1417, allocations: 23.81 kB / 1.034 GB, free: 5.391 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009384/0.1426, allocations: 206.7 kB / 1.034 GB, free: 5.188 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.1443, allocations: 0.7615 MB / 1.035 GB, free: 4.422 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.1453, allocations: 422.8 kB / 1.035 GB, free: 4.008 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001311/0.1467, allocations: 1.148 MB / 1.037 GB, free: 2.855 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004659/0.1471, allocations: 292.7 kB / 1.037 GB, free: 2.566 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.1486, allocations: 0.6955 MB / 1.037 GB, free: 1.906 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004742/0.1491, allocations: 311 kB / 1.038 GB, free: 1.602 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.1491, allocations: 40 kB / 1.038 GB, free: 1.562 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006218/0.1497, allocations: 343 kB / 1.038 GB, free: 1.227 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.1499, allocations: 187.4 kB / 1.038 GB, free: 1.043 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.15, allocations: 179.5 kB / 1.038 GB, free: 0.8672 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008187/0.1509, allocations: 0.584 MB / 1.039 GB, free: 288 kB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1509, allocations: 3.984 kB / 1.039 GB, free: 284 kB / 0.9948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1509, allocations: 0 / 1.039 GB, free: 284 kB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.1509, allocations: 4 kB / 1.039 GB, free: 280 kB / 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.001024/0.1519, allocations: 0.8917 MB / 1.04 GB, free: 15.34 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1519, allocations: 8.625 kB / 1.04 GB, free: 15.34 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005529/0.1525, allocations: 184.3 kB / 1.04 GB, free: 15.16 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.1529, allocations: 429 kB / 1.041 GB, free: 14.71 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.153, allocations: 24.78 kB / 1.041 GB, free: 14.68 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.153, allocations: 32 kB / 1.041 GB, free: 14.65 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.1533, allocations: 342.2 kB / 1.041 GB, free: 14.28 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1533, allocations: 0 / 1.041 GB, free: 14.28 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.1534, allocations: 23.97 kB / 1.041 GB, free: 14.25 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.1534, allocations: 8.656 kB / 1.041 GB, free: 14.25 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.1535, allocations: 95.06 kB / 1.041 GB, free: 14.15 MB / 1.01 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.0009928/0.1545, allocations: 0.9045 MB / 1.042 GB, free: 13.21 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.1547, allocations: 139.2 kB / 1.042 GB, free: 13.07 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.1547, allocations: 55.59 kB / 1.042 GB, free: 13.01 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1548, allocations: 4 kB / 1.042 GB, free: 13 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.1549, allocations: 215.8 kB / 1.042 GB, free: 12.75 MB / 1.01 GB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.1549, allocations: 0 / 1.042 GB, free: 12.75 MB / 1.01 GB Notification: Performance of matching and sorting (n=29): time 0.00126/0.1562, allocations: 0.7176 MB / 1.043 GB, free: 12 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.1562, allocations: 55.41 kB / 1.043 GB, free: 11.93 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.1565, allocations: 442.4 kB / 1.043 GB, free: 11.48 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.1565, allocations: 29.7 kB / 1.044 GB, free: 11.45 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.1567, allocations: 295.2 kB / 1.044 GB, free: 11.15 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.374e-05/0.1567, allocations: 111.1 kB / 1.044 GB, free: 11.04 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.508e-05/0.1568, allocations: 87.64 kB / 1.044 GB, free: 10.95 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1569, allocations: 0.5351 MB / 1.045 GB, free: 10.4 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.796e-05/0.157, allocations: 40.72 kB / 1.045 GB, free: 10.36 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.835e-05/0.1571, allocations: 127.5 kB / 1.045 GB, free: 10.21 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.1573, allocations: 180.8 kB / 1.045 GB, free: 10.02 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1573, allocations: 0 / 1.045 GB, free: 10.02 MB / 1.01 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003911/0.1577, allocations: 317.4 kB / 1.045 GB, free: 9.695 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1577, allocations: 10.03 kB / 1.045 GB, free: 9.688 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1577, allocations: 3.984 kB / 1.045 GB, free: 9.684 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002297/0.1579, allocations: 87.62 kB / 1.045 GB, free: 9.594 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.158, allocations: 63.91 kB / 1.045 GB, free: 9.531 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.1592, allocations: 2.099 MB / 1.047 GB, free: 7.324 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.1594, allocations: 15.98 kB / 1.047 GB, free: 7.309 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.1594, allocations: 8 kB / 1.047 GB, free: 7.301 MB / 1.01 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.0001422/0.1596, allocations: 180.4 kB / 1.048 GB, free: 7.113 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/0.1596, allocations: 55.72 kB / 1.048 GB, free: 7.059 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.16, allocations: 286.5 kB / 1.048 GB, free: 6.762 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.16, allocations: 4 kB / 1.048 GB, free: 6.758 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.16, allocations: 0 / 1.048 GB, free: 6.758 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.16, allocations: 0 / 1.048 GB, free: 6.758 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008173/0.1609, allocations: 0.6818 MB / 1.049 GB, free: 6.039 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1609, allocations: 4 kB / 1.049 GB, free: 6.035 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.1611, allocations: 63.97 kB / 1.049 GB, free: 5.973 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002031/0.1613, allocations: 75.55 kB / 1.049 GB, free: 5.895 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.1613, allocations: 15.98 kB / 1.049 GB, free: 5.879 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009605/0.1622, allocations: 1.789 MB / 1.05 GB, free: 3.98 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1622, allocations: 3.938 kB / 1.05 GB, free: 3.977 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004986/0.1627, allocations: 465.2 kB / 1.051 GB, free: 3.496 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.1628, allocations: 75.67 kB / 1.051 GB, free: 3.422 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.1629, allocations: 12 kB / 1.051 GB, free: 3.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.163, allocations: 11.98 kB / 1.051 GB, free: 3.398 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.1631, allocations: 19.91 kB / 1.051 GB, free: 3.379 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.1631, allocations: 11.98 kB / 1.051 GB, free: 3.367 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001796/0.1633, allocations: 279 kB / 1.051 GB, free: 3.094 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1633, allocations: 0 / 1.051 GB, free: 3.094 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003776/0.1637, allocations: 124 kB / 1.051 GB, free: 2.973 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.001057/0.1647, allocations: 410.7 kB / 1.052 GB, free: 2.703 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004466/0.1652, allocations: 348.7 kB / 1.052 GB, free: 2.344 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1652, allocations: 0 / 1.052 GB, free: 2.344 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.1653, allocations: 269.8 kB / 1.052 GB, free: 2.059 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006625/0.166, allocations: 249.3 kB / 1.053 GB, free: 1.824 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.1675, allocations: 0.8502 MB / 1.053 GB, free: 0.9414 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.968e-05/0.1676, allocations: 141 kB / 1.054 GB, free: 0.7852 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002046/0.1678, allocations: 72.28 kB / 1.054 GB, free: 0.7148 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.1681, allocations: 238 kB / 1.054 GB, free: 492 kB / 1.01 GB Notification: Performance of SimCode: time 9.32e-07/0.1681, allocations: 0 / 1.054 GB, free: 492 kB / 1.01 GB Notification: Performance of Templates: time 0.4126/0.5807, allocations: 10.39 MB / 1.064 GB, free: 67.82 MB / 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.42062570201233]