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.0009891/0.0009891, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009937/0.0009937, allocations: 169 kB / 23.02 MB, free: 1.543 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.9443/0.9443, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.955/1.955, allocations: 429.5 MB / 0.6733 GB, free: 4 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 2.124e-06/2.124e-06, allocations: 0 / 0.8781 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.102e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1274/0.1274, allocations: 143.5 MB / 1.018 GB, free: 6.367 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01861/0.1461, allocations: 15 MB / 1.033 GB, free: 7.34 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.1482, allocations: 79.38 kB / 1.033 GB, free: 7.262 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.004685/0.1529, allocations: 1.634 MB / 1.035 GB, free: 5.621 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.006202/0.1591, allocations: 2.99 MB / 1.037 GB, free: 2.617 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.1628, allocations: 2.005 MB / 1.039 GB, free: 0.6094 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00956/0.1724, allocations: 8.463 MB / 1.048 GB, free: 8.125 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/0.1749, allocations: 1.272 MB / 1.049 GB, free: 6.816 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005425/0.1803, allocations: 2.782 MB / 1.052 GB, free: 4.039 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/0.1825, allocations: 1.231 MB / 1.053 GB, free: 2.805 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0005502/0.1831, allocations: 192 kB / 1.053 GB, free: 2.617 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003197/0.1863, allocations: 1.775 MB / 1.055 GB, free: 0.8398 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006354/0.1869, allocations: 0.6852 MB / 1.055 GB, free: 156 kB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.4604/0.6473, allocations: 0.7596 MB / 1.056 GB, free: 60.33 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004594/0.6519, allocations: 2.845 MB / 1.059 GB, free: 60.24 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.6519, allocations: 0 / 1.059 GB, free: 60.24 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6519, allocations: 0 / 1.059 GB, free: 60.24 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.782e-05/0.652, allocations: 0 / 1.059 GB, free: 60.24 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.003757/0.6557, allocations: 2.732 MB / 1.062 GB, free: 58.86 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 7.051e-05/0.6558, allocations: 11.38 kB / 1.062 GB, free: 58.86 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/0.6583, allocations: 0.713 MB / 1.062 GB, free: 58.67 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002987/0.6613, allocations: 2.515 MB / 1.065 GB, free: 58.14 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.6614, allocations: 86.12 kB / 1.065 GB, free: 58.14 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.6615, allocations: 116.7 kB / 1.065 GB, free: 58.14 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.6629, allocations: 1.237 MB / 1.066 GB, free: 57.57 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.6629, allocations: 3.094 kB / 1.066 GB, free: 57.57 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.306e-05/0.663, allocations: 50.62 kB / 1.066 GB, free: 57.57 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.663, allocations: 27.91 kB / 1.066 GB, free: 57.57 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008364/0.6639, allocations: 0.5048 MB / 1.067 GB, free: 57.55 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.00517/0.669, allocations: 5.794 MB / 1.072 GB, free: 54.63 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007733/0.6698, allocations: 0.521 MB / 1.073 GB, free: 54.52 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.67, allocations: 205.1 kB / 1.073 GB, free: 54.48 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003379/0.6734, allocations: 1.815 MB / 1.075 GB, free: 54.47 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004958/0.6739, allocations: 0.5227 MB / 1.075 GB, free: 54.12 MB / 1.01 GB Notification: Performance of pre-optimization done (n=67): time 2.705e-06/0.6739, allocations: 0 / 1.075 GB, free: 54.12 MB / 1.01 GB Notification: Performance of matching and sorting (n=81): time 0.02261/0.6965, allocations: 10.84 MB / 1.086 GB, free: 51.76 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.6966, allocations: 171.4 kB / 1.086 GB, free: 51.57 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.6984, allocations: 1.605 MB / 1.088 GB, free: 51.25 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.391e-05/0.6985, allocations: 41.73 kB / 1.088 GB, free: 51.21 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005757/0.6991, allocations: 1.018 MB / 1.089 GB, free: 50.86 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.6993, allocations: 299.6 kB / 1.089 GB, free: 50.67 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/0.6995, allocations: 227.5 kB / 1.089 GB, free: 50.63 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.6996, allocations: 0.5139 MB / 1.09 GB, free: 50.15 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.6999, allocations: 197.2 kB / 1.09 GB, free: 50.15 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005182/0.7005, allocations: 0.8353 MB / 1.091 GB, free: 49.37 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008773/0.7013, allocations: 0.9084 MB / 1.092 GB, free: 48.78 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/0.7013, allocations: 3.531 kB / 1.092 GB, free: 48.78 MB / 1.01 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001826/0.7032, allocations: 1.166 MB / 1.093 GB, free: 48.56 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.7032, allocations: 10.31 kB / 1.093 GB, free: 48.56 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/0.7032, allocations: 14.62 kB / 1.093 GB, free: 48.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004912/0.7037, allocations: 191.2 kB / 1.093 GB, free: 48.52 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.7042, allocations: 239.8 kB / 1.093 GB, free: 48.52 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.7065, allocations: 4.476 MB / 1.098 GB, free: 44.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000973/0.7075, allocations: 75.92 kB / 1.098 GB, free: 44.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.678e-05/0.7075, allocations: 60.64 kB / 1.098 GB, free: 44.6 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.0004268/0.708, allocations: 235.5 kB / 1.098 GB, free: 44.43 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003988/0.7084, allocations: 259 kB / 1.098 GB, free: 44.29 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.71, allocations: 1.07 MB / 1.099 GB, free: 44.09 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.71, allocations: 8.656 kB / 1.099 GB, free: 44.09 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.71, allocations: 1.312 kB / 1.099 GB, free: 44.09 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000925/0.7109, allocations: 0.849 MB / 1.1 GB, free: 43.69 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0586/0.7695, allocations: 28.64 MB / 1.128 GB, free: 40.49 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.7695, allocations: 5.719 kB / 1.128 GB, free: 40.49 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.7699, allocations: 166 kB / 1.128 GB, free: 40.49 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000372/0.7703, allocations: 134.6 kB / 1.128 GB, free: 40.47 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.676e-05/0.7703, allocations: 34.25 kB / 1.128 GB, free: 40.47 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.7717, allocations: 2.387 MB / 1.131 GB, free: 38.51 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.7717, allocations: 13.25 kB / 1.131 GB, free: 38.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.7734, allocations: 1.358 MB / 1.132 GB, free: 37.85 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004637/0.7739, allocations: 308.9 kB / 1.132 GB, free: 37.75 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.774, allocations: 26.47 kB / 1.132 GB, free: 37.75 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005084/0.7746, allocations: 59.12 kB / 1.132 GB, free: 37.74 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.7747, allocations: 76.5 kB / 1.132 GB, free: 37.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/0.7747, allocations: 43.86 kB / 1.133 GB, free: 37.73 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009515/0.7757, allocations: 0.9258 MB / 1.133 GB, free: 37.54 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7757, allocations: 0 / 1.133 GB, free: 37.54 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002571/0.7782, allocations: 1.057 MB / 1.134 GB, free: 37.49 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.003339/0.7816, allocations: 0.8733 MB / 1.135 GB, free: 37.25 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.7831, allocations: 1.047 MB / 1.136 GB, free: 36.86 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.7831, allocations: 0 / 1.136 GB, free: 36.86 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005439/0.7836, allocations: 0.511 MB / 1.137 GB, free: 36.67 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.7859, allocations: 1.03 MB / 1.138 GB, free: 36.49 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.7898, allocations: 3.209 MB / 1.141 GB, free: 34.75 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.7901, allocations: 407.9 kB / 1.141 GB, free: 34.65 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001015/0.7911, allocations: 374 kB / 1.142 GB, free: 34.51 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.7914, allocations: 168 kB / 1.142 GB, free: 34.49 MB / 1.01 GB Notification: Performance of SimCode: time 1.142e-06/0.7914, allocations: 0 / 1.142 GB, free: 34.49 MB / 1.01 GB Notification: Performance of Templates: time 0.06917/0.8606, allocations: 70.04 MB / 1.21 GB, free: 12.01 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: 9.298082469031215]