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.001024/0.001024, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009769/0.0009769, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9294/0.9294, allocations: 177.1 MB / 204.2 MB, free: 5.578 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.732/1.732, allocations: 377.9 MB / 0.6236 GB, free: 8.547 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.472e-06/1.472e-06, allocations: 0 / 0.8115 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.267e-05, allocations: 5.891 kB / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1204/0.1205, allocations: 143.4 MB / 0.9516 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01668/0.1371, allocations: 15.02 MB / 0.9663 GB, free: 2.812 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.1391, allocations: 79.38 kB / 0.9663 GB, free: 2.734 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.003784/0.1428, allocations: 1.637 MB / 0.9679 GB, free: 1.09 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.005646/0.1485, allocations: 2.997 MB / 0.9709 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.1521, allocations: 1.981 MB / 0.9728 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.009219/0.1613, allocations: 8.472 MB / 0.9811 GB, free: 3.602 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.1633, allocations: 1.298 MB / 0.9823 GB, free: 2.273 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004204/0.1675, allocations: 2.801 MB / 0.9851 GB, free: 15.47 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/0.1695, allocations: 1.216 MB / 0.9863 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003531/0.1699, allocations: 184 kB / 0.9864 GB, free: 14.07 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.1725, allocations: 1.779 MB / 0.9882 GB, free: 12.29 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004484/0.173, allocations: 0.6891 MB / 0.9888 GB, free: 11.6 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009354/0.1739, allocations: 0.756 MB / 0.9896 GB, free: 10.84 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00383/0.1777, allocations: 2.847 MB / 0.9924 GB, free: 7.988 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1777, allocations: 0 / 0.9924 GB, free: 7.988 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1777, allocations: 4 kB / 0.9924 GB, free: 7.984 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.843e-05/0.1778, allocations: 0 / 0.9924 GB, free: 7.984 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.003365/0.1812, allocations: 2.73 MB / 0.995 GB, free: 5.191 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1812, allocations: 12.03 kB / 0.995 GB, free: 5.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.1832, allocations: 0.712 MB / 0.9957 GB, free: 4.465 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002785/0.186, allocations: 2.523 MB / 0.9982 GB, free: 1.879 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.103e-05/0.186, allocations: 86.09 kB / 0.9983 GB, free: 1.793 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.1861, allocations: 116 kB / 0.9984 GB, free: 1.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.188, allocations: 1.24 MB / 0.9996 GB, free: 284 kB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.188, allocations: 0 / 0.9996 GB, free: 284 kB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.426e-05/0.1881, allocations: 51.94 kB / 0.9997 GB, free: 232 kB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.1881, allocations: 31.98 kB / 0.9997 GB, free: 200 kB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008505/0.1889, allocations: 0.5072 MB / 1 GB, free: 15.68 MB / 0.9636 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.004937/0.1939, allocations: 5.787 MB / 1.006 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007308/0.1946, allocations: 0.5137 MB / 1.006 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/0.1951, allocations: 203.6 kB / 1.007 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00326/0.1984, allocations: 1.809 MB / 1.008 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004944/0.1989, allocations: 0.5301 MB / 1.009 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=67): time 2.735e-06/0.1989, allocations: 0 / 1.009 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81): time 0.02332/0.2222, allocations: 10.86 MB / 1.019 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.2223, allocations: 166.9 kB / 1.02 GB, free: 11.42 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.2241, allocations: 1.608 MB / 1.021 GB, free: 9.758 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.608e-05/0.2242, allocations: 41.7 kB / 1.021 GB, free: 9.711 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006336/0.2248, allocations: 1.021 MB / 1.022 GB, free: 8.68 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.225, allocations: 293.5 kB / 1.022 GB, free: 8.391 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.2252, allocations: 228.5 kB / 1.023 GB, free: 8.156 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2254, allocations: 0.5199 MB / 1.023 GB, free: 7.629 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.2257, allocations: 198.6 kB / 1.023 GB, free: 7.438 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/0.2263, allocations: 0.8269 MB / 1.024 GB, free: 6.363 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008844/0.2272, allocations: 0.9055 MB / 1.025 GB, free: 5.262 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.2272, allocations: 11.92 kB / 1.025 GB, free: 5.25 MB / 0.9792 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001751/0.2289, allocations: 1.159 MB / 1.026 GB, free: 4.078 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.229, allocations: 13.88 kB / 1.026 GB, free: 4.066 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.229, allocations: 12 kB / 1.026 GB, free: 4.055 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005002/0.2295, allocations: 187.2 kB / 1.026 GB, free: 3.863 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/0.23, allocations: 243.6 kB / 1.027 GB, free: 3.625 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/0.2329, allocations: 4.481 MB / 1.031 GB, free: 14.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007751/0.2337, allocations: 76.5 kB / 1.031 GB, free: 14.83 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.042e-05/0.2338, allocations: 55.98 kB / 1.031 GB, free: 14.77 MB / 0.9948 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.0003969/0.2342, allocations: 236.1 kB / 1.031 GB, free: 14.53 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004053/0.2346, allocations: 250.3 kB / 1.032 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.2361, allocations: 1.069 MB / 1.033 GB, free: 13.19 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.2361, allocations: 12 kB / 1.033 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2361, allocations: 0 / 1.033 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009567/0.2371, allocations: 0.8453 MB / 1.034 GB, free: 12.26 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4308/0.6679, allocations: 28.64 MB / 1.061 GB, free: 142.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.6679, allocations: 8.969 kB / 1.061 GB, free: 142.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/0.6683, allocations: 168.2 kB / 1.062 GB, free: 142.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003442/0.6687, allocations: 136.8 kB / 1.062 GB, free: 142.6 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.6687, allocations: 32.97 kB / 1.062 GB, free: 142.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.67, allocations: 2.381 MB / 1.064 GB, free: 140.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.67, allocations: 9.625 kB / 1.064 GB, free: 140.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.6717, allocations: 1.37 MB / 1.065 GB, free: 140.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/0.6721, allocations: 305.8 kB / 1.066 GB, free: 140.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.6723, allocations: 31.22 kB / 1.066 GB, free: 140.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004919/0.6728, allocations: 52.88 kB / 1.066 GB, free: 140.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.6729, allocations: 79.03 kB / 1.066 GB, free: 140.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/0.6729, allocations: 41.53 kB / 1.066 GB, free: 140.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009313/0.6739, allocations: 0.9291 MB / 1.067 GB, free: 140 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6739, allocations: 0 / 1.067 GB, free: 140 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002368/0.6762, allocations: 1.056 MB / 1.068 GB, free: 140 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.003309/0.6795, allocations: 0.8697 MB / 1.069 GB, free: 139.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.681, allocations: 1.051 MB / 1.07 GB, free: 139.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.681, allocations: 2.969 kB / 1.07 GB, free: 139.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005474/0.6815, allocations: 0.5073 MB / 1.07 GB, free: 139.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/0.6838, allocations: 1.039 MB / 1.071 GB, free: 139.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.6877, allocations: 3.212 MB / 1.074 GB, free: 137.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.688, allocations: 404.7 kB / 1.075 GB, free: 137.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001089/0.6891, allocations: 384.3 kB / 1.075 GB, free: 137.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/0.6894, allocations: 166.2 kB / 1.075 GB, free: 137.5 MB / 1.01 GB Notification: Performance of SimCode: time 1.754e-06/0.6894, allocations: 0 / 1.075 GB, free: 137.5 MB / 1.01 GB Notification: Performance of Templates: time 0.07888/0.7683, allocations: 70.12 MB / 1.144 GB, free: 122 MB / 1.01 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: 9.449186656158417]