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.001132/0.001132, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001124/0.001124, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.032/1.032, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.094/2.094, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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.834e-06/1.834e-06, allocations: 0 / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.848e-05, allocations: 6.25 kB / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1285/0.1285, allocations: 140.7 MB / 1.017 GB, free: 8.805 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01893/0.1474, allocations: 14.84 MB / 1.031 GB, free: 9.934 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002946/0.1504, allocations: 79.38 kB / 1.031 GB, free: 9.855 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.00432/0.1547, allocations: 1.638 MB / 1.033 GB, free: 8.211 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.006528/0.1612, allocations: 2.997 MB / 1.036 GB, free: 5.199 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003519/0.1648, allocations: 2.005 MB / 1.038 GB, free: 3.191 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.01/0.1748, allocations: 8.427 MB / 1.046 GB, free: 10.75 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002539/0.1773, allocations: 1.276 MB / 1.047 GB, free: 9.434 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005943/0.1832, allocations: 2.779 MB / 1.05 GB, free: 6.652 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002551/0.1858, allocations: 1.227 MB / 1.051 GB, free: 5.422 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0005385/0.1863, allocations: 188 kB / 1.051 GB, free: 5.238 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003324/0.1897, allocations: 1.775 MB / 1.053 GB, free: 3.461 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005944/0.1903, allocations: 0.6891 MB / 1.054 GB, free: 2.77 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.1916, allocations: 0.7677 MB / 1.055 GB, free: 2 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.4374/0.629, allocations: 2.838 MB / 1.057 GB, free: 64.15 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.629, allocations: 0 / 1.057 GB, free: 64.15 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.713e-06/0.629, allocations: 0 / 1.057 GB, free: 64.15 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.295e-05/0.6291, allocations: 2.938 kB / 1.057 GB, free: 64.15 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.00361/0.6327, allocations: 2.74 MB / 1.06 GB, free: 62.77 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.6328, allocations: 8.781 kB / 1.06 GB, free: 62.77 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/0.6348, allocations: 0.7166 MB / 1.061 GB, free: 62.58 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002664/0.6374, allocations: 2.465 MB / 1.063 GB, free: 62.06 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.6375, allocations: 85.38 kB / 1.063 GB, free: 62.05 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.6376, allocations: 119.3 kB / 1.063 GB, free: 62.05 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.6387, allocations: 1.162 MB / 1.064 GB, free: 61.48 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.6387, allocations: 3.094 kB / 1.064 GB, free: 61.48 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.534e-05/0.6388, allocations: 48.19 kB / 1.065 GB, free: 61.48 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.6388, allocations: 26.12 kB / 1.065 GB, free: 61.48 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005615/0.6393, allocations: 424.7 kB / 1.065 GB, free: 61.46 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.004631/0.644, allocations: 5.841 MB / 1.071 GB, free: 58.54 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/0.6446, allocations: 490.9 kB / 1.071 GB, free: 58.42 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.6448, allocations: 167.9 kB / 1.071 GB, free: 58.39 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002936/0.6477, allocations: 1.465 MB / 1.073 GB, free: 58.38 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004277/0.6481, allocations: 0.5009 MB / 1.073 GB, free: 58.03 MB / 1.01 GB Notification: Performance of pre-optimization done (n=67): time 2.685e-06/0.6481, allocations: 0 / 1.073 GB, free: 58.03 MB / 1.01 GB Notification: Performance of matching and sorting (n=81): time 0.01994/0.6681, allocations: 8.084 MB / 1.081 GB, free: 56.6 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.6681, allocations: 169 kB / 1.081 GB, free: 56.41 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.6695, allocations: 1.571 MB / 1.083 GB, free: 56.08 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.511e-05/0.6696, allocations: 45.05 kB / 1.083 GB, free: 56.05 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005663/0.6701, allocations: 1.036 MB / 1.084 GB, free: 55.7 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.6703, allocations: 301.6 kB / 1.084 GB, free: 55.5 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.6705, allocations: 234.1 kB / 1.084 GB, free: 55.46 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.242e-05/0.6706, allocations: 0.52 MB / 1.085 GB, free: 54.98 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.6708, allocations: 149 kB / 1.085 GB, free: 54.98 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.6711, allocations: 0.7993 MB / 1.086 GB, free: 54.2 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.6718, allocations: 0.8379 MB / 1.087 GB, free: 53.61 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.6718, allocations: 2.844 kB / 1.087 GB, free: 53.61 MB / 1.01 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001763/0.6735, allocations: 1.058 MB / 1.088 GB, free: 53.39 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.6736, allocations: 10.38 kB / 1.088 GB, free: 53.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.6736, allocations: 15.27 kB / 1.088 GB, free: 53.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004501/0.674, allocations: 189.8 kB / 1.088 GB, free: 53.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/0.6745, allocations: 236.2 kB / 1.088 GB, free: 53.36 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.6767, allocations: 4.411 MB / 1.092 GB, free: 49.48 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009203/0.6776, allocations: 77.64 kB / 1.092 GB, free: 49.48 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.689e-05/0.6777, allocations: 49.08 kB / 1.092 GB, free: 49.48 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.0004239/0.6781, allocations: 232.4 kB / 1.093 GB, free: 49.31 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003997/0.6785, allocations: 252.5 kB / 1.093 GB, free: 49.18 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.68, allocations: 1.001 MB / 1.094 GB, free: 48.97 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.68, allocations: 12.91 kB / 1.094 GB, free: 48.97 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.68, allocations: 1.672 kB / 1.094 GB, free: 48.97 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007877/0.6808, allocations: 0.7805 MB / 1.095 GB, free: 48.57 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0544/0.7352, allocations: 23.04 MB / 1.117 GB, free: 46.04 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.7352, allocations: 6.219 kB / 1.117 GB, free: 46.04 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/0.7357, allocations: 169.4 kB / 1.117 GB, free: 46.04 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003483/0.736, allocations: 135.8 kB / 1.118 GB, free: 46.02 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.997e-05/0.7361, allocations: 32.62 kB / 1.118 GB, free: 46.02 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.7374, allocations: 2.341 MB / 1.12 GB, free: 44.08 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.7374, allocations: 9.75 kB / 1.12 GB, free: 44.08 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.7393, allocations: 1.269 MB / 1.121 GB, free: 43.42 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005663/0.7399, allocations: 299.7 kB / 1.121 GB, free: 43.32 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/0.7401, allocations: 31.81 kB / 1.121 GB, free: 43.31 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005507/0.7406, allocations: 57.22 kB / 1.121 GB, free: 43.31 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.7408, allocations: 81.77 kB / 1.122 GB, free: 43.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.595e-05/0.7408, allocations: 37.97 kB / 1.122 GB, free: 43.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001033/0.7419, allocations: 0.8492 MB / 1.122 GB, free: 43.11 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7419, allocations: 0 / 1.122 GB, free: 43.11 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002949/0.7448, allocations: 1.056 MB / 1.123 GB, free: 43.07 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.003649/0.7485, allocations: 0.8815 MB / 1.124 GB, free: 42.83 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.7499, allocations: 0.9836 MB / 1.125 GB, free: 42.44 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.7499, allocations: 2.781 kB / 1.125 GB, free: 42.44 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005248/0.7504, allocations: 494.6 kB / 1.126 GB, free: 42.25 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/0.7528, allocations: 1.039 MB / 1.127 GB, free: 42.06 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.7568, allocations: 3.207 MB / 1.13 GB, free: 40.32 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.7572, allocations: 407.8 kB / 1.13 GB, free: 40.23 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001152/0.7584, allocations: 365.4 kB / 1.131 GB, free: 40.08 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/0.7598, allocations: 0.7919 MB / 1.131 GB, free: 40.01 MB / 1.01 GB Notification: Performance of SimCode: time 1.233e-06/0.7598, allocations: 0 / 1.131 GB, free: 40.01 MB / 1.01 GB Notification: Performance of Templates: time 0.07547/0.8353, allocations: 71.09 MB / 1.201 GB, free: 5.828 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: 10.884985047858208]