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.001757/0.001757, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002306/0.002306, allocations: 208.2 kB / 22.99 MB, free: 4.984 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.612/1.612, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.352/3.352, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.002045/0.002045, allocations: 69.31 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3846, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2289/0.6135, allocations: 169.1 MB / 1.492 GB, free: 7.277 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.04011/0.6536, allocations: 24.18 MB / 1.516 GB, free: 15.04 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002929/0.6565, allocations: 83.38 kB / 1.516 GB, free: 14.96 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006391/0.6629, allocations: 2.007 MB / 1.518 GB, free: 12.94 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01344/0.6763, allocations: 4.549 MB / 1.522 GB, free: 8.379 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.007099/0.6834, allocations: 2.553 MB / 1.525 GB, free: 5.832 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01297/0.6964, allocations: 7.675 MB / 1.532 GB, free: 14.14 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002804/0.6992, allocations: 1.263 MB / 1.533 GB, free: 12.84 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008154/0.7074, allocations: 3.049 MB / 1.536 GB, free: 9.785 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003494/0.7109, allocations: 1.445 MB / 1.538 GB, free: 8.336 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0006193/0.7115, allocations: 192 kB / 1.538 GB, free: 8.148 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01022/0.7217, allocations: 4.349 MB / 1.542 GB, free: 3.793 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.7229, allocations: 0.6618 MB / 1.543 GB, free: 3.129 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001827/0.7247, allocations: 0.9292 MB / 1.544 GB, free: 2.195 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.7369, allocations: 5.589 MB / 1.549 GB, free: 12.59 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.7369, allocations: 4 kB / 1.549 GB, free: 12.59 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7369, allocations: 4 kB / 1.549 GB, free: 12.58 MB / 1.248 GB Notification: Performance of Transformations before backend: time 7.641e-05/0.737, allocations: 0 / 1.549 GB, free: 12.58 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.007321/0.7443, allocations: 2.794 MB / 1.552 GB, free: 9.73 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.7444, allocations: 12.03 kB / 1.552 GB, free: 9.719 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005093/0.7495, allocations: 0.6619 MB / 1.553 GB, free: 9.055 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006257/0.7557, allocations: 2.711 MB / 1.555 GB, free: 6.301 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.7559, allocations: 86.09 kB / 1.555 GB, free: 6.215 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003094/0.7562, allocations: 112 kB / 1.556 GB, free: 6.105 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003215/0.7594, allocations: 1.573 MB / 1.557 GB, free: 4.391 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.7594, allocations: 3.938 kB / 1.557 GB, free: 4.387 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.7595, allocations: 44 kB / 1.557 GB, free: 4.344 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.7596, allocations: 27.94 kB / 1.557 GB, free: 4.316 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002873/0.7624, allocations: 1.12 MB / 1.558 GB, free: 3.195 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.01004/0.7725, allocations: 5.236 MB / 1.563 GB, free: 13.8 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/0.7746, allocations: 0.7742 MB / 1.564 GB, free: 13.01 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000929/0.7755, allocations: 368.6 kB / 1.564 GB, free: 12.64 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007394/0.7829, allocations: 1.87 MB / 1.566 GB, free: 10.77 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001494/0.7844, allocations: 0.6749 MB / 1.567 GB, free: 10.02 MB / 1.264 GB Notification: Performance of pre-optimization done (n=67): time 2.955e-06/0.7844, allocations: 0 / 1.567 GB, free: 10.02 MB / 1.264 GB Notification: Performance of matching and sorting (n=81): time 0.05564/0.8401, allocations: 18.71 MB / 1.585 GB, free: 7.27 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.8402, allocations: 162.9 kB / 1.585 GB, free: 7.074 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003281/0.8435, allocations: 1.955 MB / 1.587 GB, free: 5.07 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001851/0.8437, allocations: 41.7 kB / 1.587 GB, free: 5.023 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009626/0.8446, allocations: 0.882 MB / 1.588 GB, free: 4.133 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004236/0.8451, allocations: 305.4 kB / 1.588 GB, free: 3.832 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005819/0.8456, allocations: 339.4 kB / 1.589 GB, free: 3.496 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.8458, allocations: 305.1 kB / 1.589 GB, free: 3.195 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.8472, allocations: 0.6481 MB / 1.59 GB, free: 2.547 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00197/0.8492, allocations: 1.24 MB / 1.591 GB, free: 1.102 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/0.8523, allocations: 1.622 MB / 1.593 GB, free: 15.34 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.8523, allocations: 4 kB / 1.593 GB, free: 15.33 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.00527/0.8575, allocations: 2.1 MB / 1.595 GB, free: 13.21 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.8576, allocations: 10.5 kB / 1.595 GB, free: 13.21 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/0.8576, allocations: 12 kB / 1.595 GB, free: 13.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008766/0.8585, allocations: 225.5 kB / 1.595 GB, free: 12.97 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.8598, allocations: 303.5 kB / 1.595 GB, free: 12.67 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005575/0.8654, allocations: 3.867 MB / 1.599 GB, free: 8.605 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/0.8675, allocations: 108.1 kB / 1.599 GB, free: 8.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/0.8677, allocations: 67.98 kB / 1.599 GB, free: 8.434 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.00113/0.8688, allocations: 0.5675 MB / 1.6 GB, free: 7.855 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000749/0.8696, allocations: 186.8 kB / 1.6 GB, free: 7.672 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004074/0.8736, allocations: 1.482 MB / 1.601 GB, free: 6.176 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.8737, allocations: 8 kB / 1.601 GB, free: 6.168 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.8737, allocations: 4 kB / 1.601 GB, free: 6.164 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002974/0.8766, allocations: 1.277 MB / 1.602 GB, free: 4.812 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7803/1.657, allocations: 8.033 MB / 1.61 GB, free: 269.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/1.657, allocations: 5.562 kB / 1.61 GB, free: 269.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008983/1.658, allocations: 182.7 kB / 1.611 GB, free: 269.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005966/1.658, allocations: 152.6 kB / 1.611 GB, free: 269.4 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.124e-05/1.659, allocations: 33.08 kB / 1.611 GB, free: 269.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002831/1.661, allocations: 2.213 MB / 1.613 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/1.661, allocations: 6.094 kB / 1.613 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004471/1.666, allocations: 1.914 MB / 1.615 GB, free: 266.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.667, allocations: 318.7 kB / 1.615 GB, free: 266.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003065/1.667, allocations: 25.95 kB / 1.615 GB, free: 266.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/1.669, allocations: 88.78 kB / 1.615 GB, free: 266.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/1.669, allocations: 75.64 kB / 1.615 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.776e-05/1.669, allocations: 40.5 kB / 1.615 GB, free: 266.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002354/1.671, allocations: 1.335 MB / 1.617 GB, free: 266.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.2e-07/1.671, allocations: 0 / 1.617 GB, free: 266.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005101/1.676, allocations: 1.383 MB / 1.618 GB, free: 266 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.008077/1.684, allocations: 1.328 MB / 1.619 GB, free: 265.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004762/1.689, allocations: 1.582 MB / 1.621 GB, free: 265.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-05/1.689, allocations: 1.156 kB / 1.621 GB, free: 265.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001951/1.691, allocations: 0.6277 MB / 1.621 GB, free: 264.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004429/1.696, allocations: 0.8913 MB / 1.622 GB, free: 264.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007347/1.703, allocations: 3.814 MB / 1.626 GB, free: 262.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/1.704, allocations: 0.8987 MB / 1.627 GB, free: 262.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002067/1.706, allocations: 390.3 kB / 1.627 GB, free: 262.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005389/1.707, allocations: 158.9 kB / 1.627 GB, free: 262.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.102e-06/1.707, allocations: 0 / 1.627 GB, free: 262.4 MB / 1.295 GB Notification: Performance of Templates: time 0.09477/1.801, allocations: 74.18 MB / 1.7 GB, free: 208.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 -s cvode -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/jenkins1/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.367643644000054]