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.001847/0.001847, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.002203/0.002203, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.512/1.512, allocations: 230.5 MB / 252.8 MB, free: 9.141 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.324/3.324, allocations: 0.4899 GB / 0.7915 GB, free: 33.11 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.002086/0.002086, allocations: 63.78 kB / 1.149 GB, free: 26.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3719, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2404/0.6124, allocations: 193.6 MB / 1.51 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03808/0.6504, allocations: 26.26 MB / 1.536 GB, free: 6.176 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003097/0.6535, allocations: 79.38 kB / 1.536 GB, free: 6.098 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.005989/0.6595, allocations: 2.032 MB / 1.538 GB, free: 4.059 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01335/0.6729, allocations: 4.497 MB / 1.542 GB, free: 15.55 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.006794/0.6797, allocations: 2.524 MB / 1.545 GB, free: 13.03 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.01196/0.6916, allocations: 7.481 MB / 1.552 GB, free: 5.535 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002634/0.6943, allocations: 1.285 MB / 1.553 GB, free: 4.215 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006667/0.7009, allocations: 2.656 MB / 1.556 GB, free: 1.551 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002919/0.7038, allocations: 1.448 MB / 1.557 GB, free: 96 kB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004948/0.7043, allocations: 208 kB / 1.558 GB, free: 15.89 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009845/0.7142, allocations: 4.782 MB / 1.562 GB, free: 11.1 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.7153, allocations: 0.6774 MB / 1.563 GB, free: 10.42 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001863/0.7172, allocations: 1.213 MB / 1.564 GB, free: 9.203 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.7292, allocations: 5.776 MB / 1.57 GB, free: 3.41 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7292, allocations: 0 / 1.57 GB, free: 3.41 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7292, allocations: 0 / 1.57 GB, free: 3.41 MB / 1.264 GB Notification: Performance of Transformations before backend: time 8.74e-05/0.7293, allocations: 0 / 1.57 GB, free: 3.41 MB / 1.264 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.007555/0.7369, allocations: 2.912 MB / 1.573 GB, free: 432 kB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.7369, allocations: 8.031 kB / 1.573 GB, free: 424 kB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004958/0.7419, allocations: 0.6658 MB / 1.573 GB, free: 15.75 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006515/0.7484, allocations: 2.885 MB / 1.576 GB, free: 12.81 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.977e-05/0.7485, allocations: 82.09 kB / 1.576 GB, free: 12.73 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002897/0.7488, allocations: 112 kB / 1.576 GB, free: 12.62 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/0.7518, allocations: 1.339 MB / 1.578 GB, free: 11.2 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.7519, allocations: 0 / 1.578 GB, free: 11.2 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.752, allocations: 47.98 kB / 1.578 GB, free: 11.15 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.752, allocations: 35.94 kB / 1.578 GB, free: 11.11 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002903/0.7549, allocations: 1.12 MB / 1.579 GB, free: 9.992 MB / 1.279 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.01025/0.7652, allocations: 6.779 MB / 1.585 GB, free: 2.836 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.7673, allocations: 0.7756 MB / 1.586 GB, free: 2.035 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008902/0.7682, allocations: 366.3 kB / 1.587 GB, free: 1.672 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008471/0.7767, allocations: 2.837 MB / 1.589 GB, free: 14.59 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001457/0.7781, allocations: 0.4975 MB / 1.59 GB, free: 14.07 MB / 1.295 GB Notification: Performance of pre-optimization done (n=67): time 3.096e-06/0.7781, allocations: 0 / 1.59 GB, free: 14.07 MB / 1.295 GB Notification: Performance of matching and sorting (n=81): time 0.7517/1.53, allocations: 18.85 MB / 1.608 GB, free: 271.8 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.604e-05/1.53, allocations: 165.3 kB / 1.608 GB, free: 271.6 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003599/1.533, allocations: 2.021 MB / 1.61 GB, free: 271 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/1.534, allocations: 42.17 kB / 1.61 GB, free: 270.9 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007271/1.534, allocations: 0.8806 MB / 1.611 GB, free: 270.3 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/1.535, allocations: 302 kB / 1.611 GB, free: 270.1 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004944/1.535, allocations: 335.1 kB / 1.612 GB, free: 270 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.497e-05/1.535, allocations: 303.6 kB / 1.612 GB, free: 269.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/1.537, allocations: 0.6485 MB / 1.613 GB, free: 269.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/1.538, allocations: 1.059 MB / 1.614 GB, free: 268.7 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003107/1.541, allocations: 1.629 MB / 1.615 GB, free: 267.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/1.541, allocations: 3.312 kB / 1.615 GB, free: 267.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.006169/1.547, allocations: 2.104 MB / 1.617 GB, free: 266.9 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/1.548, allocations: 9.781 kB / 1.617 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.443e-05/1.548, allocations: 10.53 kB / 1.617 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009589/1.549, allocations: 229.7 kB / 1.618 GB, free: 266.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/1.55, allocations: 310.3 kB / 1.618 GB, free: 266.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004361/1.554, allocations: 4.154 MB / 1.622 GB, free: 263.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/1.556, allocations: 119.2 kB / 1.622 GB, free: 263.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/1.557, allocations: 66.14 kB / 1.622 GB, free: 263.1 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.001034/1.558, allocations: 0.5576 MB / 1.623 GB, free: 262.7 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000707/1.558, allocations: 195.5 kB / 1.623 GB, free: 262.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003764/1.562, allocations: 1.489 MB / 1.624 GB, free: 262 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/1.562, allocations: 10.19 kB / 1.624 GB, free: 262 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.562, allocations: 4.859 kB / 1.624 GB, free: 262 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002681/1.565, allocations: 1.261 MB / 1.626 GB, free: 261.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02681/1.592, allocations: 9.298 MB / 1.635 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/1.592, allocations: 4.469 kB / 1.635 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000848/1.593, allocations: 179.3 kB / 1.635 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005612/1.593, allocations: 165.2 kB / 1.635 GB, free: 258.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.98e-05/1.593, allocations: 30.36 kB / 1.635 GB, free: 258.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00271/1.596, allocations: 2.379 MB / 1.637 GB, free: 256.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.596, allocations: 20.77 kB / 1.637 GB, free: 256.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004288/1.6, allocations: 1.904 MB / 1.639 GB, free: 255.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008609/1.601, allocations: 405.4 kB / 1.64 GB, free: 255 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004809/1.602, allocations: 30.52 kB / 1.64 GB, free: 255 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/1.603, allocations: 86.25 kB / 1.64 GB, free: 255 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/1.603, allocations: 78.77 kB / 1.64 GB, free: 254.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.599e-05/1.603, allocations: 39.03 kB / 1.64 GB, free: 254.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002377/1.606, allocations: 1.398 MB / 1.641 GB, free: 254.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/1.606, allocations: 0 / 1.641 GB, free: 254.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00457/1.61, allocations: 1.389 MB / 1.643 GB, free: 254.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 (80): * Single equations (assignments): 77 * 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.007874/1.618, allocations: 1.315 MB / 1.644 GB, free: 254 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003772/1.622, allocations: 1.576 MB / 1.645 GB, free: 253.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/1.622, allocations: 3.828 kB / 1.645 GB, free: 253.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/1.623, allocations: 0.6315 MB / 1.646 GB, free: 253 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004357/1.628, allocations: 0.9552 MB / 1.647 GB, free: 252.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006168/1.634, allocations: 3.806 MB / 1.651 GB, free: 250.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009071/1.635, allocations: 1.484 MB / 1.652 GB, free: 249.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001421/1.636, allocations: 393.7 kB / 1.653 GB, free: 249.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/1.637, allocations: 168.7 kB / 1.653 GB, free: 249.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.282e-06/1.637, allocations: 0 / 1.653 GB, free: 249.6 MB / 1.295 GB Notification: Performance of Templates: time 0.08061/1.717, allocations: 71.23 MB / 1.722 GB, free: 183 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.124240712728351]