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.00204/0.00204, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002333/0.002333, allocations: 212 kB / 22.24 MB, free: 5.262 MB / 14.72 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.407/3.407, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 67.28 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3689, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2449/0.6138, allocations: 169.1 MB / 1.491 GB, free: 8.168 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0555/0.6693, allocations: 24.16 MB / 1.514 GB, free: 15.94 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003711/0.6731, allocations: 79.38 kB / 1.514 GB, free: 15.86 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.008815/0.6819, allocations: 2.012 MB / 1.516 GB, free: 13.84 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01834/0.7002, allocations: 4.554 MB / 1.521 GB, free: 9.277 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.009603/0.7098, allocations: 2.536 MB / 1.523 GB, free: 6.746 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01391/0.7237, allocations: 7.634 MB / 1.531 GB, free: 15.09 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003506/0.7272, allocations: 1.251 MB / 1.532 GB, free: 13.8 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008773/0.736, allocations: 3.025 MB / 1.535 GB, free: 10.77 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003499/0.7395, allocations: 1.374 MB / 1.536 GB, free: 9.391 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0008439/0.7403, allocations: 192 kB / 1.536 GB, free: 9.203 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01139/0.7517, allocations: 4.251 MB / 1.541 GB, free: 4.945 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001377/0.7531, allocations: 0.6617 MB / 1.541 GB, free: 4.281 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.002575/0.7557, allocations: 0.9254 MB / 1.542 GB, free: 3.352 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.7695, allocations: 5.592 MB / 1.548 GB, free: 13.74 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.7695, allocations: 4 kB / 1.548 GB, free: 13.74 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7695, allocations: 0 / 1.548 GB, free: 13.74 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001337/0.7697, allocations: 0 / 1.548 GB, free: 13.74 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.008447/0.7781, allocations: 2.794 MB / 1.55 GB, free: 10.89 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.7781, allocations: 12.03 kB / 1.55 GB, free: 10.88 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005096/0.7832, allocations: 0.6658 MB / 1.551 GB, free: 10.21 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006888/0.7901, allocations: 2.711 MB / 1.554 GB, free: 7.453 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.7903, allocations: 82.09 kB / 1.554 GB, free: 7.371 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004178/0.7907, allocations: 112 kB / 1.554 GB, free: 7.262 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003945/0.7946, allocations: 1.565 MB / 1.555 GB, free: 5.555 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.962e-05/0.7947, allocations: 3.984 kB / 1.555 GB, free: 5.551 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/0.7948, allocations: 48 kB / 1.555 GB, free: 5.504 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.7949, allocations: 31.88 kB / 1.555 GB, free: 5.473 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003288/0.7982, allocations: 1.116 MB / 1.556 GB, free: 4.355 MB / 1.248 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.01085/0.809, allocations: 5.243 MB / 1.562 GB, free: 14.96 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.8112, allocations: 0.7655 MB / 1.562 GB, free: 14.17 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009148/0.8121, allocations: 372.4 kB / 1.563 GB, free: 13.8 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007484/0.8196, allocations: 1.862 MB / 1.564 GB, free: 11.93 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001583/0.8212, allocations: 0.6787 MB / 1.565 GB, free: 11.18 MB / 1.264 GB Notification: Performance of pre-optimization done (n=67): time 3.737e-06/0.8212, allocations: 3.938 kB / 1.565 GB, free: 11.18 MB / 1.264 GB Notification: Performance of matching and sorting (n=81): time 0.06074/0.8819, allocations: 18.7 MB / 1.583 GB, free: 8.438 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.8821, allocations: 162.9 kB / 1.584 GB, free: 8.242 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003966/0.886, allocations: 1.955 MB / 1.585 GB, free: 6.238 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001854/0.8862, allocations: 49.77 kB / 1.586 GB, free: 6.184 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.8873, allocations: 0.8781 MB / 1.586 GB, free: 5.297 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004837/0.8878, allocations: 309.4 kB / 1.587 GB, free: 4.992 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006885/0.8885, allocations: 335.4 kB / 1.587 GB, free: 4.66 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.8887, allocations: 305.1 kB / 1.587 GB, free: 4.359 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.8903, allocations: 0.6559 MB / 1.588 GB, free: 3.703 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/0.8924, allocations: 1.233 MB / 1.589 GB, free: 2.266 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003271/0.8957, allocations: 1.622 MB / 1.591 GB, free: 0.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/0.8957, allocations: 4 kB / 1.591 GB, free: 0.4961 MB / 1.279 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005541/0.9013, allocations: 2.1 MB / 1.593 GB, free: 14.38 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.9013, allocations: 8 kB / 1.593 GB, free: 14.37 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/0.9013, allocations: 12 kB / 1.593 GB, free: 14.36 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008822/0.9022, allocations: 221.7 kB / 1.593 GB, free: 14.13 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.9035, allocations: 315.5 kB / 1.593 GB, free: 13.82 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005842/0.9093, allocations: 3.873 MB / 1.597 GB, free: 9.758 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.9115, allocations: 119.1 kB / 1.597 GB, free: 9.645 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000308/0.9118, allocations: 67.97 kB / 1.597 GB, free: 9.578 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.001364/0.9132, allocations: 0.5637 MB / 1.598 GB, free: 9.004 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009391/0.9141, allocations: 190.8 kB / 1.598 GB, free: 8.816 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/0.9186, allocations: 1.492 MB / 1.599 GB, free: 7.312 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.9186, allocations: 8 kB / 1.599 GB, free: 7.305 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.9186, allocations: 4 kB / 1.599 GB, free: 7.301 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003112/0.9218, allocations: 1.269 MB / 1.601 GB, free: 5.957 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7968/1.719, allocations: 8.015 MB / 1.609 GB, free: 270.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/1.719, allocations: 9.344 kB / 1.609 GB, free: 270.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008971/1.719, allocations: 183 kB / 1.609 GB, free: 270.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006024/1.72, allocations: 156.2 kB / 1.609 GB, free: 270.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.826e-05/1.72, allocations: 34.64 kB / 1.609 GB, free: 270.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/1.723, allocations: 2.214 MB / 1.611 GB, free: 268.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.723, allocations: 8.562 kB / 1.611 GB, free: 268.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004411/1.727, allocations: 1.906 MB / 1.613 GB, free: 268 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009754/1.728, allocations: 321.2 kB / 1.613 GB, free: 267.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/1.729, allocations: 25.81 kB / 1.613 GB, free: 267.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/1.73, allocations: 85.2 kB / 1.613 GB, free: 267.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/1.73, allocations: 82.41 kB / 1.613 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.936e-05/1.73, allocations: 38.84 kB / 1.613 GB, free: 267.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002278/1.732, allocations: 1.33 MB / 1.615 GB, free: 267.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.732, allocations: 0 / 1.615 GB, free: 267.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004217/1.737, allocations: 1.382 MB / 1.616 GB, free: 267.2 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 (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.006528/1.743, allocations: 1.329 MB / 1.617 GB, free: 267.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004219/1.747, allocations: 1.579 MB / 1.619 GB, free: 266.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/1.747, allocations: 1.5 kB / 1.619 GB, free: 266.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001675/1.749, allocations: 0.6261 MB / 1.62 GB, free: 266.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004087/1.753, allocations: 0.8919 MB / 1.62 GB, free: 265.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006574/1.76, allocations: 3.818 MB / 1.624 GB, free: 264 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/1.761, allocations: 0.9072 MB / 1.625 GB, free: 263.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001849/1.763, allocations: 380.5 kB / 1.625 GB, free: 263.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005014/1.763, allocations: 160.9 kB / 1.626 GB, free: 263.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.412e-06/1.763, allocations: 1.375 kB / 1.626 GB, free: 263.6 MB / 1.295 GB Notification: Performance of Templates: time 0.08809/1.851, allocations: 73.84 MB / 1.698 GB, free: 210.3 MB / 1.295 GB " [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.92609348706901]