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.001332/0.001332, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001475/0.001475, allocations: 211 kB / 22.99 MB, free: 4.957 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.3/3.3, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.002062/0.002062, allocations: 73.91 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.339, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2182/0.5572, allocations: 169.1 MB / 1.492 GB, free: 7.32 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03639/0.5936, allocations: 24.16 MB / 1.516 GB, free: 15.1 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/0.5963, allocations: 83.38 kB / 1.516 GB, free: 15.02 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00594/0.6023, allocations: 2.014 MB / 1.518 GB, free: 13 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.6142, allocations: 4.552 MB / 1.522 GB, free: 8.43 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.006222/0.6204, allocations: 2.555 MB / 1.525 GB, free: 5.879 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01172/0.6321, allocations: 7.669 MB / 1.532 GB, free: 14.19 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00238/0.6345, allocations: 1.263 MB / 1.533 GB, free: 12.89 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006832/0.6413, allocations: 3.034 MB / 1.536 GB, free: 9.852 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002645/0.644, allocations: 1.456 MB / 1.538 GB, free: 8.391 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0004032/0.6444, allocations: 199.9 kB / 1.538 GB, free: 8.195 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01002/0.6544, allocations: 4.357 MB / 1.542 GB, free: 3.832 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.6554, allocations: 0.6579 MB / 1.543 GB, free: 3.172 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.657, allocations: 0.9254 MB / 1.544 GB, free: 2.242 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.6676, allocations: 5.596 MB / 1.549 GB, free: 12.63 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6676, allocations: 0 / 1.549 GB, free: 12.63 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6676, allocations: 4 kB / 1.549 GB, free: 12.62 MB / 1.248 GB Notification: Performance of Transformations before backend: time 4.981e-05/0.6677, allocations: 0 / 1.549 GB, free: 12.62 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.006053/0.6737, allocations: 2.794 MB / 1.552 GB, free: 9.773 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.6738, allocations: 12.03 kB / 1.552 GB, free: 9.762 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004788/0.6785, allocations: 0.658 MB / 1.553 GB, free: 9.102 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005488/0.684, allocations: 2.711 MB / 1.555 GB, free: 6.348 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.19e-05/0.6841, allocations: 86.09 kB / 1.555 GB, free: 6.262 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002275/0.6844, allocations: 108 kB / 1.556 GB, free: 6.156 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003007/0.6874, allocations: 1.571 MB / 1.557 GB, free: 4.445 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.6874, allocations: 0 / 1.557 GB, free: 4.445 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.6875, allocations: 48 kB / 1.557 GB, free: 4.398 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.6876, allocations: 31.94 kB / 1.557 GB, free: 4.367 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002823/0.6904, allocations: 1.12 MB / 1.558 GB, free: 3.246 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.009435/0.6998, allocations: 5.239 MB / 1.563 GB, free: 13.85 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/0.7018, allocations: 0.7654 MB / 1.564 GB, free: 13.06 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008503/0.7027, allocations: 366.6 kB / 1.564 GB, free: 12.7 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007263/0.71, allocations: 1.874 MB / 1.566 GB, free: 10.82 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001279/0.7112, allocations: 0.6711 MB / 1.567 GB, free: 10.08 MB / 1.264 GB Notification: Performance of pre-optimization done (n=67): time 2.374e-06/0.7112, allocations: 0 / 1.567 GB, free: 10.08 MB / 1.264 GB Notification: Performance of matching and sorting (n=81): time 0.05535/0.7666, allocations: 18.71 MB / 1.585 GB, free: 7.324 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.7667, allocations: 166.9 kB / 1.585 GB, free: 7.125 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003168/0.7699, allocations: 1.951 MB / 1.587 GB, free: 5.125 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.77, allocations: 49.69 kB / 1.587 GB, free: 5.07 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009444/0.771, allocations: 0.8703 MB / 1.588 GB, free: 4.191 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.7713, allocations: 313.3 kB / 1.588 GB, free: 3.883 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005401/0.7718, allocations: 335.4 kB / 1.589 GB, free: 3.551 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.772, allocations: 313.1 kB / 1.589 GB, free: 3.242 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.7733, allocations: 0.6481 MB / 1.59 GB, free: 2.594 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/0.7752, allocations: 1.225 MB / 1.591 GB, free: 1.164 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/0.7782, allocations: 1.622 MB / 1.593 GB, free: 15.4 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.7782, allocations: 4 kB / 1.593 GB, free: 15.39 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.00501/0.7832, allocations: 2.1 MB / 1.595 GB, free: 13.28 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.7832, allocations: 11.98 kB / 1.595 GB, free: 13.27 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.7832, allocations: 12.47 kB / 1.595 GB, free: 13.25 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008318/0.7841, allocations: 221.6 kB / 1.595 GB, free: 13.03 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.7853, allocations: 307.5 kB / 1.595 GB, free: 12.73 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005715/0.791, allocations: 3.881 MB / 1.599 GB, free: 8.652 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.7933, allocations: 113.7 kB / 1.599 GB, free: 8.543 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/0.7935, allocations: 67.97 kB / 1.599 GB, free: 8.477 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.001135/0.7946, allocations: 0.5636 MB / 1.6 GB, free: 7.902 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006858/0.7953, allocations: 186.8 kB / 1.6 GB, free: 7.719 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003943/0.7993, allocations: 1.488 MB / 1.601 GB, free: 6.215 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.7993, allocations: 8 kB / 1.601 GB, free: 6.207 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.7993, allocations: 4 kB / 1.601 GB, free: 6.203 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002889/0.8022, allocations: 1.273 MB / 1.603 GB, free: 4.855 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7956/1.598, allocations: 8.02 MB / 1.61 GB, free: 269.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/1.598, allocations: 7.844 kB / 1.61 GB, free: 269.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008751/1.599, allocations: 183.6 kB / 1.611 GB, free: 269.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005896/1.599, allocations: 157.8 kB / 1.611 GB, free: 269.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.739e-05/1.599, allocations: 32.45 kB / 1.611 GB, free: 269.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002786/1.602, allocations: 2.214 MB / 1.613 GB, free: 267.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/1.602, allocations: 9.625 kB / 1.613 GB, free: 267.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004577/1.607, allocations: 1.907 MB / 1.615 GB, free: 266.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/1.608, allocations: 322 kB / 1.615 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003285/1.608, allocations: 25.52 kB / 1.615 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/1.61, allocations: 87.05 kB / 1.615 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/1.61, allocations: 79.45 kB / 1.615 GB, free: 266.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/1.61, allocations: 36.81 kB / 1.615 GB, free: 266.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002302/1.612, allocations: 1.336 MB / 1.617 GB, free: 266 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.612, allocations: 0 / 1.617 GB, free: 266 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005059/1.617, allocations: 1.384 MB / 1.618 GB, free: 265.9 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.007479/1.625, allocations: 1.326 MB / 1.619 GB, free: 265.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004529/1.629, allocations: 1.582 MB / 1.621 GB, free: 265.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/1.629, allocations: 2.375 kB / 1.621 GB, free: 265.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001849/1.631, allocations: 0.6237 MB / 1.621 GB, free: 264.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004234/1.635, allocations: 0.898 MB / 1.622 GB, free: 264.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007016/1.642, allocations: 3.815 MB / 1.626 GB, free: 262.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/1.644, allocations: 0.899 MB / 1.627 GB, free: 262.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002036/1.646, allocations: 386.5 kB / 1.627 GB, free: 262.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/1.646, allocations: 161.6 kB / 1.627 GB, free: 262.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.673e-06/1.646, allocations: 0 / 1.627 GB, free: 262.3 MB / 1.295 GB Notification: Performance of Templates: time 0.09136/1.738, allocations: 74.17 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 gbode -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: 14.981831960001728]