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.0008383/0.0008383, allocations: 89.06 kB / 19.64 MB, free: 272 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.001553/0.001553, allocations: 169 kB / 23.02 MB, free: 1.539 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.051/1.051, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.1/2.1, allocations: 429.5 MB / 0.6732 GB, free: 4.066 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.371 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.868e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1309/0.1309, allocations: 143.4 MB / 1.018 GB, free: 6.406 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01787/0.1488, allocations: 14.99 MB / 1.033 GB, free: 7.387 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.1506, allocations: 83.38 kB / 1.033 GB, free: 7.305 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.003347/0.154, allocations: 1.641 MB / 1.035 GB, free: 5.656 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005506/0.1595, allocations: 2.974 MB / 1.037 GB, free: 2.668 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.1627, allocations: 2.083 MB / 1.039 GB, free: 0.582 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.008145/0.1708, allocations: 8.458 MB / 1.048 GB, free: 8.109 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.1725, allocations: 1.268 MB / 1.049 GB, free: 6.805 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003523/0.176, allocations: 2.69 MB / 1.052 GB, free: 4.117 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.1775, allocations: 1.259 MB / 1.053 GB, free: 2.855 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.1778, allocations: 192 kB / 1.053 GB, free: 2.668 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/0.1804, allocations: 1.802 MB / 1.055 GB, free: 0.8633 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004174/0.1809, allocations: 0.6969 MB / 1.055 GB, free: 168 kB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.4653/0.6461, allocations: 0.767 MB / 1.056 GB, free: 60.52 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004029/0.6501, allocations: 2.869 MB / 1.059 GB, free: 60.43 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6501, allocations: 0 / 1.059 GB, free: 60.43 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6502, allocations: 3.375 kB / 1.059 GB, free: 60.43 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.012e-05/0.6502, allocations: 0 / 1.059 GB, free: 60.43 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.002952/0.6532, allocations: 2.74 MB / 1.062 GB, free: 59.05 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.6532, allocations: 8.281 kB / 1.062 GB, free: 59.05 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/0.6551, allocations: 0.7358 MB / 1.062 GB, free: 58.86 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002345/0.6575, allocations: 2.55 MB / 1.065 GB, free: 58.34 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.6575, allocations: 83.97 kB / 1.065 GB, free: 58.33 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.6577, allocations: 119.8 kB / 1.065 GB, free: 58.33 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.6588, allocations: 1.238 MB / 1.066 GB, free: 57.75 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.6589, allocations: 5.938 kB / 1.066 GB, free: 57.75 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/0.6589, allocations: 47.81 kB / 1.066 GB, free: 57.75 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.659, allocations: 24.31 kB / 1.066 GB, free: 57.75 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007833/0.6597, allocations: 0.5092 MB / 1.067 GB, free: 57.74 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.003865/0.6636, allocations: 5.799 MB / 1.073 GB, free: 54.82 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006612/0.6643, allocations: 0.5189 MB / 1.073 GB, free: 54.71 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.6645, allocations: 202.3 kB / 1.073 GB, free: 54.68 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003136/0.6676, allocations: 1.814 MB / 1.075 GB, free: 54.66 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000409/0.668, allocations: 0.5236 MB / 1.076 GB, free: 54.32 MB / 1.01 GB Notification: Performance of pre-optimization done (n=67): time 1.533e-06/0.668, allocations: 0.8438 kB / 1.076 GB, free: 54.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=81): time 0.0218/0.6898, allocations: 10.86 MB / 1.086 GB, free: 51.94 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.6899, allocations: 170.1 kB / 1.086 GB, free: 51.75 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.6917, allocations: 1.601 MB / 1.088 GB, free: 51.43 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.6918, allocations: 42.52 kB / 1.088 GB, free: 51.4 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005961/0.6924, allocations: 1.016 MB / 1.089 GB, free: 51.04 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.6925, allocations: 302.6 kB / 1.089 GB, free: 50.85 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.6928, allocations: 235.7 kB / 1.089 GB, free: 50.81 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.447e-05/0.6928, allocations: 0.5144 MB / 1.09 GB, free: 50.33 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.6932, allocations: 194.2 kB / 1.09 GB, free: 50.33 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.6937, allocations: 0.8642 MB / 1.091 GB, free: 49.51 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008603/0.6946, allocations: 0.9092 MB / 1.092 GB, free: 48.92 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.6946, allocations: 3.562 kB / 1.092 GB, free: 48.92 MB / 1.01 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001792/0.6964, allocations: 1.158 MB / 1.093 GB, free: 48.7 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.6964, allocations: 11.5 kB / 1.093 GB, free: 48.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.6964, allocations: 12.5 kB / 1.093 GB, free: 48.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004776/0.6969, allocations: 196.1 kB / 1.093 GB, free: 48.67 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.6974, allocations: 235.9 kB / 1.093 GB, free: 48.67 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.6996, allocations: 4.478 MB / 1.098 GB, free: 44.75 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000628/0.7002, allocations: 74.72 kB / 1.098 GB, free: 44.74 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.969e-05/0.7003, allocations: 67.27 kB / 1.098 GB, free: 44.74 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.0002799/0.7006, allocations: 231.9 kB / 1.098 GB, free: 44.57 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003365/0.7009, allocations: 252.6 kB / 1.098 GB, free: 44.44 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.7024, allocations: 1.072 MB / 1.099 GB, free: 44.23 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.7025, allocations: 8.469 kB / 1.099 GB, free: 44.23 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7025, allocations: 1.125 kB / 1.099 GB, free: 44.23 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009696/0.7034, allocations: 0.8459 MB / 1.1 GB, free: 43.84 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01894/0.7224, allocations: 10.93 MB / 1.111 GB, free: 42.19 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.7224, allocations: 9.188 kB / 1.111 GB, free: 42.19 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.7228, allocations: 165.7 kB / 1.111 GB, free: 42.19 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003595/0.7232, allocations: 138.3 kB / 1.111 GB, free: 42.17 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.668e-05/0.7232, allocations: 28.42 kB / 1.111 GB, free: 42.17 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.7246, allocations: 2.384 MB / 1.114 GB, free: 40.21 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.7246, allocations: 9.531 kB / 1.114 GB, free: 40.21 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.7265, allocations: 1.365 MB / 1.115 GB, free: 39.55 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004821/0.727, allocations: 303.8 kB / 1.115 GB, free: 39.45 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.7271, allocations: 30.23 kB / 1.115 GB, free: 39.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005149/0.7276, allocations: 56.47 kB / 1.115 GB, free: 39.45 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.7278, allocations: 76.94 kB / 1.115 GB, free: 39.44 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.816e-05/0.7278, allocations: 39.92 kB / 1.115 GB, free: 39.44 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001207/0.729, allocations: 0.9261 MB / 1.116 GB, free: 39.25 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.729, allocations: 0.8438 kB / 1.116 GB, free: 39.25 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002969/0.732, allocations: 1.061 MB / 1.117 GB, free: 39.2 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.003458/0.7355, allocations: 0.8877 MB / 1.118 GB, free: 38.97 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.737, allocations: 1.045 MB / 1.119 GB, free: 38.58 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.737, allocations: 5.531 kB / 1.119 GB, free: 38.57 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006194/0.7376, allocations: 0.5037 MB / 1.12 GB, free: 38.39 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.7399, allocations: 1.041 MB / 1.121 GB, free: 38.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.7442, allocations: 3.205 MB / 1.124 GB, free: 36.46 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.7447, allocations: 408.6 kB / 1.124 GB, free: 36.36 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001043/0.7457, allocations: 376.8 kB / 1.125 GB, free: 36.22 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/0.7461, allocations: 169.2 kB / 1.125 GB, free: 36.2 MB / 1.01 GB Notification: Performance of SimCode: time 9.62e-07/0.7461, allocations: 0 / 1.125 GB, free: 36.2 MB / 1.01 GB Notification: Performance of Templates: time 0.06813/0.8142, allocations: 65.79 MB / 1.189 GB, free: 15.7 MB / 1.01 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.17235431401059]