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.001352/0.001352, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001492/0.001492, allocations: 157.3 kB / 23.01 MB, free: 4.605 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.432/1.432, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.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 2.922/2.922, allocations: 394.2 MB / 0.6386 GB, free: 11.97 MB / 0.6075 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.00212/0.00212, allocations: 63.91 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7606/0.7627, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2093/0.972, allocations: 169.1 MB / 1.352 GB, free: 12.73 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03555/1.008, allocations: 24.15 MB / 1.375 GB, free: 4.52 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/1.01, allocations: 79.38 kB / 1.375 GB, free: 4.441 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.005344/1.015, allocations: 2.007 MB / 1.377 GB, free: 2.43 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/1.026, allocations: 4.558 MB / 1.382 GB, free: 13.86 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.005686/1.031, allocations: 2.54 MB / 1.384 GB, free: 11.32 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01255/1.044, allocations: 8.497 MB / 1.393 GB, free: 2.812 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002035/1.046, allocations: 1.255 MB / 1.394 GB, free: 1.516 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006369/1.052, allocations: 3.024 MB / 1.397 GB, free: 14.48 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002369/1.055, allocations: 1.373 MB / 1.398 GB, free: 13.11 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003073/1.055, allocations: 195.9 kB / 1.398 GB, free: 12.91 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008317/1.063, allocations: 3.932 MB / 1.402 GB, free: 8.977 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0008448/1.064, allocations: 0.6579 MB / 1.403 GB, free: 8.316 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001344/1.066, allocations: 0.9253 MB / 1.404 GB, free: 7.387 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.009104/1.075, allocations: 5.378 MB / 1.409 GB, free: 1.992 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.075, allocations: 0 / 1.409 GB, free: 1.992 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.373e-06/1.075, allocations: 4 kB / 1.409 GB, free: 1.988 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.141e-05/1.075, allocations: 0 / 1.409 GB, free: 1.988 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.005809/1.081, allocations: 2.775 MB / 1.412 GB, free: 15.15 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/1.081, allocations: 12.03 kB / 1.412 GB, free: 15.14 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004852/1.085, allocations: 0.6696 MB / 1.412 GB, free: 14.47 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006129/1.092, allocations: 3.008 MB / 1.415 GB, free: 11.41 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/1.092, allocations: 82.09 kB / 1.415 GB, free: 11.32 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/1.092, allocations: 112 kB / 1.415 GB, free: 11.21 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/1.095, allocations: 1.565 MB / 1.417 GB, free: 9.508 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/1.095, allocations: 4 kB / 1.417 GB, free: 9.504 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/1.095, allocations: 47.94 kB / 1.417 GB, free: 9.457 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/1.095, allocations: 28 kB / 1.417 GB, free: 9.43 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002956/1.098, allocations: 1.116 MB / 1.418 GB, free: 8.316 MB / 1.264 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.008797/1.107, allocations: 5.163 MB / 1.423 GB, free: 3 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002184/1.109, allocations: 0.7685 MB / 1.424 GB, free: 2.207 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009272/1.11, allocations: 371.1 kB / 1.424 GB, free: 1.84 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007591/1.118, allocations: 1.862 MB / 1.426 GB, free: 15.97 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001381/1.119, allocations: 0.6789 MB / 1.427 GB, free: 15.22 MB / 1.279 GB Notification: Performance of pre-optimization done (n=67): time 2.375e-06/1.119, allocations: 4 kB / 1.427 GB, free: 15.22 MB / 1.279 GB Notification: Performance of matching and sorting (n=81): time 0.05879/1.178, allocations: 18.72 MB / 1.445 GB, free: 12.46 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/1.178, allocations: 162.9 kB / 1.445 GB, free: 12.27 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00279/1.181, allocations: 1.835 MB / 1.447 GB, free: 10.38 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 8.146e-05/1.181, allocations: 41.7 kB / 1.447 GB, free: 10.34 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009654/1.182, allocations: 0.9258 MB / 1.448 GB, free: 9.402 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/1.182, allocations: 301.4 kB / 1.448 GB, free: 9.105 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003844/1.182, allocations: 222.8 kB / 1.448 GB, free: 8.883 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.183, allocations: 349.9 kB / 1.449 GB, free: 8.535 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/1.184, allocations: 446.4 kB / 1.449 GB, free: 8.098 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/1.185, allocations: 0.9791 MB / 1.45 GB, free: 6.926 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/1.188, allocations: 1.244 MB / 1.451 GB, free: 5.535 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.188, allocations: 4 kB / 1.451 GB, free: 5.531 MB / 1.295 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004237/1.192, allocations: 1.599 MB / 1.453 GB, free: 3.922 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/1.192, allocations: 14.34 kB / 1.453 GB, free: 3.91 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.192, allocations: 8 kB / 1.453 GB, free: 3.902 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008235/1.193, allocations: 221.9 kB / 1.453 GB, free: 3.68 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/1.194, allocations: 263.5 kB / 1.453 GB, free: 3.422 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005407/1.2, allocations: 3.865 MB / 1.457 GB, free: 15.34 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/1.201, allocations: 107.9 kB / 1.457 GB, free: 15.24 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/1.201, allocations: 55.98 kB / 1.457 GB, free: 15.18 MB / 1.311 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.0008884/1.202, allocations: 0.554 MB / 1.458 GB, free: 14.62 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005484/1.203, allocations: 194.8 kB / 1.458 GB, free: 14.43 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003985/1.207, allocations: 1.504 MB / 1.46 GB, free: 12.91 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/1.207, allocations: 12 kB / 1.46 GB, free: 12.9 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.207, allocations: 8 kB / 1.46 GB, free: 12.89 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003039/1.21, allocations: 1.273 MB / 1.461 GB, free: 11.55 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02597/1.236, allocations: 8.001 MB / 1.469 GB, free: 3.426 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/1.236, allocations: 7.938 kB / 1.469 GB, free: 3.418 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008858/1.237, allocations: 184.4 kB / 1.469 GB, free: 3.238 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005864/1.237, allocations: 156.7 kB / 1.469 GB, free: 3.082 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.332e-05/1.237, allocations: 31.98 kB / 1.469 GB, free: 3.051 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003404/1.241, allocations: 2.211 MB / 1.471 GB, free: 0.7422 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/1.241, allocations: 8 kB / 1.471 GB, free: 0.7344 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004531/1.245, allocations: 1.915 MB / 1.473 GB, free: 14.73 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007515/1.246, allocations: 310.6 kB / 1.473 GB, free: 14.43 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/1.246, allocations: 24 kB / 1.473 GB, free: 14.41 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.248, allocations: 88.09 kB / 1.473 GB, free: 14.32 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/1.248, allocations: 88.3 kB / 1.473 GB, free: 14.23 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.679e-05/1.248, allocations: 31.98 kB / 1.474 GB, free: 14.2 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.00231/1.25, allocations: 1.278 MB / 1.475 GB, free: 12.9 MB / 1.326 GB Notification: Performance of sort global known variables: time 9e-08/1.25, allocations: 0 / 1.475 GB, free: 12.9 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.003932/1.254, allocations: 1.28 MB / 1.476 GB, free: 11.62 MB / 1.326 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.006293/1.26, allocations: 1.149 MB / 1.477 GB, free: 10.65 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.003578/1.264, allocations: 1.337 MB / 1.478 GB, free: 9.289 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.264, allocations: 0 / 1.478 GB, free: 9.289 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/1.266, allocations: 0.6323 MB / 1.479 GB, free: 8.641 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004007/1.27, allocations: 0.9938 MB / 1.48 GB, free: 7.676 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007018/1.277, allocations: 3.807 MB / 1.484 GB, free: 3.766 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/1.278, allocations: 0.9102 MB / 1.485 GB, free: 2.816 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.001505/1.279, allocations: 405.7 kB / 1.485 GB, free: 2.422 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/1.28, allocations: 168.4 kB / 1.485 GB, free: 2.258 MB / 1.326 GB Notification: Performance of SimCode: time 6.92e-07/1.28, allocations: 0 / 1.485 GB, free: 2.258 MB / 1.326 GB Notification: Performance of Templates: time 0.1131/1.393, allocations: 71.84 MB / 1.555 GB, free: 11.32 MB / 1.404 GB " [Timeout remaining time 299] 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 -s ida -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] Reference file matches [Calling sys.exit(0), Time elapsed: 15.381061256979592]