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.001073/0.001073, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001135/0.001135, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.025/1.025, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.479/2.479, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.583e-06/1.583e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.553e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1369/0.1369, allocations: 147 MB / 0.9822 GB, free: 10.64 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003825/0.1407, allocations: 2.968 MB / 0.9851 GB, free: 7.664 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.1411, allocations: 27.75 kB / 0.9851 GB, free: 7.637 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005844/0.1416, allocations: 202.7 kB / 0.9853 GB, free: 7.438 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.1429, allocations: 0.7498 MB / 0.986 GB, free: 6.684 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006532/0.1435, allocations: 426.8 kB / 0.9864 GB, free: 6.266 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.1445, allocations: 1.129 MB / 0.9875 GB, free: 5.133 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006069/0.1451, allocations: 310.1 kB / 0.9878 GB, free: 4.836 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009/0.146, allocations: 0.6528 MB / 0.9885 GB, free: 4.199 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003638/0.1464, allocations: 299.1 kB / 0.9887 GB, free: 3.906 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.891e-05/0.1465, allocations: 40 kB / 0.9888 GB, free: 3.867 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004443/0.1469, allocations: 335.1 kB / 0.9891 GB, free: 3.539 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.147, allocations: 187.4 kB / 0.9893 GB, free: 3.355 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.1472, allocations: 179.5 kB / 0.9895 GB, free: 3.18 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006648/0.1478, allocations: 0.5878 MB / 0.99 GB, free: 2.59 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1478, allocations: 8 kB / 0.99 GB, free: 2.582 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1478, allocations: 4 kB / 0.99 GB, free: 2.578 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.1478, allocations: 0 / 0.99 GB, free: 2.578 MB / 0.948 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.000848/0.1487, allocations: 0.7475 MB / 0.9908 GB, free: 1.801 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1487, allocations: 8.625 kB / 0.9908 GB, free: 1.793 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000614/0.1493, allocations: 168.6 kB / 0.9909 GB, free: 1.629 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.1498, allocations: 386.4 kB / 0.9913 GB, free: 1.223 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.1498, allocations: 28.72 kB / 0.9913 GB, free: 1.195 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.1499, allocations: 32 kB / 0.9914 GB, free: 1.164 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.1502, allocations: 343.3 kB / 0.9917 GB, free: 0.7891 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1502, allocations: 0 / 0.9917 GB, free: 0.7891 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.1502, allocations: 15.94 kB / 0.9917 GB, free: 0.7734 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.1503, allocations: 12.66 kB / 0.9917 GB, free: 0.7617 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.1504, allocations: 89.98 kB / 0.9918 GB, free: 0.6719 MB / 0.948 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.0009349/0.1513, allocations: 0.6748 MB / 0.9925 GB, free: 15.97 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1515, allocations: 170.2 kB / 0.9926 GB, free: 15.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.682e-05/0.1516, allocations: 44.84 kB / 0.9927 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.1516, allocations: 4 kB / 0.9927 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.1518, allocations: 220.9 kB / 0.9929 GB, free: 15.49 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=26): time 1.763e-06/0.1518, allocations: 0 / 0.9929 GB, free: 15.49 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29): time 0.001408/0.1532, allocations: 0.6871 MB / 0.9936 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.1532, allocations: 55.41 kB / 0.9936 GB, free: 14.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.1535, allocations: 370.1 kB / 0.994 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.1535, allocations: 29.7 kB / 0.994 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.1536, allocations: 197.4 kB / 0.9942 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.566e-05/0.1536, allocations: 103.1 kB / 0.9943 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.382e-05/0.1537, allocations: 73.98 kB / 0.9943 GB, free: 13.91 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.1538, allocations: 366.7 kB / 0.9947 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.081e-05/0.1539, allocations: 43.56 kB / 0.9947 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.353e-05/0.154, allocations: 94.67 kB / 0.9948 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.1541, allocations: 161.4 kB / 0.995 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1541, allocations: 0 / 0.995 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003885/0.1545, allocations: 260.4 kB / 0.9952 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1545, allocations: 7.938 kB / 0.9952 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.1545, allocations: 4 kB / 0.9952 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002437/0.1548, allocations: 87.77 kB / 0.9953 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.155, allocations: 67.91 kB / 0.9954 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.156, allocations: 1.557 MB / 0.9969 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.1561, allocations: 8 kB / 0.9969 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.1562, allocations: 8 kB / 0.9969 GB, free: 11.11 MB / 0.9636 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.0001248/0.1563, allocations: 144.5 kB / 0.9971 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.1563, allocations: 39.91 kB / 0.9971 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.1567, allocations: 235.3 kB / 0.9973 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1567, allocations: 7.938 kB / 0.9973 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1567, allocations: 0 / 0.9973 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1567, allocations: 3.984 kB / 0.9973 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006711/0.1573, allocations: 0.5656 MB / 0.9979 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1573, allocations: 3.938 kB / 0.9979 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.1576, allocations: 94.75 kB / 0.998 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001997/0.1578, allocations: 75.61 kB / 0.9981 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.1578, allocations: 8 kB / 0.9981 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000681/0.1585, allocations: 1.262 MB / 0.9993 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1585, allocations: 3.938 kB / 0.9993 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.1589, allocations: 398.6 kB / 0.9997 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.748e-05/0.159, allocations: 59.64 kB / 0.9997 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.1591, allocations: 16.03 kB / 0.9997 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.1592, allocations: 11.98 kB / 0.9998 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.1592, allocations: 11.97 kB / 0.9998 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.1593, allocations: 19.98 kB / 0.9998 GB, free: 8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001232/0.1594, allocations: 148.7 kB / 0.9999 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.1594, allocations: 0 / 0.9999 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003081/0.1597, allocations: 124 kB / 1 GB, free: 7.73 MB / 0.9636 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.001233/0.1609, allocations: 0.5179 MB / 1.001 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003914/0.1613, allocations: 290.5 kB / 1.001 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.1613, allocations: 4 kB / 1.001 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.1615, allocations: 195.8 kB / 1.001 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.162, allocations: 245.7 kB / 1.001 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1632, allocations: 0.8261 MB / 1.002 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.077e-05/0.1633, allocations: 133.2 kB / 1.002 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001829/0.1635, allocations: 76.33 kB / 1.002 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.1638, allocations: 197.2 kB / 1.002 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of SimCode: time 1.553e-06/0.1638, allocations: 0 / 1.002 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of Templates: time 0.01229/0.1761, allocations: 10.45 MB / 1.013 GB, free: 11.19 MB / 0.9792 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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: 5.812114506028593]