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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.156/3.156, allocations: 497.2 MB / 0.7845 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002022/0.002022, allocations: 63.8 kB / 1.139 GB, free: 33.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3097, allocations: 173.9 MB / 1.309 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2266/0.5363, allocations: 191.3 MB / 1.496 GB, free: 32 kB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03739/0.5737, allocations: 26.3 MB / 1.522 GB, free: 5.668 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.5764, allocations: 63.62 kB / 1.522 GB, free: 5.605 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00596/0.5823, allocations: 2.028 MB / 1.524 GB, free: 3.57 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.0117/0.594, allocations: 4.472 MB / 1.528 GB, free: 15.09 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.005866/0.5999, allocations: 2.416 MB / 1.53 GB, free: 12.68 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01121/0.6111, allocations: 7.535 MB / 1.538 GB, free: 5.121 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/0.6133, allocations: 1.258 MB / 1.539 GB, free: 3.828 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008069/0.6214, allocations: 2.647 MB / 1.542 GB, free: 1.176 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003732/0.6251, allocations: 1.452 MB / 1.543 GB, free: 15.72 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0008754/0.626, allocations: 215.9 kB / 1.543 GB, free: 15.51 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01047/0.6365, allocations: 4.774 MB / 1.548 GB, free: 10.73 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001037/0.6375, allocations: 0.6735 MB / 1.549 GB, free: 10.05 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001787/0.6393, allocations: 1.213 MB / 1.55 GB, free: 8.832 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.65, allocations: 5.752 MB / 1.555 GB, free: 3.062 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.65, allocations: 4 kB / 1.555 GB, free: 3.059 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.453e-06/0.65, allocations: 0 / 1.555 GB, free: 3.059 MB / 1.248 GB Notification: Performance of Transformations before backend: time 4.524e-05/0.65, allocations: 0 / 1.555 GB, free: 3.059 MB / 1.248 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.00646/0.6565, allocations: 2.909 MB / 1.558 GB, free: 76 kB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.6565, allocations: 8.625 kB / 1.558 GB, free: 68 kB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004836/0.6614, allocations: 0.6619 MB / 1.559 GB, free: 15.4 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006108/0.6675, allocations: 2.869 MB / 1.562 GB, free: 12.48 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.995e-05/0.6676, allocations: 82.09 kB / 1.562 GB, free: 12.4 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.6678, allocations: 116 kB / 1.562 GB, free: 12.29 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00304/0.6708, allocations: 1.331 MB / 1.563 GB, free: 10.87 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.6709, allocations: 8 kB / 1.563 GB, free: 10.86 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.671, allocations: 48 kB / 1.563 GB, free: 10.82 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/0.671, allocations: 31.88 kB / 1.563 GB, free: 10.79 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003059/0.6741, allocations: 1.12 MB / 1.564 GB, free: 9.664 MB / 1.264 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.01088/0.685, allocations: 6.794 MB / 1.571 GB, free: 2.496 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002241/0.6872, allocations: 0.7778 MB / 1.572 GB, free: 1.695 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009148/0.6881, allocations: 364.1 kB / 1.572 GB, free: 1.332 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008083/0.6962, allocations: 2.833 MB / 1.575 GB, free: 14.26 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001308/0.6975, allocations: 0.4938 MB / 1.575 GB, free: 13.73 MB / 1.279 GB Notification: Performance of pre-optimization done (n=67): time 2.234e-06/0.6975, allocations: 0 / 1.575 GB, free: 13.73 MB / 1.279 GB Notification: Performance of matching and sorting (n=81): time 0.0582/0.7557, allocations: 18.84 MB / 1.594 GB, free: 10.8 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.7559, allocations: 174.8 kB / 1.594 GB, free: 10.59 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003492/0.7593, allocations: 2.012 MB / 1.596 GB, free: 8.539 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002114/0.7596, allocations: 45.7 kB / 1.596 GB, free: 8.488 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009176/0.7605, allocations: 0.8708 MB / 1.597 GB, free: 7.609 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004249/0.7609, allocations: 305.5 kB / 1.597 GB, free: 7.309 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005459/0.7614, allocations: 339.4 kB / 1.597 GB, free: 6.973 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.7616, allocations: 301.1 kB / 1.598 GB, free: 6.676 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.7631, allocations: 0.6481 MB / 1.598 GB, free: 6.027 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.765, allocations: 1.062 MB / 1.599 GB, free: 4.805 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003132/0.7681, allocations: 1.629 MB / 1.601 GB, free: 3.039 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.7681, allocations: 0 / 1.601 GB, free: 3.039 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.00536/0.7735, allocations: 2.11 MB / 1.603 GB, free: 0.9141 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.7735, allocations: 10.34 kB / 1.603 GB, free: 0.9062 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.7735, allocations: 16 kB / 1.603 GB, free: 0.8906 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008358/0.7744, allocations: 217.5 kB / 1.603 GB, free: 0.6719 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.7757, allocations: 307.5 kB / 1.604 GB, free: 380 kB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6554/1.431, allocations: 4.149 MB / 1.608 GB, free: 281 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/1.433, allocations: 122.6 kB / 1.608 GB, free: 281 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/1.433, allocations: 67.53 kB / 1.608 GB, free: 281 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (159): * Single equations (assignments): 155 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0009031/1.434, allocations: 0.5622 MB / 1.608 GB, free: 280.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006505/1.435, allocations: 197.8 kB / 1.608 GB, free: 280.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/1.439, allocations: 1.483 MB / 1.61 GB, free: 280.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.439, allocations: 8.344 kB / 1.61 GB, free: 280.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.439, allocations: 4.469 kB / 1.61 GB, free: 280.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002471/1.441, allocations: 1.264 MB / 1.611 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02712/1.468, allocations: 9.289 MB / 1.62 GB, free: 276.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/1.468, allocations: 4.875 kB / 1.62 GB, free: 276.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008798/1.469, allocations: 175.3 kB / 1.62 GB, free: 276.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005473/1.47, allocations: 157.5 kB / 1.621 GB, free: 276.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-05/1.47, allocations: 30.25 kB / 1.621 GB, free: 276.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002725/1.472, allocations: 2.388 MB / 1.623 GB, free: 274.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.969e-05/1.472, allocations: 10.25 kB / 1.623 GB, free: 274.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00433/1.477, allocations: 1.9 MB / 1.625 GB, free: 273.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/1.478, allocations: 413.3 kB / 1.625 GB, free: 273.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000345/1.478, allocations: 24.8 kB / 1.625 GB, free: 273.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/1.48, allocations: 89.09 kB / 1.625 GB, free: 273.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/1.48, allocations: 72.97 kB / 1.625 GB, free: 273.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.54e-05/1.48, allocations: 40.05 kB / 1.625 GB, free: 273.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002581/1.482, allocations: 1.391 MB / 1.627 GB, free: 272.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/1.482, allocations: 0 / 1.627 GB, free: 272.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0048/1.487, allocations: 1.391 MB / 1.628 GB, free: 272.8 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (80): * Single equations (assignments): 77 * 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.006917/1.494, allocations: 1.326 MB / 1.629 GB, free: 272.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003925/1.498, allocations: 1.576 MB / 1.631 GB, free: 271.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.498, allocations: 1.438 kB / 1.631 GB, free: 271.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/1.5, allocations: 0.6236 MB / 1.632 GB, free: 271.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004648/1.504, allocations: 0.9603 MB / 1.633 GB, free: 271.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00868/1.513, allocations: 3.823 MB / 1.636 GB, free: 269.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/1.514, allocations: 1.482 MB / 1.638 GB, free: 268.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002338/1.517, allocations: 394.1 kB / 1.638 GB, free: 268.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007298/1.517, allocations: 171 kB / 1.638 GB, free: 268.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.553e-06/1.517, allocations: 4 kB / 1.638 GB, free: 268.4 MB / 1.295 GB Notification: Performance of Templates: time 0.0931/1.61, allocations: 71.54 MB / 1.708 GB, free: 208.7 MB / 1.295 GB " [Timeout remaining time 298] 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=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.7276901002042]