Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001407/0.001407, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001739/0.001739, allocations: 216.2 kB / 23.01 MB, free: 4.566 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.205/3.205, allocations: 0.505 GB / 0.8108 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002213/0.002213, allocations: 68.33 kB / 1.178 GB, free: 16.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3771, allocations: 180.2 MB / 1.354 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2287/0.6058, allocations: 194.3 MB / 1.544 GB, free: 4.965 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03789/0.6437, allocations: 26.42 MB / 1.57 GB, free: 10.47 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003065/0.6467, allocations: 79.38 kB / 1.57 GB, free: 10.39 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.006335/0.6531, allocations: 2.108 MB / 1.572 GB, free: 8.281 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01247/0.6655, allocations: 4.577 MB / 1.576 GB, free: 3.688 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.006643/0.6722, allocations: 2.572 MB / 1.579 GB, free: 1.121 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01244/0.6846, allocations: 7.661 MB / 1.586 GB, free: 9.445 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002519/0.6871, allocations: 1.259 MB / 1.587 GB, free: 8.148 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006941/0.6941, allocations: 2.699 MB / 1.59 GB, free: 5.441 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/0.697, allocations: 1.452 MB / 1.591 GB, free: 3.984 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0003825/0.6974, allocations: 204 kB / 1.592 GB, free: 3.785 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01034/0.7077, allocations: 4.864 MB / 1.596 GB, free: 14.91 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001157/0.7089, allocations: 0.6891 MB / 1.597 GB, free: 14.22 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001952/0.7108, allocations: 1.213 MB / 1.598 GB, free: 13 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01202/0.7228, allocations: 5.772 MB / 1.604 GB, free: 7.215 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.7228, allocations: 4 kB / 1.604 GB, free: 7.211 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7228, allocations: 3.938 kB / 1.604 GB, free: 7.207 MB / 1.295 GB Notification: Performance of Transformations before backend: time 6.47e-05/0.7229, allocations: 0 / 1.604 GB, free: 7.207 MB / 1.295 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.00681/0.7297, allocations: 2.837 MB / 1.607 GB, free: 4.312 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.7298, allocations: 11.97 kB / 1.607 GB, free: 4.301 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00446/0.7342, allocations: 0.662 MB / 1.607 GB, free: 3.637 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005882/0.7401, allocations: 2.797 MB / 1.61 GB, free: 0.8008 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.392e-05/0.7402, allocations: 82.09 kB / 1.61 GB, free: 0.7188 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.7404, allocations: 112 kB / 1.61 GB, free: 0.6094 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7756/1.516, allocations: 1.33 MB / 1.612 GB, free: 253.4 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.249e-05/1.516, allocations: 5.375 kB / 1.612 GB, free: 253.4 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/1.516, allocations: 48.72 kB / 1.612 GB, free: 253.4 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/1.516, allocations: 30.8 kB / 1.612 GB, free: 253.4 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003225/1.519, allocations: 1.115 MB / 1.613 GB, free: 253.4 MB / 1.295 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.01024/1.53, allocations: 6.738 MB / 1.619 GB, free: 249.1 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/1.532, allocations: 0.7637 MB / 1.62 GB, free: 248.7 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000875/1.533, allocations: 368.1 kB / 1.62 GB, free: 248.6 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00795/1.541, allocations: 1.862 MB / 1.622 GB, free: 248.6 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001338/1.542, allocations: 0.4963 MB / 1.623 GB, free: 248.3 MB / 1.295 GB Notification: Performance of pre-optimization done (n=67): time 2.545e-06/1.542, allocations: 2.844 kB / 1.623 GB, free: 248.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=81): time 0.05459/1.597, allocations: 18.71 MB / 1.641 GB, free: 244.9 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/1.597, allocations: 168.5 kB / 1.641 GB, free: 244.7 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/1.6, allocations: 2.02 MB / 1.643 GB, free: 243.9 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/1.6, allocations: 43.83 kB / 1.643 GB, free: 243.9 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006164/1.6, allocations: 0.8804 MB / 1.644 GB, free: 243.3 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/1.601, allocations: 309.9 kB / 1.644 GB, free: 243.1 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004522/1.601, allocations: 331.8 kB / 1.645 GB, free: 242.9 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.625e-05/1.601, allocations: 302.5 kB / 1.645 GB, free: 242.6 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/1.602, allocations: 0.6552 MB / 1.646 GB, free: 242.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/1.604, allocations: 1.065 MB / 1.647 GB, free: 241.6 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/1.606, allocations: 1.631 MB / 1.648 GB, free: 240.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/1.606, allocations: 0 / 1.648 GB, free: 240.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.004075/1.61, allocations: 2.124 MB / 1.65 GB, free: 239.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/1.61, allocations: 11.91 kB / 1.65 GB, free: 239.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/1.61, allocations: 11.81 kB / 1.65 GB, free: 239.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007127/1.611, allocations: 227.3 kB / 1.65 GB, free: 239.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/1.612, allocations: 307.1 kB / 1.651 GB, free: 239.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003756/1.615, allocations: 3.943 MB / 1.655 GB, free: 235.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/1.618, allocations: 109.8 kB / 1.655 GB, free: 235.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/1.618, allocations: 66.48 kB / 1.655 GB, free: 235.9 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.0008893/1.619, allocations: 0.5669 MB / 1.655 GB, free: 235.5 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006174/1.619, allocations: 201 kB / 1.656 GB, free: 235.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003141/1.622, allocations: 1.478 MB / 1.657 GB, free: 234.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.622, allocations: 11.38 kB / 1.657 GB, free: 234.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.622, allocations: 3.75 kB / 1.657 GB, free: 234.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00225/1.625, allocations: 1.26 MB / 1.658 GB, free: 233.7 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02195/1.647, allocations: 8.454 MB / 1.666 GB, free: 225.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/1.647, allocations: 4 kB / 1.666 GB, free: 225.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007543/1.647, allocations: 175.8 kB / 1.667 GB, free: 225.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004923/1.648, allocations: 161.1 kB / 1.667 GB, free: 225.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.697e-05/1.648, allocations: 31.98 kB / 1.667 GB, free: 225.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002481/1.65, allocations: 2.278 MB / 1.669 GB, free: 222.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.65, allocations: 15.88 kB / 1.669 GB, free: 222.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003755/1.654, allocations: 1.901 MB / 1.671 GB, free: 220.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009602/1.655, allocations: 333 kB / 1.671 GB, free: 220.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002779/1.655, allocations: 27.98 kB / 1.671 GB, free: 220.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/1.657, allocations: 87.86 kB / 1.671 GB, free: 220.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.657, allocations: 80.41 kB / 1.671 GB, free: 220.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-05/1.657, allocations: 39.92 kB / 1.671 GB, free: 220.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001786/1.659, allocations: 1.398 MB / 1.673 GB, free: 218.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.3e-07/1.659, allocations: 0 / 1.673 GB, free: 218.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00503/1.664, allocations: 1.395 MB / 1.674 GB, free: 217.6 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.008441/1.672, allocations: 1.314 MB / 1.675 GB, free: 216.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003494/1.675, allocations: 1.585 MB / 1.677 GB, free: 215 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.487e-06/1.675, allocations: 4 kB / 1.677 GB, free: 215 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/1.677, allocations: 0.6247 MB / 1.678 GB, free: 214.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004102/1.681, allocations: 0.9569 MB / 1.679 GB, free: 213.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005937/1.687, allocations: 3.909 MB / 1.682 GB, free: 209.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007825/1.688, allocations: 1.483 MB / 1.684 GB, free: 207.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006362/1.688, allocations: 179.3 kB / 1.684 GB, free: 207.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.012e-06/1.688, allocations: 0 / 1.684 GB, free: 207.7 MB / 1.295 GB Notification: Performance of Templates: time 0.07467/1.763, allocations: 67.02 MB / 1.749 GB, free: 141.1 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 22.49162084099953]