Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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.001778/0.001778, allocations: 102.1 kB / 19.7 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.002322/0.002322, allocations: 220.8 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.688/2.688, allocations: 476.7 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.BaseClasses.Examples.ControlVolumeCondensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") [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.002091/0.002091, allocations: 70.52 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3223, allocations: 169.9 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.2009/0.5231, allocations: 167 MB / 1.448 GB, free: 3.633 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01323/0.5364, allocations: 8.191 MB / 1.456 GB, free: 11.42 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008273/0.5372, allocations: 23.81 kB / 1.456 GB, free: 11.39 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.5385, allocations: 369.8 kB / 1.456 GB, free: 11.03 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002348/0.5408, allocations: 0.749 MB / 1.457 GB, free: 10.28 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005894/0.5467, allocations: 2.176 MB / 1.459 GB, free: 8.109 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002246/0.549, allocations: 1.388 MB / 1.46 GB, free: 6.711 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007686/0.5497, allocations: 358.2 kB / 1.461 GB, free: 6.355 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00385/0.5536, allocations: 1.502 MB / 1.462 GB, free: 4.848 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009173/0.5545, allocations: 466.1 kB / 1.462 GB, free: 4.391 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.5546, allocations: 59.94 kB / 1.463 GB, free: 4.332 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007413/0.562, allocations: 3.644 MB / 1.466 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003181/0.5623, allocations: 155.5 kB / 1.466 GB, free: 0.5312 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006181/0.5629, allocations: 346.5 kB / 1.467 GB, free: 196 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00534/0.5683, allocations: 2.571 MB / 1.469 GB, free: 13.61 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5683, allocations: 0 / 1.469 GB, free: 13.61 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5683, allocations: 0 / 1.469 GB, free: 13.61 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.5683, allocations: 0 / 1.469 GB, free: 13.61 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002346/0.5707, allocations: 0.9717 MB / 1.47 GB, free: 12.61 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.5707, allocations: 12.03 kB / 1.47 GB, free: 12.6 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.5718, allocations: 143.5 kB / 1.47 GB, free: 12.46 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000802/0.5726, allocations: 363.3 kB / 1.471 GB, free: 12.07 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.5727, allocations: 45.19 kB / 1.471 GB, free: 12.03 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.45e-05/0.5728, allocations: 55.95 kB / 1.471 GB, free: 11.97 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.574, allocations: 0.6565 MB / 1.471 GB, free: 11.27 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.574, allocations: 4 kB / 1.471 GB, free: 11.27 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-05/0.5741, allocations: 24 kB / 1.471 GB, free: 11.24 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.5741, allocations: 12 kB / 1.471 GB, free: 11.23 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.5751, allocations: 471.5 kB / 1.472 GB, free: 10.77 MB / 1.17 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.01647/0.5916, allocations: 5.982 MB / 1.478 GB, free: 4.629 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000453/0.592, allocations: 155.1 kB / 1.478 GB, free: 4.469 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.5923, allocations: 113.3 kB / 1.478 GB, free: 4.355 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01143/0.6038, allocations: 3.266 MB / 1.481 GB, free: 1.086 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.346e-05/0.6038, allocations: 34.8 kB / 1.481 GB, free: 1.043 MB / 1.17 GB Notification: Performance of pre-optimization done (n=27): time 2.264e-06/0.6038, allocations: 0 / 1.481 GB, free: 1.043 MB / 1.17 GB Notification: Performance of matching and sorting (n=40): time 0.08206/0.6859, allocations: 30.54 MB / 1.511 GB, free: 2.488 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.686, allocations: 136.5 kB / 1.511 GB, free: 2.324 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006319/0.6866, allocations: 465.8 kB / 1.511 GB, free: 1.867 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.6867, allocations: 33.7 kB / 1.512 GB, free: 1.828 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.6869, allocations: 312.1 kB / 1.512 GB, free: 1.52 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.6871, allocations: 146.7 kB / 1.512 GB, free: 1.375 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.6872, allocations: 106.3 kB / 1.512 GB, free: 1.266 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.6874, allocations: 362.8 kB / 1.512 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.6878, allocations: 181.2 kB / 1.513 GB, free: 0.7266 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006052/0.6884, allocations: 354.1 kB / 1.513 GB, free: 316 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009752/0.6894, allocations: 0.5163 MB / 1.513 GB, free: 15.73 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6894, allocations: 0 / 1.513 GB, free: 15.73 MB / 1.217 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001802/0.6912, allocations: 0.6972 MB / 1.514 GB, free: 15.02 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.6912, allocations: 8 kB / 1.514 GB, free: 15.02 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.6913, allocations: 4.531 kB / 1.514 GB, free: 15.01 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005091/0.6918, allocations: 121.6 kB / 1.514 GB, free: 14.89 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.6922, allocations: 115.8 kB / 1.514 GB, free: 14.77 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003571/0.6958, allocations: 3.218 MB / 1.517 GB, free: 11.33 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005986/0.6964, allocations: 23.98 kB / 1.517 GB, free: 11.3 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.6965, allocations: 31.98 kB / 1.518 GB, free: 11.27 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 58 * Array equations: 0 * 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 {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003233/0.6968, allocations: 189.6 kB / 1.518 GB, free: 11.08 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.697, allocations: 59.67 kB / 1.518 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.6985, allocations: 0.652 MB / 1.518 GB, free: 10.34 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.6985, allocations: 4 kB / 1.518 GB, free: 10.34 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.6985, allocations: 0 / 1.518 GB, free: 10.34 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.6985, allocations: 3.984 kB / 1.518 GB, free: 10.33 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.7008, allocations: 1.171 MB / 1.52 GB, free: 9.059 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.7009, allocations: 8.484 kB / 1.52 GB, free: 9.051 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.7012, allocations: 67.91 kB / 1.52 GB, free: 8.984 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002751/0.7015, allocations: 68.8 kB / 1.52 GB, free: 8.914 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.7015, allocations: 12 kB / 1.52 GB, free: 8.902 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.7034, allocations: 1.633 MB / 1.521 GB, free: 7.156 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.7034, allocations: 7.938 kB / 1.521 GB, free: 7.148 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.705, allocations: 0.7247 MB / 1.522 GB, free: 6.355 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.7051, allocations: 47.7 kB / 1.522 GB, free: 6.309 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.763e-05/0.7052, allocations: 12 kB / 1.522 GB, free: 6.297 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/0.7056, allocations: 23.92 kB / 1.522 GB, free: 6.273 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/0.7057, allocations: 35.95 kB / 1.522 GB, free: 6.238 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-05/0.7057, allocations: 19.98 kB / 1.522 GB, free: 6.219 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004861/0.7062, allocations: 354.9 kB / 1.522 GB, free: 5.871 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7062, allocations: 3.938 kB / 1.522 GB, free: 5.867 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001962/0.7082, allocations: 0.5695 MB / 1.523 GB, free: 5.297 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (volDyn.VWat,volSte.VWat) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002088/0.7103, allocations: 0.5476 MB / 1.524 GB, free: 4.742 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001656/0.7119, allocations: 0.6461 MB / 1.524 GB, free: 4.07 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.7119, allocations: 0 / 1.524 GB, free: 4.07 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0005943/0.7125, allocations: 275.2 kB / 1.524 GB, free: 3.789 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.7141, allocations: 313.8 kB / 1.525 GB, free: 3.488 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.7163, allocations: 1.173 MB / 1.526 GB, free: 2.23 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.7169, allocations: 0.8589 MB / 1.527 GB, free: 1.344 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.717, allocations: 51.44 kB / 1.527 GB, free: 1.293 MB / 1.217 GB Notification: Performance of SimCode: time 1.253e-06/0.717, allocations: 0 / 1.527 GB, free: 1.293 MB / 1.217 GB Notification: Performance of Templates: time 0.03268/0.7497, allocations: 19.85 MB / 1.546 GB, free: 13.58 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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: 14.394927472021664]