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.0009286/0.0009286, allocations: 80.94 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.0009151/0.0009151, allocations: 173.4 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 0.9079/0.9079, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.254/2.254, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 178] 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.352e-06/1.352e-06, allocations: 3.938 kB / 0.8385 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.456e-05, allocations: 4.703 kB / 0.8385 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1308/0.1308, allocations: 147 MB / 0.9821 GB, free: 10.71 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003822/0.1346, allocations: 2.96 MB / 0.985 GB, free: 7.738 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004167/0.135, allocations: 27.75 kB / 0.985 GB, free: 7.711 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006029/0.1356, allocations: 202.7 kB / 0.9852 GB, free: 7.512 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.1369, allocations: 0.7576 MB / 0.9859 GB, free: 6.75 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009723/0.1379, allocations: 426.8 kB / 0.9863 GB, free: 6.332 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.1389, allocations: 1.129 MB / 0.9874 GB, free: 5.199 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.1392, allocations: 297.3 kB / 0.9877 GB, free: 4.906 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.1404, allocations: 0.7106 MB / 0.9884 GB, free: 4.23 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003454/0.1408, allocations: 303.1 kB / 0.9887 GB, free: 3.934 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.1408, allocations: 36 kB / 0.9887 GB, free: 3.898 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004665/0.1413, allocations: 335.1 kB / 0.9891 GB, free: 3.57 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.1414, allocations: 179.4 kB / 0.9892 GB, free: 3.395 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.1416, allocations: 187.5 kB / 0.9894 GB, free: 3.211 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000673/0.1422, allocations: 0.5878 MB / 0.99 GB, free: 2.621 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1422, allocations: 3.984 kB / 0.99 GB, free: 2.617 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1422, allocations: 4 kB / 0.99 GB, free: 2.613 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1422, allocations: 0 / 0.99 GB, free: 2.613 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.0008166/0.1431, allocations: 0.7475 MB / 0.9907 GB, free: 1.836 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.1431, allocations: 8.625 kB / 0.9907 GB, free: 1.828 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005279/0.1436, allocations: 172.6 kB / 0.9909 GB, free: 1.66 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.1441, allocations: 386.4 kB / 0.9913 GB, free: 1.254 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.1441, allocations: 24.78 kB / 0.9913 GB, free: 1.23 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.1441, allocations: 32 kB / 0.9913 GB, free: 1.199 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.1444, allocations: 347.3 kB / 0.9916 GB, free: 0.8203 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1444, allocations: 0 / 0.9916 GB, free: 0.8203 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.1445, allocations: 8 kB / 0.9917 GB, free: 0.8125 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.1445, allocations: 16.64 kB / 0.9917 GB, free: 0.7969 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.1446, allocations: 89.98 kB / 0.9918 GB, free: 0.707 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.0008574/0.1455, allocations: 0.6709 MB / 0.9924 GB, free: 12 kB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.1456, allocations: 171.1 kB / 0.9926 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.1457, allocations: 44.84 kB / 0.9926 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1457, allocations: 8 kB / 0.9926 GB, free: 15.78 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.1459, allocations: 216.9 kB / 0.9928 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.1459, allocations: 0 / 0.9928 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29): time 0.001326/0.1472, allocations: 0.6892 MB / 0.9935 GB, free: 14.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.1472, allocations: 55.41 kB / 0.9936 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.1475, allocations: 370.1 kB / 0.9939 GB, free: 14.36 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.1475, allocations: 33.7 kB / 0.9939 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.1476, allocations: 197.4 kB / 0.9941 GB, free: 14.13 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.111e-05/0.1477, allocations: 103.1 kB / 0.9942 GB, free: 14.03 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-05/0.1478, allocations: 77.98 kB / 0.9943 GB, free: 13.95 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1479, allocations: 358.7 kB / 0.9946 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.838e-05/0.148, allocations: 43.55 kB / 0.9947 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.141e-05/0.148, allocations: 98.61 kB / 0.9948 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.1482, allocations: 173.5 kB / 0.9949 GB, free: 13.24 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1482, allocations: 0 / 0.9949 GB, free: 13.24 MB / 0.9636 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003325/0.1485, allocations: 252.4 kB / 0.9952 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1486, allocations: 7.984 kB / 0.9952 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1486, allocations: 4 kB / 0.9952 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002218/0.1488, allocations: 79.78 kB / 0.9953 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.1489, allocations: 67.91 kB / 0.9953 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.1499, allocations: 1.546 MB / 0.9968 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.1501, allocations: 15.94 kB / 0.9969 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.1501, allocations: 16.11 kB / 0.9969 GB, free: 11.15 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.0001117/0.1502, allocations: 132.5 kB / 0.997 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.1503, allocations: 47.89 kB / 0.9971 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.1506, allocations: 231.4 kB / 0.9973 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1506, allocations: 11.92 kB / 0.9973 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1506, allocations: 0 / 0.9973 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1506, allocations: 0 / 0.9973 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006246/0.1512, allocations: 0.5734 MB / 0.9978 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1512, allocations: 0 / 0.9978 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.1514, allocations: 63.97 kB / 0.9979 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001935/0.1516, allocations: 82.44 kB / 0.998 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.1516, allocations: 11.94 kB / 0.998 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006208/0.1522, allocations: 1.247 MB / 0.9992 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1522, allocations: 7.969 kB / 0.9992 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.1526, allocations: 402.6 kB / 0.9996 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-05/0.1527, allocations: 55.64 kB / 0.9997 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.1527, allocations: 8.188 kB / 0.9997 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.1529, allocations: 11.98 kB / 0.9997 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.1529, allocations: 31.88 kB / 0.9997 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.1529, allocations: 4 kB / 0.9997 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003718/0.1533, allocations: 156.7 kB / 0.9999 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.1533, allocations: 0 / 0.9999 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003108/0.1536, allocations: 124 kB / 1 GB, free: 7.797 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.001124/0.1547, allocations: 0.5141 MB / 1 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003612/0.1551, allocations: 282.6 kB / 1.001 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.1551, allocations: 4 kB / 1.001 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.1552, allocations: 207.7 kB / 1.001 GB, free: 7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005719/0.1558, allocations: 254.8 kB / 1.001 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.157, allocations: 0.8184 MB / 1.002 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.1571, allocations: 133.2 kB / 1.002 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002535/0.1574, allocations: 68.34 kB / 1.002 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/0.1577, allocations: 205.1 kB / 1.002 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of SimCode: time 9.52e-07/0.1577, allocations: 4 kB / 1.002 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of Templates: time 0.01245/0.1702, allocations: 10.4 MB / 1.013 GB, free: 11.3 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 -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.490700282156467]