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.001024/0.001024, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001138/0.001138, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9336/0.9336, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.782/1.782, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.249e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.6073/0.6073, allocations: 168.8 MB / 1.147 GB, free: 15.16 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02933/0.6366, allocations: 24.11 MB / 1.171 GB, free: 15.32 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003159/0.6398, allocations: 79.81 kB / 1.171 GB, free: 15.28 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.00615/0.646, allocations: 2.024 MB / 1.173 GB, free: 14.39 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.01268/0.6586, allocations: 4.656 MB / 1.177 GB, free: 11.93 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.006053/0.6647, allocations: 2.607 MB / 1.18 GB, free: 10.78 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.01133/0.676, allocations: 8.535 MB / 1.188 GB, free: 7.336 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/0.6783, allocations: 1.262 MB / 1.189 GB, free: 6.648 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007723/0.6861, allocations: 3.646 MB / 1.193 GB, free: 4.961 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002884/0.689, allocations: 1.233 MB / 1.194 GB, free: 4.383 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0004439/0.6894, allocations: 195.5 kB / 1.194 GB, free: 4.379 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007989/0.6974, allocations: 3.954 MB / 1.198 GB, free: 2.406 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0007216/0.6981, allocations: 0.6782 MB / 1.199 GB, free: 1.91 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.6995, allocations: 0.7682 MB / 1.199 GB, free: 1.508 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.009549/0.7091, allocations: 5.827 MB / 1.205 GB, free: 13.54 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.7091, allocations: 0 / 1.205 GB, free: 13.54 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7091, allocations: 5.906 kB / 1.205 GB, free: 13.54 MB / 1.042 GB Notification: Performance of Transformations before backend: time 9.405e-05/0.7092, allocations: 0 / 1.205 GB, free: 13.54 MB / 1.042 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.005294/0.7145, allocations: 2.75 MB / 1.208 GB, free: 11.49 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.7145, allocations: 10.31 kB / 1.208 GB, free: 11.49 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/0.7168, allocations: 0.6662 MB / 1.209 GB, free: 11.18 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003635/0.7205, allocations: 3.006 MB / 1.211 GB, free: 9.082 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.7205, allocations: 81.97 kB / 1.212 GB, free: 9.047 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.7206, allocations: 116 kB / 1.212 GB, free: 9.004 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.7225, allocations: 1.576 MB / 1.213 GB, free: 7.832 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.7225, allocations: 0 / 1.213 GB, free: 7.832 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.024e-05/0.7226, allocations: 42.62 kB / 1.213 GB, free: 7.801 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.7226, allocations: 26.5 kB / 1.213 GB, free: 7.801 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.7242, allocations: 1.121 MB / 1.214 GB, free: 7.25 MB / 1.042 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.005623/0.7299, allocations: 5.146 MB / 1.219 GB, free: 3.105 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.731, allocations: 0.7834 MB / 1.22 GB, free: 2.66 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/0.7314, allocations: 365.5 kB / 1.22 GB, free: 2.473 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003414/0.7348, allocations: 1.863 MB / 1.222 GB, free: 1.746 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000737/0.7356, allocations: 0.6775 MB / 1.223 GB, free: 1.195 MB / 1.042 GB Notification: Performance of pre-optimization done (n=67): time 2.655e-06/0.7356, allocations: 4 kB / 1.223 GB, free: 1.191 MB / 1.042 GB Notification: Performance of matching and sorting (n=81): time 0.02849/0.7641, allocations: 18.72 MB / 1.241 GB, free: 52 kB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.7642, allocations: 170.9 kB / 1.241 GB, free: 15.84 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.7661, allocations: 1.823 MB / 1.243 GB, free: 13.97 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 7.491e-05/0.7661, allocations: 49.7 kB / 1.243 GB, free: 13.92 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006/0.7667, allocations: 0.918 MB / 1.244 GB, free: 12.99 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.767, allocations: 305.4 kB / 1.244 GB, free: 12.69 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.7672, allocations: 218.8 kB / 1.245 GB, free: 12.47 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.7673, allocations: 349.9 kB / 1.245 GB, free: 12.12 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006292/0.7679, allocations: 454.4 kB / 1.245 GB, free: 11.68 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008627/0.7688, allocations: 0.9752 MB / 1.246 GB, free: 10.51 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.7704, allocations: 1.252 MB / 1.248 GB, free: 9.117 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.7704, allocations: 0 / 1.248 GB, free: 9.117 MB / 1.073 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002519/0.773, allocations: 1.599 MB / 1.249 GB, free: 7.5 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.773, allocations: 9.875 kB / 1.249 GB, free: 7.492 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.773, allocations: 12 kB / 1.249 GB, free: 7.48 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004946/0.7735, allocations: 218 kB / 1.249 GB, free: 7.262 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.774, allocations: 255.6 kB / 1.25 GB, free: 7.012 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003173/0.7772, allocations: 3.865 MB / 1.253 GB, free: 2.945 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.7785, allocations: 104 kB / 1.253 GB, free: 2.844 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.7786, allocations: 59.97 kB / 1.254 GB, free: 2.785 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (125): * Single equations (assignments): 122 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.000972/0.7796, allocations: 0.5538 MB / 1.254 GB, free: 2.223 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005961/0.7802, allocations: 198.7 kB / 1.254 GB, free: 2.027 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.7825, allocations: 1.504 MB / 1.256 GB, free: 0.5234 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.7825, allocations: 16 kB / 1.256 GB, free: 0.5078 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7825, allocations: 0 / 1.256 GB, free: 0.5078 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001556/0.7841, allocations: 1.273 MB / 1.257 GB, free: 15.16 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.7979, allocations: 7.999 MB / 1.265 GB, free: 7.043 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.7979, allocations: 7.984 kB / 1.265 GB, free: 7.035 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004527/0.7984, allocations: 184.4 kB / 1.265 GB, free: 6.855 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003475/0.7987, allocations: 153.5 kB / 1.265 GB, free: 6.703 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-05/0.7988, allocations: 27.98 kB / 1.265 GB, free: 6.676 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.8008, allocations: 2.212 MB / 1.267 GB, free: 4.367 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.8008, allocations: 15.88 kB / 1.267 GB, free: 4.352 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/0.8036, allocations: 1.907 MB / 1.269 GB, free: 2.352 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005912/0.8042, allocations: 302.7 kB / 1.269 GB, free: 2.055 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.8043, allocations: 31.92 kB / 1.27 GB, free: 2.023 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006141/0.805, allocations: 87.86 kB / 1.27 GB, free: 1.938 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.8051, allocations: 76.41 kB / 1.27 GB, free: 1.863 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/0.8051, allocations: 39.98 kB / 1.27 GB, free: 1.824 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.001442/0.8066, allocations: 1.278 MB / 1.271 GB, free: 0.5234 MB / 1.089 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8066, allocations: 0 / 1.271 GB, free: 0.5234 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.003798/0.8104, allocations: 1.276 MB / 1.272 GB, free: 15.25 MB / 1.104 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.004465/0.8148, allocations: 1.236 MB / 1.273 GB, free: 14.18 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.002296/0.8171, allocations: 1.333 MB / 1.275 GB, free: 12.82 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.8171, allocations: 0 / 1.275 GB, free: 12.82 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0008881/0.818, allocations: 0.6285 MB / 1.275 GB, free: 12.18 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/0.8208, allocations: 0.9971 MB / 1.276 GB, free: 11.21 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004932/0.8258, allocations: 3.75 MB / 1.28 GB, free: 7.355 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007366/0.8265, allocations: 0.9024 MB / 1.281 GB, free: 6.418 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004567/0.827, allocations: 172.4 kB / 1.281 GB, free: 6.25 MB / 1.104 GB Notification: Performance of SimCode: time 1.683e-06/0.827, allocations: 4 kB / 1.281 GB, free: 6.246 MB / 1.104 GB Notification: Performance of Templates: time 0.07176/0.8987, allocations: 67.4 MB / 1.347 GB, free: 3.281 MB / 1.167 GB " [Timeout remaining time 299] 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] "" 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: 15.694924976676702]