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.001081/0.001081, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001185/0.001185, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9925/0.9925, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.823/1.823, allocations: 377.9 MB / 0.6236 GB, free: 8.543 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.413e-06/1.413e-06, allocations: 0 / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.242e-05, allocations: 2.875 kB / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1243/0.1243, allocations: 143.5 MB / 0.9516 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01621/0.1405, allocations: 15.01 MB / 0.9663 GB, free: 2.789 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.1418, allocations: 79.38 kB / 0.9663 GB, free: 2.711 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.003228/0.145, allocations: 1.645 MB / 0.9679 GB, free: 1.059 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.004115/0.1491, allocations: 2.982 MB / 0.9708 GB, free: 14.06 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002571/0.1517, allocations: 2.067 MB / 0.9729 GB, free: 11.99 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.007174/0.1589, allocations: 8.451 MB / 0.9811 GB, free: 3.523 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.1605, allocations: 1.314 MB / 0.9824 GB, free: 2.18 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002695/0.1632, allocations: 2.689 MB / 0.985 GB, free: 15.49 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.1644, allocations: 1.255 MB / 0.9863 GB, free: 14.23 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.1645, allocations: 191.9 kB / 0.9864 GB, free: 14.04 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002286/0.1668, allocations: 1.802 MB / 0.9882 GB, free: 12.24 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006726/0.1675, allocations: 0.6852 MB / 0.9889 GB, free: 11.55 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006001/0.1681, allocations: 0.7755 MB / 0.9896 GB, free: 10.77 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002649/0.1707, allocations: 2.87 MB / 0.9924 GB, free: 7.895 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1708, allocations: 0 / 0.9924 GB, free: 7.895 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1708, allocations: 0 / 0.9924 GB, free: 7.895 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.416e-05/0.1708, allocations: 0 / 0.9924 GB, free: 7.895 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.002757/0.1735, allocations: 2.742 MB / 0.9951 GB, free: 5.09 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1736, allocations: 8.031 kB / 0.9951 GB, free: 5.082 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.1756, allocations: 0.7393 MB / 0.9958 GB, free: 4.34 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002572/0.1782, allocations: 2.566 MB / 0.9983 GB, free: 1.711 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/0.1782, allocations: 82.09 kB / 0.9984 GB, free: 1.629 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.1783, allocations: 120 kB / 0.9985 GB, free: 1.512 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.1798, allocations: 1.236 MB / 0.9997 GB, free: 116 kB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.1798, allocations: 4 kB / 0.9997 GB, free: 112 kB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.288e-05/0.1799, allocations: 47.94 kB / 0.9998 GB, free: 64 kB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.1799, allocations: 28 kB / 0.9998 GB, free: 36 kB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008412/0.1807, allocations: 0.5111 MB / 1 GB, free: 15.52 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.004821/0.1856, allocations: 5.795 MB / 1.006 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007305/0.1863, allocations: 0.5056 MB / 1.006 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.1865, allocations: 198.8 kB / 1.007 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003283/0.1898, allocations: 1.813 MB / 1.008 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004879/0.1903, allocations: 0.5262 MB / 1.009 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=67): time 1.523e-06/0.1903, allocations: 0 / 1.009 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81): time 0.02417/0.2145, allocations: 10.86 MB / 1.02 GB, free: 11.46 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.2146, allocations: 170.8 kB / 1.02 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.2163, allocations: 1.608 MB / 1.021 GB, free: 9.594 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.329e-05/0.2164, allocations: 45.7 kB / 1.021 GB, free: 9.543 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007164/0.2171, allocations: 1.028 MB / 1.022 GB, free: 8.504 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.2173, allocations: 293.5 kB / 1.023 GB, free: 8.215 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.2176, allocations: 228.5 kB / 1.023 GB, free: 7.98 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0004952/0.2181, allocations: 0.516 MB / 1.023 GB, free: 7.457 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.2184, allocations: 198.6 kB / 1.024 GB, free: 7.266 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005894/0.219, allocations: 0.8595 MB / 1.024 GB, free: 6.148 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00086/0.2198, allocations: 0.9172 MB / 1.025 GB, free: 5.035 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.2198, allocations: 4 kB / 1.025 GB, free: 5.031 MB / 0.9792 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001626/0.2215, allocations: 1.156 MB / 1.026 GB, free: 3.863 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.2215, allocations: 8 kB / 1.026 GB, free: 3.855 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.2215, allocations: 12 kB / 1.026 GB, free: 3.844 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004747/0.222, allocations: 199.1 kB / 1.027 GB, free: 3.641 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.2225, allocations: 239.6 kB / 1.027 GB, free: 3.406 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002909/0.2254, allocations: 4.481 MB / 1.031 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/0.226, allocations: 72.5 kB / 1.031 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.362e-05/0.2261, allocations: 67.91 kB / 1.031 GB, free: 14.55 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.0002919/0.2264, allocations: 232.1 kB / 1.032 GB, free: 14.31 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/0.2267, allocations: 250.4 kB / 1.032 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.2282, allocations: 1.069 MB / 1.033 GB, free: 12.97 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2282, allocations: 8 kB / 1.033 GB, free: 12.96 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2282, allocations: 0 / 1.033 GB, free: 12.96 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009561/0.2292, allocations: 0.8531 MB / 1.034 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01799/0.2472, allocations: 10.92 MB / 1.044 GB, free: 0.9453 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.2472, allocations: 8 kB / 1.044 GB, free: 0.9375 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/0.2476, allocations: 172.4 kB / 1.045 GB, free: 0.7695 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003407/0.2479, allocations: 139.6 kB / 1.045 GB, free: 0.6289 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/0.2479, allocations: 27.98 kB / 1.045 GB, free: 0.6016 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.2495, allocations: 2.384 MB / 1.047 GB, free: 14.1 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.2495, allocations: 8.062 kB / 1.047 GB, free: 14.09 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.2512, allocations: 1.369 MB / 1.048 GB, free: 12.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004595/0.2517, allocations: 310.5 kB / 1.049 GB, free: 12.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.2518, allocations: 27.98 kB / 1.049 GB, free: 12.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004958/0.2523, allocations: 66.95 kB / 1.049 GB, free: 12.21 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.823e-05/0.2524, allocations: 72.42 kB / 1.049 GB, free: 12.14 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/0.2525, allocations: 39.98 kB / 1.049 GB, free: 12.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000955/0.2534, allocations: 0.9227 MB / 1.05 GB, free: 11.15 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.2534, allocations: 0 / 1.05 GB, free: 11.15 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002511/0.2559, allocations: 1.066 MB / 1.051 GB, free: 10.09 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.0036/0.2595, allocations: 0.8763 MB / 1.052 GB, free: 9.348 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.2609, allocations: 1.048 MB / 1.053 GB, free: 8.266 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.2609, allocations: 0 / 1.053 GB, free: 8.266 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000563/0.2615, allocations: 0.5114 MB / 1.053 GB, free: 7.734 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.2635, allocations: 1.044 MB / 1.054 GB, free: 6.719 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.2673, allocations: 3.207 MB / 1.057 GB, free: 3.359 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.2676, allocations: 413.2 kB / 1.058 GB, free: 2.934 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001054/0.2686, allocations: 379.8 kB / 1.058 GB, free: 2.559 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.269, allocations: 176.4 kB / 1.058 GB, free: 2.383 MB / 1.01 GB Notification: Performance of SimCode: time 7.71e-07/0.269, allocations: 0 / 1.058 GB, free: 2.383 MB / 1.01 GB Notification: Performance of Templates: time 0.4187/0.6877, allocations: 65.85 MB / 1.123 GB, free: 130 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: 8.623643417842686]