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.001829/0.001829, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.002778/0.002778, allocations: 213.4 kB / 23.04 MB, free: 4.844 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.6/1.6, allocations: 230.6 MB / 256.8 MB, free: 7.734 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.232/3.232, allocations: 0.49 GB / 0.7959 GB, free: 35.66 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.002038/0.002038, allocations: 66.02 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3346, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2257/0.5603, allocations: 169.1 MB / 1.492 GB, free: 7.262 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03788/0.5982, allocations: 24.16 MB / 1.516 GB, free: 15.04 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00286/0.601, allocations: 87.38 kB / 1.516 GB, free: 14.95 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006107/0.6072, allocations: 2.008 MB / 1.518 GB, free: 12.94 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01274/0.6199, allocations: 4.549 MB / 1.522 GB, free: 8.375 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.006834/0.6267, allocations: 2.54 MB / 1.525 GB, free: 5.84 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01318/0.6399, allocations: 7.642 MB / 1.532 GB, free: 14.18 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002768/0.6427, allocations: 1.251 MB / 1.534 GB, free: 12.89 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007774/0.6504, allocations: 3.027 MB / 1.536 GB, free: 9.859 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003226/0.6537, allocations: 1.366 MB / 1.538 GB, free: 8.488 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0004634/0.6541, allocations: 196 kB / 1.538 GB, free: 8.297 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009793/0.6639, allocations: 4.244 MB / 1.542 GB, free: 4.047 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.6651, allocations: 0.6618 MB / 1.543 GB, free: 3.383 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.6669, allocations: 0.9253 MB / 1.544 GB, free: 2.453 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.679, allocations: 5.592 MB / 1.549 GB, free: 12.84 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.679, allocations: 0 / 1.549 GB, free: 12.84 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.545e-06/0.679, allocations: 4 kB / 1.549 GB, free: 12.84 MB / 1.248 GB Notification: Performance of Transformations before backend: time 8.426e-05/0.6791, allocations: 0 / 1.549 GB, free: 12.84 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.006902/0.686, allocations: 2.802 MB / 1.552 GB, free: 9.98 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.6861, allocations: 8.031 kB / 1.552 GB, free: 9.973 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004677/0.6907, allocations: 0.6658 MB / 1.553 GB, free: 9.305 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006079/0.6968, allocations: 2.719 MB / 1.555 GB, free: 6.543 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.6969, allocations: 82.08 kB / 1.555 GB, free: 6.461 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003133/0.6972, allocations: 112 kB / 1.555 GB, free: 6.352 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003426/0.7007, allocations: 1.565 MB / 1.557 GB, free: 4.645 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.859e-05/0.7007, allocations: 3.938 kB / 1.557 GB, free: 4.641 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.7008, allocations: 44 kB / 1.557 GB, free: 4.598 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.741e-05/0.7009, allocations: 31.94 kB / 1.557 GB, free: 4.566 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002892/0.7038, allocations: 1.12 MB / 1.558 GB, free: 3.445 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.009597/0.7134, allocations: 5.247 MB / 1.563 GB, free: 14.04 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.7155, allocations: 0.7608 MB / 1.564 GB, free: 13.25 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008767/0.7164, allocations: 372.6 kB / 1.564 GB, free: 12.88 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007059/0.7234, allocations: 1.866 MB / 1.566 GB, free: 11.01 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001412/0.7248, allocations: 0.6749 MB / 1.567 GB, free: 10.27 MB / 1.264 GB Notification: Performance of pre-optimization done (n=67): time 2.825e-06/0.7248, allocations: 0 / 1.567 GB, free: 10.27 MB / 1.264 GB Notification: Performance of matching and sorting (n=81): time 0.05455/0.7794, allocations: 18.72 MB / 1.585 GB, free: 7.512 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.7795, allocations: 162.9 kB / 1.585 GB, free: 7.316 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003053/0.7826, allocations: 1.955 MB / 1.587 GB, free: 5.312 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.7827, allocations: 49.7 kB / 1.587 GB, free: 5.258 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009185/0.7836, allocations: 0.8742 MB / 1.588 GB, free: 4.375 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.000341/0.784, allocations: 305.4 kB / 1.588 GB, free: 4.074 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005394/0.7845, allocations: 331.4 kB / 1.589 GB, free: 3.746 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.7846, allocations: 317.1 kB / 1.589 GB, free: 3.434 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.786, allocations: 0.6481 MB / 1.59 GB, free: 2.785 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/0.788, allocations: 1.233 MB / 1.591 GB, free: 1.348 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00298/0.7909, allocations: 1.626 MB / 1.592 GB, free: 15.58 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.7909, allocations: 4 kB / 1.592 GB, free: 15.57 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005005/0.7959, allocations: 2.096 MB / 1.594 GB, free: 13.46 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.796, allocations: 9.25 kB / 1.594 GB, free: 13.46 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.796, allocations: 12.47 kB / 1.594 GB, free: 13.45 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007923/0.7968, allocations: 229.5 kB / 1.595 GB, free: 13.21 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.798, allocations: 303.5 kB / 1.595 GB, free: 12.92 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005561/0.8036, allocations: 3.87 MB / 1.599 GB, free: 8.852 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/0.806, allocations: 115.9 kB / 1.599 GB, free: 8.738 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002383/0.8063, allocations: 59.98 kB / 1.599 GB, free: 8.68 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.001459/0.8077, allocations: 0.5689 MB / 1.599 GB, free: 8.102 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/0.8088, allocations: 190.8 kB / 1.6 GB, free: 7.914 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/0.8127, allocations: 1.487 MB / 1.601 GB, free: 6.406 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.8127, allocations: 12 kB / 1.601 GB, free: 6.395 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8127, allocations: 0 / 1.601 GB, free: 6.395 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00277/0.8155, allocations: 1.277 MB / 1.602 GB, free: 5.043 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7731/1.589, allocations: 8.022 MB / 1.61 GB, free: 269.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/1.589, allocations: 5.219 kB / 1.61 GB, free: 269.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008339/1.589, allocations: 177.7 kB / 1.61 GB, free: 269.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005473/1.59, allocations: 156 kB / 1.611 GB, free: 269.4 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.218e-05/1.59, allocations: 30.66 kB / 1.611 GB, free: 269.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/1.593, allocations: 2.22 MB / 1.613 GB, free: 267.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.593, allocations: 5.625 kB / 1.613 GB, free: 267.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00442/1.597, allocations: 1.907 MB / 1.615 GB, free: 267 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009154/1.598, allocations: 325.9 kB / 1.615 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/1.598, allocations: 25.88 kB / 1.615 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/1.6, allocations: 87.66 kB / 1.615 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/1.6, allocations: 79.91 kB / 1.615 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.352e-05/1.6, allocations: 37.34 kB / 1.615 GB, free: 266.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002419/1.602, allocations: 1.339 MB / 1.616 GB, free: 266.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.01e-07/1.602, allocations: 0 / 1.616 GB, free: 266.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005164/1.607, allocations: 1.383 MB / 1.618 GB, free: 266.3 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.007202/1.615, allocations: 1.334 MB / 1.619 GB, free: 266.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.00454/1.619, allocations: 1.577 MB / 1.621 GB, free: 265.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.877e-05/1.619, allocations: 1.625 kB / 1.621 GB, free: 265.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001805/1.621, allocations: 0.6246 MB / 1.621 GB, free: 265.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004792/1.626, allocations: 0.8818 MB / 1.622 GB, free: 264.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007051/1.633, allocations: 3.923 MB / 1.626 GB, free: 262.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/1.634, allocations: 0.9009 MB / 1.627 GB, free: 262.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007408/1.635, allocations: 172 kB / 1.627 GB, free: 262.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.172e-06/1.635, allocations: 0.6562 kB / 1.627 GB, free: 262.7 MB / 1.295 GB Notification: Performance of Templates: time 0.08643/1.721, allocations: 66.9 MB / 1.692 GB, free: 216 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] "" Variables in the reference: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 Variables in the result:bui.Q_flow,bui.sta_a.p,bui.vol.m_flow,bui.vol.port_a.h_outflow,bui.vol.port_b.h_outflow,bui.vol.sta_a.p,bui.vol.sta_b.p,time [Calling sys.exit(0), Time elapsed: 21.835489691002294]