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.001433/0.001433, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.002016/0.002016, allocations: 181 kB / 24.09 MB, free: 416 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 0.9875/0.9875, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.738/1.738, allocations: 377.9 MB / 0.624 GB, free: 8.367 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 2.024e-06/2.024e-06, allocations: 0 / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.375e-05, allocations: 4.219 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1164/0.1164, allocations: 140.7 MB / 0.9494 GB, free: 4.266 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01674/0.1331, allocations: 14.87 MB / 0.9639 GB, free: 5.355 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.1352, allocations: 79.38 kB / 0.964 GB, free: 5.277 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.003685/0.1389, allocations: 1.641 MB / 0.9656 GB, free: 3.629 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.005791/0.1447, allocations: 2.994 MB / 0.9685 GB, free: 0.6172 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.003135/0.1478, allocations: 1.997 MB / 0.9705 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.008503/0.1563, allocations: 8.424 MB / 0.9787 GB, free: 6.176 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002182/0.1585, allocations: 1.314 MB / 0.98 GB, free: 4.832 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003553/0.1621, allocations: 2.786 MB / 0.9827 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.1634, allocations: 1.224 MB / 0.9839 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002363/0.1637, allocations: 188 kB / 0.9841 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.1661, allocations: 1.771 MB / 0.9858 GB, free: 14.86 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006753/0.1668, allocations: 0.6891 MB / 0.9865 GB, free: 14.17 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000648/0.1675, allocations: 0.7638 MB / 0.9872 GB, free: 13.41 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.003424/0.1709, allocations: 2.835 MB / 0.99 GB, free: 10.56 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1709, allocations: 3.984 kB / 0.99 GB, free: 10.56 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.01e-07/0.1709, allocations: 4 kB / 0.99 GB, free: 10.55 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.935e-05/0.1709, allocations: 0 / 0.99 GB, free: 10.55 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.002918/0.1739, allocations: 2.745 MB / 0.9927 GB, free: 7.746 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1739, allocations: 12.03 kB / 0.9927 GB, free: 7.734 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.1758, allocations: 0.7081 MB / 0.9934 GB, free: 7.023 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.1783, allocations: 2.484 MB / 0.9958 GB, free: 4.477 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.238e-05/0.1783, allocations: 82.08 kB / 0.9959 GB, free: 4.395 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.1785, allocations: 116 kB / 0.996 GB, free: 4.281 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.1797, allocations: 1.169 MB / 0.9971 GB, free: 2.949 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.1797, allocations: 3.938 kB / 0.9972 GB, free: 2.945 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-05/0.1798, allocations: 47.94 kB / 0.9972 GB, free: 2.898 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.1798, allocations: 32 kB / 0.9972 GB, free: 2.867 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005356/0.1804, allocations: 421.4 kB / 0.9976 GB, free: 2.453 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.004965/0.1853, allocations: 5.833 MB / 1.003 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006271/0.186, allocations: 477.7 kB / 1.004 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.1861, allocations: 171.5 kB / 1.004 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002932/0.1891, allocations: 1.484 MB / 1.005 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004613/0.1895, allocations: 0.4952 MB / 1.006 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=67): time 3.026e-06/0.1895, allocations: 0 / 1.006 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81): time 0.02014/0.2097, allocations: 8.096 MB / 1.014 GB, free: 1.559 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.2097, allocations: 162.9 kB / 1.014 GB, free: 1.363 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.2112, allocations: 1.579 MB / 1.015 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.2112, allocations: 45.7 kB / 1.016 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006408/0.2119, allocations: 1.04 MB / 1.017 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.212, allocations: 297.4 kB / 1.017 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.2123, allocations: 232.4 kB / 1.017 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2124, allocations: 0.5159 MB / 1.018 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.2126, allocations: 150.6 kB / 1.018 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.2131, allocations: 0.7877 MB / 1.018 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006937/0.2138, allocations: 0.8429 MB / 1.019 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.2138, allocations: 4 kB / 1.019 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001789/0.2156, allocations: 1.066 MB / 1.02 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2156, allocations: 12 kB / 1.02 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.2156, allocations: 8 kB / 1.02 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004167/0.216, allocations: 199.2 kB / 1.021 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/0.2165, allocations: 235.6 kB / 1.021 GB, free: 9.812 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.2191, allocations: 4.407 MB / 1.025 GB, free: 5.184 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008961/0.22, allocations: 76.55 kB / 1.025 GB, free: 5.109 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.341e-05/0.22, allocations: 47.97 kB / 1.025 GB, free: 5.062 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.0004294/0.2205, allocations: 244.1 kB / 1.025 GB, free: 4.812 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004347/0.2209, allocations: 258.3 kB / 1.026 GB, free: 4.559 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.2223, allocations: 0.9984 MB / 1.027 GB, free: 3.535 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.2223, allocations: 11.94 kB / 1.027 GB, free: 3.523 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2223, allocations: 7.938 kB / 1.027 GB, free: 3.516 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001027/0.2233, allocations: 0.775 MB / 1.027 GB, free: 2.668 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4226/0.6459, allocations: 23.05 MB / 1.05 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/0.6459, allocations: 5.812 kB / 1.05 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.6463, allocations: 170.7 kB / 1.05 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002976/0.6466, allocations: 134.8 kB / 1.05 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.6466, allocations: 28.7 kB / 1.05 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.6478, allocations: 2.331 MB / 1.053 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.6478, allocations: 9.531 kB / 1.053 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.6492, allocations: 1.283 MB / 1.054 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/0.6496, allocations: 303.5 kB / 1.054 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.6497, allocations: 28.56 kB / 1.054 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004651/0.6502, allocations: 55.44 kB / 1.054 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.6503, allocations: 79.73 kB / 1.054 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.6503, allocations: 37.22 kB / 1.054 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006351/0.651, allocations: 0.8473 MB / 1.055 GB, free: 126.7 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.651, allocations: 0 / 1.055 GB, free: 126.7 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002287/0.6532, allocations: 1.055 MB / 1.056 GB, free: 126.7 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.002895/0.6561, allocations: 0.8798 MB / 1.057 GB, free: 126.6 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.6572, allocations: 0.9835 MB / 1.058 GB, free: 126.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6572, allocations: 2.844 kB / 1.058 GB, free: 126.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.6577, allocations: 496.8 kB / 1.058 GB, free: 126 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.6597, allocations: 1.041 MB / 1.059 GB, free: 125.9 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.6633, allocations: 3.208 MB / 1.063 GB, free: 124.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.6636, allocations: 406.8 kB / 1.063 GB, free: 124.2 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0009642/0.6646, allocations: 372.3 kB / 1.063 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/0.6658, allocations: 0.7988 MB / 1.064 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of SimCode: time 1.343e-06/0.6658, allocations: 0.875 kB / 1.064 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of Templates: time 0.0854/0.7512, allocations: 70.66 MB / 1.133 GB, free: 106.7 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: 6.9602056769654155]