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.002/0.002, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002832/0.002832, allocations: 209.3 kB / 23 MB, free: 4.973 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.435/3.435, 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.002065/0.002065, allocations: 69.8 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3867, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2298/0.6165, allocations: 169.1 MB / 1.492 GB, free: 7.289 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.04027/0.6568, allocations: 24.18 MB / 1.516 GB, free: 15.05 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003631/0.6604, allocations: 83.31 kB / 1.516 GB, free: 14.97 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006805/0.6672, allocations: 2.005 MB / 1.518 GB, free: 12.96 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01365/0.6809, allocations: 4.562 MB / 1.522 GB, free: 8.383 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.006935/0.6878, allocations: 2.541 MB / 1.525 GB, free: 5.848 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01346/0.7013, allocations: 7.678 MB / 1.532 GB, free: 14.15 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002838/0.7041, allocations: 1.266 MB / 1.534 GB, free: 12.85 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007387/0.7115, allocations: 3.037 MB / 1.536 GB, free: 9.805 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002893/0.7144, allocations: 1.452 MB / 1.538 GB, free: 8.348 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003849/0.7148, allocations: 192 kB / 1.538 GB, free: 8.16 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009313/0.7241, allocations: 4.349 MB / 1.542 GB, free: 3.805 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0009116/0.725, allocations: 0.6656 MB / 1.543 GB, free: 3.137 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.7266, allocations: 0.9254 MB / 1.544 GB, free: 2.207 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.7369, allocations: 5.589 MB / 1.549 GB, free: 12.6 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.737, allocations: 4 kB / 1.549 GB, free: 12.6 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.783e-06/0.737, allocations: 0 / 1.549 GB, free: 12.6 MB / 1.248 GB Notification: Performance of Transformations before backend: time 6.639e-05/0.737, allocations: 0 / 1.549 GB, free: 12.6 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.006991/0.744, allocations: 2.79 MB / 1.552 GB, free: 9.75 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.7441, allocations: 11.97 kB / 1.552 GB, free: 9.738 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004906/0.749, allocations: 0.6698 MB / 1.553 GB, free: 9.066 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006373/0.7553, allocations: 2.711 MB / 1.555 GB, free: 6.312 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.531e-05/0.7554, allocations: 82.09 kB / 1.555 GB, free: 6.23 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003065/0.7557, allocations: 112 kB / 1.556 GB, free: 6.121 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003203/0.7589, allocations: 1.561 MB / 1.557 GB, free: 4.418 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/0.759, allocations: 11.92 kB / 1.557 GB, free: 4.406 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.7591, allocations: 48 kB / 1.557 GB, free: 4.359 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-05/0.7591, allocations: 27.94 kB / 1.557 GB, free: 4.332 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002933/0.7621, allocations: 1.113 MB / 1.558 GB, free: 3.219 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.01006/0.7721, allocations: 5.243 MB / 1.563 GB, free: 13.82 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.7743, allocations: 0.7647 MB / 1.564 GB, free: 13.03 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000867/0.7751, allocations: 368.4 kB / 1.564 GB, free: 12.66 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00726/0.7824, allocations: 1.873 MB / 1.566 GB, free: 10.79 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001389/0.7838, allocations: 0.6751 MB / 1.567 GB, free: 10.04 MB / 1.264 GB Notification: Performance of pre-optimization done (n=67): time 2.925e-06/0.7838, allocations: 4 kB / 1.567 GB, free: 10.04 MB / 1.264 GB Notification: Performance of matching and sorting (n=81): time 0.05615/0.8399, allocations: 18.7 MB / 1.585 GB, free: 7.297 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/0.8401, allocations: 174.8 kB / 1.585 GB, free: 7.09 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003422/0.8435, allocations: 1.959 MB / 1.587 GB, free: 5.082 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000154/0.8437, allocations: 41.7 kB / 1.587 GB, free: 5.035 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/0.8448, allocations: 0.882 MB / 1.588 GB, free: 4.145 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004346/0.8452, allocations: 297.4 kB / 1.588 GB, free: 3.852 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005706/0.8458, allocations: 339.4 kB / 1.589 GB, free: 3.516 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.846, allocations: 313 kB / 1.589 GB, free: 3.207 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.8475, allocations: 0.652 MB / 1.59 GB, free: 2.555 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.8493, allocations: 1.229 MB / 1.591 GB, free: 1.121 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/0.8525, allocations: 1.622 MB / 1.593 GB, free: 15.36 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.8525, allocations: 4 kB / 1.593 GB, free: 15.35 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005024/0.8576, allocations: 2.096 MB / 1.595 GB, free: 13.24 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.8576, allocations: 12 kB / 1.595 GB, free: 13.23 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.8576, allocations: 12 kB / 1.595 GB, free: 13.21 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008182/0.8584, allocations: 214 kB / 1.595 GB, free: 13 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.8597, allocations: 311.5 kB / 1.595 GB, free: 12.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006507/0.8662, allocations: 3.873 MB / 1.599 GB, free: 8.625 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/0.8683, allocations: 117.6 kB / 1.599 GB, free: 8.512 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/0.8684, allocations: 67.98 kB / 1.599 GB, free: 8.445 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.001153/0.8696, allocations: 0.5715 MB / 1.6 GB, free: 7.863 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006926/0.8703, allocations: 186.8 kB / 1.6 GB, free: 7.68 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004119/0.8744, allocations: 1.478 MB / 1.601 GB, free: 6.188 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003084/0.8775, allocations: 1.273 MB / 1.602 GB, free: 4.84 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.8775, allocations: 4 kB / 1.602 GB, free: 4.836 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.8785, allocations: 330.5 kB / 1.603 GB, free: 4.512 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002559/0.8788, allocations: 20 kB / 1.603 GB, free: 4.492 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.88, allocations: 83.91 kB / 1.603 GB, free: 4.41 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.8801, allocations: 72.86 kB / 1.603 GB, free: 4.34 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004021/0.8841, allocations: 1.462 MB / 1.604 GB, free: 2.859 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004279/0.8884, allocations: 1.96 MB / 1.606 GB, free: 0.8828 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001019/0.8894, allocations: 439.8 kB / 1.607 GB, free: 464 kB / 1.295 GB Notification: Performance of sorting global known variables: time 0.6478/1.537, allocations: 1.33 MB / 1.608 GB, free: 269 MB / 1.295 GB Notification: Performance of Backend: time 6.81e-07/1.537, allocations: 0 / 1.608 GB, free: 269 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01209/1.549, allocations: 2.913 MB / 1.611 GB, free: 268.7 MB / 1.295 GB Notification: Performance of SimCode: time 0.00823/1.558, allocations: 4.63 MB / 1.615 GB, free: 266.8 MB / 1.295 GB Notification: Performance of Templates: time 0.1006/1.658, allocations: 80.01 MB / 1.694 GB, free: 214.2 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/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: 16.373546253002132]