Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 249.9 MB, free: 3.199 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.773/2.773, allocations: 476.7 MB / 0.7634 GB, free: 15.22 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|bui.Q_flow|bui.vol.m_flow|bui.vol.sta_a.T|bui.vol.sta_b.T|bui.sta_a.p|bui.vol.sta_a.p|bui.vol.sta_b.p|bui.vol.port_a.h_outflow|bui.vol.port_b.h_outflow|bui.steTra.port_a.h_outflow|bui.steTra.port_b.h_outflow",fileNamePrefix="Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") translateModel(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|bui.Q_flow|bui.vol.m_flow|bui.vol.sta_a.T|bui.vol.sta_b.T|bui.sta_a.p|bui.vol.sta_a.p|bui.vol.sta_b.p|bui.vol.port_a.h_outflow|bui.vol.port_b.h_outflow|bui.steTra.port_a.h_outflow|bui.steTra.port_b.h_outflow",fileNamePrefix="Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 59.91 kB / 1.108 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151/1.153, allocations: 168.7 MB / 1.272 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2712/1.424, allocations: 190.6 MB / 1.459 GB, free: 6.098 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.04608/1.471, allocations: 26.14 MB / 1.484 GB, free: 11.88 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003873/1.474, allocations: 67.62 kB / 1.484 GB, free: 11.82 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00741/1.482, allocations: 1.999 MB / 1.486 GB, free: 9.809 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01559/1.497, allocations: 4.487 MB / 1.49 GB, free: 5.312 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.007894/1.505, allocations: 2.415 MB / 1.493 GB, free: 2.902 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01548/1.521, allocations: 7.772 MB / 1.5 GB, free: 11.11 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003636/1.524, allocations: 1.289 MB / 1.502 GB, free: 9.781 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007881/1.532, allocations: 2.422 MB / 1.504 GB, free: 7.355 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003612/1.536, allocations: 1.49 MB / 1.505 GB, free: 5.859 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0009733/1.537, allocations: 208 kB / 1.506 GB, free: 5.656 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01269/1.55, allocations: 4.782 MB / 1.51 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001493/1.551, allocations: 0.693 MB / 1.511 GB, free: 176 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.003193/1.554, allocations: 1.221 MB / 1.512 GB, free: 14.95 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0146/1.569, allocations: 5.783 MB / 1.518 GB, free: 9.145 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/1.569, allocations: 0 / 1.518 GB, free: 9.145 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.024e-06/1.569, allocations: 0 / 1.518 GB, free: 9.145 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001491/1.569, allocations: 0 / 1.518 GB, free: 9.145 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.009594/1.579, allocations: 2.936 MB / 1.521 GB, free: 6.133 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/1.579, allocations: 12.03 kB / 1.521 GB, free: 6.121 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005351/1.584, allocations: 0.6619 MB / 1.521 GB, free: 5.457 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007611/1.592, allocations: 2.889 MB / 1.524 GB, free: 2.52 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/1.592, allocations: 86.05 kB / 1.524 GB, free: 2.434 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005038/1.592, allocations: 120 kB / 1.524 GB, free: 2.316 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004192/1.596, allocations: 1.336 MB / 1.526 GB, free: 0.8945 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.825e-05/1.597, allocations: 7.938 kB / 1.526 GB, free: 0.8867 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002592/1.597, allocations: 51.94 kB / 1.526 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.767e-05/1.597, allocations: 38 kB / 1.526 GB, free: 0.8008 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003328/1.6, allocations: 1.124 MB / 1.527 GB, free: 15.67 MB / 1.217 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.01313/1.613, allocations: 6.822 MB / 1.534 GB, free: 8.477 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002232/1.616, allocations: 0.7581 MB / 1.534 GB, free: 7.691 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009674/1.617, allocations: 372 kB / 1.535 GB, free: 7.32 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007965/1.624, allocations: 2.837 MB / 1.537 GB, free: 4.242 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00156/1.626, allocations: 0.4897 MB / 1.538 GB, free: 3.727 MB / 1.217 GB Notification: Performance of pre-optimization done (n=69): time 6.582e-06/1.626, allocations: 4 kB / 1.538 GB, free: 3.723 MB / 1.217 GB Notification: Performance of matching and sorting (n=83): time 0.05896/1.685, allocations: 18.97 MB / 1.556 GB, free: 0.6562 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/1.685, allocations: 170.9 kB / 1.557 GB, free: 460 kB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004675/1.69, allocations: 2.021 MB / 1.559 GB, free: 14.39 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002329/1.69, allocations: 41.7 kB / 1.559 GB, free: 14.34 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001234/1.691, allocations: 0.8864 MB / 1.559 GB, free: 13.45 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005905/1.692, allocations: 313.4 kB / 1.56 GB, free: 13.14 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008827/1.693, allocations: 339.4 kB / 1.56 GB, free: 12.8 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.693, allocations: 305.1 kB / 1.56 GB, free: 12.5 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/1.695, allocations: 0.6481 MB / 1.561 GB, free: 11.85 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/1.697, allocations: 1.062 MB / 1.562 GB, free: 10.63 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003351/1.7, allocations: 1.633 MB / 1.564 GB, free: 8.859 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.912e-05/1.7, allocations: 0 / 1.564 GB, free: 8.859 MB / 1.248 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.005809/1.706, allocations: 2.129 MB / 1.566 GB, free: 6.719 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/1.706, allocations: 9.875 kB / 1.566 GB, free: 6.711 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/1.706, allocations: 12 kB / 1.566 GB, free: 6.699 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008828/1.707, allocations: 217.8 kB / 1.566 GB, free: 6.48 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/1.708, allocations: 319.5 kB / 1.566 GB, free: 6.168 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006063/1.714, allocations: 4.157 MB / 1.57 GB, free: 1.727 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/1.717, allocations: 115.8 kB / 1.57 GB, free: 1.613 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003332/1.717, allocations: 63.97 kB / 1.57 GB, free: 1.551 MB / 1.248 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 (162): * Single equations (assignments): 158 * 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.001551/1.718, allocations: 0.5662 MB / 1.571 GB, free: 0.9766 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/1.72, allocations: 206.8 kB / 1.571 GB, free: 0.7734 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004787/1.724, allocations: 1.479 MB / 1.573 GB, free: 15.28 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/1.724, allocations: 15.92 kB / 1.573 GB, free: 15.26 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/1.724, allocations: 7.938 kB / 1.573 GB, free: 15.25 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00297/1.727, allocations: 1.262 MB / 1.574 GB, free: 13.92 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0281/1.755, allocations: 9.312 MB / 1.583 GB, free: 4.266 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/1.755, allocations: 8 kB / 1.583 GB, free: 4.258 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009431/1.756, allocations: 183.7 kB / 1.583 GB, free: 4.078 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006168/1.757, allocations: 152.9 kB / 1.583 GB, free: 3.926 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/1.757, allocations: 27.98 kB / 1.583 GB, free: 3.898 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003773/1.761, allocations: 2.382 MB / 1.586 GB, free: 1.379 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.761, allocations: 4 kB / 1.586 GB, free: 1.375 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005207/1.766, allocations: 1.917 MB / 1.588 GB, free: 15.37 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/1.767, allocations: 407.6 kB / 1.588 GB, free: 14.95 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006644/1.768, allocations: 27.98 kB / 1.588 GB, free: 14.92 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001793/1.77, allocations: 85.45 kB / 1.588 GB, free: 14.84 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/1.77, allocations: 76.36 kB / 1.588 GB, free: 14.77 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.77, allocations: 35.98 kB / 1.588 GB, free: 14.73 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003587/1.774, allocations: 1.41 MB / 1.59 GB, free: 13.3 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/1.774, allocations: 0 / 1.59 GB, free: 13.3 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.006367/1.78, allocations: 1.397 MB / 1.591 GB, free: 11.9 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 7 (bui.port_b.h_outflow,bui.IntEHea.y,bui.pumCNR.filter.s[1],bui.pumCNR.filter.s[2],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 (82): * Single equations (assignments): 79 * 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.008728/1.789, allocations: 1.329 MB / 1.592 GB, free: 10.73 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004843/1.794, allocations: 1.575 MB / 1.594 GB, free: 9.133 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.794, allocations: 0 / 1.594 GB, free: 9.133 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001894/1.796, allocations: 0.6278 MB / 1.594 GB, free: 8.492 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005507/1.801, allocations: 0.9593 MB / 1.595 GB, free: 7.566 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009678/1.811, allocations: 3.88 MB / 1.599 GB, free: 3.578 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002116/1.813, allocations: 1.498 MB / 1.601 GB, free: 2.051 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008825/1.814, allocations: 175.4 kB / 1.601 GB, free: 1.879 MB / 1.279 GB Notification: Performance of SimCode: time 1.653e-06/1.814, allocations: 0 / 1.601 GB, free: 1.879 MB / 1.279 GB Notification: Performance of Templates: time 0.1217/1.935, allocations: 67.2 MB / 1.666 GB, free: 15.06 MB / 1.357 GB [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.sta_a.T,bui.vol.sta_b.T,bui.sta_a.p,bui.vol.sta_a.p,bui.vol.sta_b.p,bui.vol.port_a.h_outflow,bui.vol.port_b.h_outflow,bui.steTra.port_a.h_outflow,bui.steTra.port_b.h_outflow Variables in the result:bui.Q_flow,bui.sta_a.p,bui.steTra.port_a.h_outflow,bui.steTra.port_b.h_outflow,bui.vol.m_flow,bui.vol.port_a.h_outflow,bui.vol.port_b.h_outflow,bui.vol.sta_a.T,bui.vol.sta_a.p,bui.vol.sta_b.T,bui.vol.sta_b.p,time