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.001056/0.001056, allocations: 85.27 kB / 19.87 MB, free: 4.613 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.001223/0.001223, 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.9283/0.9283, allocations: 177.2 MB / 203.7 MB, free: 5.496 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.13/2.13, allocations: 438.1 MB / 0.682 GB, free: 14.13 MB / 0.6511 GB " [Timeout remaining time 178] 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.192e-06/1.192e-06, allocations: 0 / 0.8897 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.139e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1132/0.1132, allocations: 140.7 MB / 1.027 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01573/0.1289, allocations: 14.84 MB / 1.042 GB, free: 13.61 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.1307, allocations: 83.38 kB / 1.042 GB, free: 13.52 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00345/0.1342, allocations: 1.641 MB / 1.043 GB, free: 11.88 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.005219/0.1394, allocations: 2.982 MB / 1.046 GB, free: 8.879 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.1427, allocations: 2.005 MB / 1.048 GB, free: 6.871 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.3911/0.5338, allocations: 8.429 MB / 1.056 GB, free: 54.99 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.5356, allocations: 1.274 MB / 1.058 GB, free: 54.91 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004134/0.5397, allocations: 2.782 MB / 1.06 GB, free: 54.89 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.5417, allocations: 1.232 MB / 1.062 GB, free: 54.88 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003964/0.5421, allocations: 185 kB / 1.062 GB, free: 54.88 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002845/0.5449, allocations: 1.774 MB / 1.063 GB, free: 54.88 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005059/0.5454, allocations: 0.6843 MB / 1.064 GB, free: 54.88 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.5464, allocations: 0.7604 MB / 1.065 GB, free: 54.88 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003759/0.5502, allocations: 2.842 MB / 1.068 GB, free: 54.76 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5502, allocations: 0.5 kB / 1.068 GB, free: 54.76 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5502, allocations: 2.5 kB / 1.068 GB, free: 54.76 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.751e-05/0.5503, allocations: 0 / 1.068 GB, free: 54.76 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.003292/0.5536, allocations: 2.747 MB / 1.07 GB, free: 53.36 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.5536, allocations: 10.16 kB / 1.07 GB, free: 53.36 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001993/0.5556, allocations: 0.7153 MB / 1.071 GB, free: 53.17 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002508/0.5581, allocations: 2.471 MB / 1.073 GB, free: 52.65 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.851e-05/0.5582, allocations: 83.03 kB / 1.074 GB, free: 52.64 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.5583, allocations: 114.6 kB / 1.074 GB, free: 52.64 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.5594, allocations: 1.171 MB / 1.075 GB, free: 52.07 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.5594, allocations: 7.047 kB / 1.075 GB, free: 52.06 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.892e-05/0.5595, allocations: 47.62 kB / 1.075 GB, free: 52.06 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.5595, allocations: 29.31 kB / 1.075 GB, free: 52.06 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005708/0.5601, allocations: 420.3 kB / 1.075 GB, free: 52.04 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.004756/0.5648, allocations: 5.832 MB / 1.081 GB, free: 49.11 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006072/0.5654, allocations: 486.4 kB / 1.081 GB, free: 49 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.5656, allocations: 171.7 kB / 1.082 GB, free: 48.96 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002875/0.5685, allocations: 1.488 MB / 1.083 GB, free: 48.95 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004097/0.5689, allocations: 0.4961 MB / 1.084 GB, free: 48.6 MB / 1.01 GB Notification: Performance of pre-optimization done (n=67): time 2.475e-06/0.5689, allocations: 0 / 1.084 GB, free: 48.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=81): time 0.02026/0.5892, allocations: 8.092 MB / 1.091 GB, free: 47.11 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.5892, allocations: 170.5 kB / 1.092 GB, free: 46.93 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.5909, allocations: 1.568 MB / 1.093 GB, free: 46.6 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.805e-05/0.591, allocations: 45.08 kB / 1.093 GB, free: 46.57 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005874/0.5915, allocations: 1.036 MB / 1.094 GB, free: 46.21 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.5917, allocations: 309.4 kB / 1.095 GB, free: 46.02 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.592, allocations: 231.7 kB / 1.095 GB, free: 45.98 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.592, allocations: 0.5178 MB / 1.095 GB, free: 45.5 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.5923, allocations: 147.5 kB / 1.095 GB, free: 45.5 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.5927, allocations: 0.7892 MB / 1.096 GB, free: 44.72 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007073/0.5934, allocations: 0.8399 MB / 1.097 GB, free: 44.14 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.5934, allocations: 3.281 kB / 1.097 GB, free: 44.14 MB / 1.01 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001775/0.5952, allocations: 1.075 MB / 1.098 GB, free: 43.91 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.5952, allocations: 8.625 kB / 1.098 GB, free: 43.91 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.5952, allocations: 10.94 kB / 1.098 GB, free: 43.91 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004474/0.5957, allocations: 189.6 kB / 1.098 GB, free: 43.88 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.5962, allocations: 237.4 kB / 1.098 GB, free: 43.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.5984, allocations: 4.408 MB / 1.103 GB, free: 40.01 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.5996, allocations: 92.11 kB / 1.103 GB, free: 40 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.626e-05/0.5997, allocations: 46.09 kB / 1.103 GB, free: 40 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.0004919/0.6002, allocations: 231 kB / 1.103 GB, free: 39.83 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000443/0.6006, allocations: 253.9 kB / 1.103 GB, free: 39.7 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.6024, allocations: 0.9964 MB / 1.104 GB, free: 39.49 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.6024, allocations: 9.062 kB / 1.104 GB, free: 39.49 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6024, allocations: 5.344 kB / 1.104 GB, free: 39.49 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008908/0.6033, allocations: 0.7784 MB / 1.105 GB, free: 39.1 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05284/0.6562, allocations: 23.06 MB / 1.128 GB, free: 36.56 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.6562, allocations: 6.219 kB / 1.128 GB, free: 36.56 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003956/0.6566, allocations: 161.6 kB / 1.128 GB, free: 36.56 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003286/0.6569, allocations: 138.6 kB / 1.128 GB, free: 36.54 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/0.6569, allocations: 33.47 kB / 1.128 GB, free: 36.54 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.6581, allocations: 2.343 MB / 1.13 GB, free: 34.59 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.6581, allocations: 8.562 kB / 1.13 GB, free: 34.59 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.6597, allocations: 1.266 MB / 1.131 GB, free: 33.94 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004805/0.6602, allocations: 311.6 kB / 1.132 GB, free: 33.82 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.6604, allocations: 27.27 kB / 1.132 GB, free: 33.82 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005024/0.6609, allocations: 51.3 kB / 1.132 GB, free: 33.82 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.784e-05/0.661, allocations: 81.5 kB / 1.132 GB, free: 33.82 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.661, allocations: 31.19 kB / 1.132 GB, free: 33.82 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007333/0.6617, allocations: 0.8562 MB / 1.133 GB, free: 33.63 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6617, allocations: 0 / 1.133 GB, free: 33.63 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002699/0.6644, allocations: 1.057 MB / 1.134 GB, free: 33.59 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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.003464/0.6679, allocations: 0.878 MB / 1.135 GB, free: 33.35 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.6693, allocations: 0.9859 MB / 1.136 GB, free: 32.95 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.6693, allocations: 0 / 1.136 GB, free: 32.95 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000491/0.6698, allocations: 497.8 kB / 1.136 GB, free: 32.76 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/0.6721, allocations: 1.04 MB / 1.137 GB, free: 32.57 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.6761, allocations: 3.202 MB / 1.14 GB, free: 30.83 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.6765, allocations: 405.7 kB / 1.141 GB, free: 30.73 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001193/0.6777, allocations: 367.3 kB / 1.141 GB, free: 30.59 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/0.679, allocations: 0.7985 MB / 1.142 GB, free: 30.51 MB / 1.01 GB Notification: Performance of SimCode: time 2.114e-06/0.679, allocations: 0 / 1.142 GB, free: 30.51 MB / 1.01 GB Notification: Performance of Templates: time 0.07149/0.7504, allocations: 70.58 MB / 1.211 GB, free: 5.922 MB / 1.026 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: 6.857786131091416]