Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.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.001472/0.001472, allocations: 92.2 kB / 20.19 MB, free: 4.367 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.001775/0.001775, allocations: 173 kB / 23.49 MB, free: 1.062 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.002/1.002, allocations: 177.1 MB / 203.8 MB, free: 5.625 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 1.939/1.939, allocations: 429.5 MB / 0.6736 GB, free: 4.059 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.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bui.Q_flow|bui.vol.m_flow|bui.vol.port_a.h_outflow|bui.vol.port_b.h_outflow|bui.sta_a.p|bui.vol.sta_a.p|bui.vol.sta_b.p",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") translateModel(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bui.Q_flow|bui.vol.m_flow|bui.vol.port_a.h_outflow|bui.vol.port_b.h_outflow|bui.sta_a.p|bui.vol.sta_a.p|bui.vol.sta_b.p",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8782 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/2.997e-05, allocations: 5.406 kB / 0.8782 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.6986/0.6986, allocations: 187.5 MB / 1.061 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02554/0.7241, allocations: 26.48 MB / 1.087 GB, free: 47.35 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003136/0.7273, allocations: 78.19 kB / 1.087 GB, free: 47.35 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.005833/0.7331, allocations: 2.021 MB / 1.089 GB, free: 47.29 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.01144/0.7446, allocations: 4.648 MB / 1.094 GB, free: 47.05 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.006092/0.7506, allocations: 2.613 MB / 1.096 GB, free: 46.97 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.01185/0.7625, allocations: 8.531 MB / 1.105 GB, free: 46.07 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002725/0.7652, allocations: 1.278 MB / 1.106 GB, free: 45.93 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01506/0.7803, allocations: 3.667 MB / 1.109 GB, free: 45.56 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008652/0.7889, allocations: 1.264 MB / 1.111 GB, free: 45.41 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0005275/0.7895, allocations: 190.6 kB / 1.111 GB, free: 45.41 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01996/0.8094, allocations: 3.952 MB / 1.115 GB, free: 45.28 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001184/0.8106, allocations: 0.687 MB / 1.115 GB, free: 45.17 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.003245/0.8138, allocations: 0.7717 MB / 1.116 GB, free: 45.07 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.01353/0.8274, allocations: 4.397 MB / 1.12 GB, free: 44.7 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.8274, allocations: 2.25 kB / 1.12 GB, free: 44.7 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8274, allocations: 0 / 1.12 GB, free: 44.7 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.292e-05/0.8275, allocations: 0 / 1.12 GB, free: 44.7 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.007022/0.8345, allocations: 2.898 MB / 1.123 GB, free: 43.2 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.8345, allocations: 13.84 kB / 1.123 GB, free: 43.2 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003518/0.8381, allocations: 0.7383 MB / 1.124 GB, free: 43.01 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004142/0.8422, allocations: 2.555 MB / 1.126 GB, free: 42.48 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.089e-05/0.8423, allocations: 83.09 kB / 1.127 GB, free: 42.48 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.8425, allocations: 118.1 kB / 1.127 GB, free: 42.48 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.8443, allocations: 1.238 MB / 1.128 GB, free: 41.9 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/0.8444, allocations: 6.047 kB / 1.128 GB, free: 41.9 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-05/0.8445, allocations: 44.56 kB / 1.128 GB, free: 41.89 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.8445, allocations: 28.09 kB / 1.128 GB, free: 41.89 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.8456, allocations: 0.5113 MB / 1.128 GB, free: 41.81 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.006714/0.8523, allocations: 5.837 MB / 1.134 GB, free: 37.66 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008982/0.8532, allocations: 0.523 MB / 1.135 GB, free: 37.45 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.8535, allocations: 195.2 kB / 1.135 GB, free: 37.39 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004279/0.8578, allocations: 1.876 MB / 1.137 GB, free: 37.19 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006491/0.8585, allocations: 0.527 MB / 1.137 GB, free: 36.79 MB / 1.01 GB Notification: Performance of pre-optimization done (n=67): time 2.986e-06/0.8585, allocations: 0 / 1.137 GB, free: 36.79 MB / 1.01 GB Notification: Performance of matching and sorting (n=81): time 0.02521/0.8837, allocations: 10.87 MB / 1.148 GB, free: 33.74 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.8837, allocations: 163.9 kB / 1.148 GB, free: 33.55 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.8857, allocations: 1.604 MB / 1.15 GB, free: 32.86 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.562e-05/0.8858, allocations: 42.92 kB / 1.15 GB, free: 32.82 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005944/0.8864, allocations: 1.028 MB / 1.151 GB, free: 32.01 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.8865, allocations: 300.3 kB / 1.151 GB, free: 31.78 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.8868, allocations: 227.1 kB / 1.151 GB, free: 31.66 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.414e-05/0.8869, allocations: 0.5196 MB / 1.152 GB, free: 31.16 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.8872, allocations: 192.2 kB / 1.152 GB, free: 31.13 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/0.8877, allocations: 0.863 MB / 1.153 GB, free: 30.27 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009039/0.8886, allocations: 0.908 MB / 1.153 GB, free: 29.54 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.8887, allocations: 3.125 kB / 1.153 GB, free: 29.54 MB / 1.01 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001986/0.8906, allocations: 1.16 MB / 1.155 GB, free: 29.17 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.8907, allocations: 8.969 kB / 1.155 GB, free: 29.17 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.8907, allocations: 9.031 kB / 1.155 GB, free: 29.17 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005138/0.8912, allocations: 198.9 kB / 1.155 GB, free: 29.11 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/0.8917, allocations: 236.4 kB / 1.155 GB, free: 29.11 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/0.8942, allocations: 4.479 MB / 1.159 GB, free: 24.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.8955, allocations: 93.81 kB / 1.16 GB, free: 24.86 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.981e-05/0.8956, allocations: 54.06 kB / 1.16 GB, free: 24.85 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.bui.QHea.nextTimeEvent,$whenCondition1,bui.QHea.nextTimeEventScaled,$PRE.bui.QHea.nextTimeEventScaled,bui.QHea.nextTimeEvent,bui.IntEHea.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 122 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000694/0.8963, allocations: 230.3 kB / 1.16 GB, free: 24.65 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00056/0.8968, allocations: 257.1 kB / 1.16 GB, free: 24.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.8985, allocations: 1.073 MB / 1.161 GB, free: 24.1 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.8985, allocations: 12.44 kB / 1.161 GB, free: 24.09 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8985, allocations: 0 / 1.161 GB, free: 24.09 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009845/0.8995, allocations: 0.8512 MB / 1.162 GB, free: 23.6 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/0.9141, allocations: 7.75 MB / 1.169 GB, free: 21.47 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.9141, allocations: 5.188 kB / 1.169 GB, free: 21.47 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.9145, allocations: 166.5 kB / 1.17 GB, free: 21.46 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003616/0.9148, allocations: 138.7 kB / 1.17 GB, free: 21.42 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/0.9149, allocations: 32.44 kB / 1.17 GB, free: 21.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/0.9163, allocations: 2.354 MB / 1.172 GB, free: 19.24 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.9163, allocations: 9 kB / 1.172 GB, free: 19.24 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.9184, allocations: 1.362 MB / 1.173 GB, free: 18.45 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005459/0.9189, allocations: 312.5 kB / 1.174 GB, free: 18.26 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.9191, allocations: 22.47 kB / 1.174 GB, free: 18.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/0.9197, allocations: 56.02 kB / 1.174 GB, free: 18.23 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.9198, allocations: 79.47 kB / 1.174 GB, free: 18.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/0.9198, allocations: 39.25 kB / 1.174 GB, free: 18.21 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001163/0.921, allocations: 0.9247 MB / 1.175 GB, free: 17.85 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.6e-07/0.921, allocations: 2.969 kB / 1.175 GB, free: 17.85 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005081/0.9261, allocations: 1.29 MB / 1.176 GB, free: 17.72 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (bui.port_b.h_outflow,bui.IntEHea.y,bui.pumCNR.motSpe.y,bui.vol.VWat,bui.hIn.h_out,bui.hOut.h_out) * Number of discrete variables: 3 ($whenCondition1,bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of discrete states: 2 (bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006827/0.9329, allocations: 1.18 MB / 1.177 GB, free: 17.39 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001945/0.9348, allocations: 1.057 MB / 1.178 GB, free: 16.89 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.9348, allocations: 0 / 1.178 GB, free: 16.89 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.9355, allocations: 0.5003 MB / 1.179 GB, free: 16.65 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/0.9384, allocations: 1.033 MB / 1.18 GB, free: 16.33 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004763/0.9432, allocations: 3.214 MB / 1.183 GB, free: 14.39 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.9435, allocations: 405.8 kB / 1.183 GB, free: 14.24 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001408/0.9449, allocations: 381.2 kB / 1.184 GB, free: 14.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/0.9453, allocations: 169.6 kB / 1.184 GB, free: 14.07 MB / 1.01 GB Notification: Performance of SimCode: time 2.294e-06/0.9453, allocations: 3.5 kB / 1.184 GB, free: 14.07 MB / 1.01 GB Notification: Performance of Templates: time 0.08331/1.029, allocations: 73.42 MB / 1.256 GB, free: 8.855 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.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: 9.054259362164885]