Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001489/0.001489, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001826/0.001826, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.86/1.86, allocations: 377.9 MB / 0.6247 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8128 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.068e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1173/0.1174, allocations: 140.7 MB / 0.9502 GB, free: 4.312 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0204/0.1377, allocations: 14.87 MB / 0.9647 GB, free: 5.402 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/0.1403, allocations: 79.38 kB / 0.9648 GB, free: 5.324 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.004605/0.1449, allocations: 1.637 MB / 0.9664 GB, free: 3.68 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.006708/0.1516, allocations: 2.997 MB / 0.9693 GB, free: 0.6641 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00396/0.1556, allocations: 1.997 MB / 0.9712 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0115/0.1671, allocations: 8.417 MB / 0.9795 GB, free: 6.223 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002539/0.1696, allocations: 1.314 MB / 0.9808 GB, free: 4.879 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005207/0.1748, allocations: 2.784 MB / 0.9835 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0022/0.177, allocations: 1.224 MB / 0.9847 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0003834/0.1774, allocations: 188 kB / 0.9848 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003598/0.181, allocations: 1.779 MB / 0.9866 GB, free: 14.91 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005266/0.1815, allocations: 0.6813 MB / 0.9872 GB, free: 14.22 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0008816/0.1824, allocations: 0.7522 MB / 0.988 GB, free: 13.47 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00394/0.1864, allocations: 2.859 MB / 0.9908 GB, free: 10.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1864, allocations: 0 / 0.9908 GB, free: 10.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1864, allocations: 0 / 0.9908 GB, free: 10.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.011e-05/0.1864, allocations: 0 / 0.9908 GB, free: 10.6 MB / 0.948 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.003239/0.1897, allocations: 2.749 MB / 0.9935 GB, free: 7.789 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1897, allocations: 8.031 kB / 0.9935 GB, free: 7.781 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/0.1916, allocations: 0.712 MB / 0.9942 GB, free: 7.066 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.1942, allocations: 2.484 MB / 0.9966 GB, free: 4.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.1942, allocations: 82.09 kB / 0.9967 GB, free: 4.438 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.1944, allocations: 112 kB / 0.9968 GB, free: 4.328 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.1957, allocations: 1.169 MB / 0.9979 GB, free: 2.996 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.1958, allocations: 4 kB / 0.9979 GB, free: 2.992 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.125e-05/0.1958, allocations: 43.94 kB / 0.998 GB, free: 2.949 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.1958, allocations: 28 kB / 0.998 GB, free: 2.922 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005532/0.1964, allocations: 425.4 kB / 0.9984 GB, free: 2.504 MB / 0.948 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.005243/0.2016, allocations: 5.825 MB / 1.004 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006653/0.2023, allocations: 489.9 kB / 1.005 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.2025, allocations: 172.9 kB / 1.005 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002989/0.2055, allocations: 1.462 MB / 1.006 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004412/0.2059, allocations: 0.4949 MB / 1.007 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=67): time 2.195e-06/0.2059, allocations: 8 kB / 1.007 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81): time 0.02095/0.2269, allocations: 8.098 MB / 1.015 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.2269, allocations: 162.9 kB / 1.015 GB, free: 1.422 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.2282, allocations: 1.579 MB / 1.016 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/0.2283, allocations: 45.7 kB / 1.016 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006107/0.2289, allocations: 1.028 MB / 1.017 GB, free: 14.69 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.2291, allocations: 301.4 kB / 1.018 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.2293, allocations: 240.4 kB / 1.018 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.2295, allocations: 0.5198 MB / 1.018 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.2297, allocations: 146.5 kB / 1.018 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.2301, allocations: 0.7876 MB / 1.019 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006498/0.2308, allocations: 0.8429 MB / 1.02 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2308, allocations: 4 kB / 1.02 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001663/0.2324, allocations: 1.065 MB / 1.021 GB, free: 10.32 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2324, allocations: 8 kB / 1.021 GB, free: 10.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.2325, allocations: 12 kB / 1.021 GB, free: 10.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003966/0.2329, allocations: 187.7 kB / 1.021 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/0.2333, allocations: 247.6 kB / 1.022 GB, free: 9.871 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/0.2361, allocations: 4.41 MB / 1.026 GB, free: 5.238 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008718/0.237, allocations: 68.55 kB / 1.026 GB, free: 5.172 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.287e-05/0.237, allocations: 51.98 kB / 1.026 GB, free: 5.121 MB / 0.9792 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.0004111/0.2374, allocations: 232.2 kB / 1.026 GB, free: 4.883 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003964/0.2378, allocations: 258.3 kB / 1.026 GB, free: 4.629 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.2392, allocations: 1.006 MB / 1.027 GB, free: 3.598 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2392, allocations: 8 kB / 1.027 GB, free: 3.59 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2392, allocations: 0 / 1.027 GB, free: 3.59 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001025/0.2402, allocations: 0.7789 MB / 1.028 GB, free: 2.738 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4492/0.6894, allocations: 23.03 MB / 1.051 GB, free: 127.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.6894, allocations: 6.375 kB / 1.051 GB, free: 127.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004027/0.6898, allocations: 166 kB / 1.051 GB, free: 127.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003284/0.6901, allocations: 135.3 kB / 1.051 GB, free: 127.9 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.6902, allocations: 30.84 kB / 1.051 GB, free: 127.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.6915, allocations: 2.339 MB / 1.053 GB, free: 126 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.6915, allocations: 17.09 kB / 1.053 GB, free: 126 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.6931, allocations: 1.271 MB / 1.055 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004432/0.6935, allocations: 304.4 kB / 1.055 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.6937, allocations: 21.75 kB / 1.055 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004973/0.6942, allocations: 63.67 kB / 1.055 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/0.6943, allocations: 82.33 kB / 1.055 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.6944, allocations: 33.69 kB / 1.055 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007017/0.6951, allocations: 0.8511 MB / 1.056 GB, free: 125.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6951, allocations: 0 / 1.056 GB, free: 125.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002474/0.6975, allocations: 1.053 MB / 1.057 GB, free: 125.3 MB / 0.9948 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.003342/0.7009, allocations: 0.8801 MB / 1.058 GB, free: 125.2 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001255/0.7021, allocations: 0.9812 MB / 1.059 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7021, allocations: 0 / 1.059 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000492/0.7026, allocations: 0.4884 MB / 1.059 GB, free: 124.6 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/0.7049, allocations: 1.047 MB / 1.06 GB, free: 124.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/0.7089, allocations: 3.217 MB / 1.063 GB, free: 122.9 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.7092, allocations: 408.9 kB / 1.064 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0011/0.7103, allocations: 365.7 kB / 1.064 GB, free: 122.7 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/0.7116, allocations: 0.7931 MB / 1.065 GB, free: 122.7 MB / 0.9948 GB Notification: Performance of SimCode: time 1.904e-06/0.7116, allocations: 2.906 kB / 1.065 GB, free: 122.7 MB / 0.9948 GB Notification: Performance of Templates: time 0.08411/0.7957, allocations: 71.15 MB / 1.134 GB, free: 105.4 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.854199988301843]