Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001676/0.001676, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001895/0.001895, allocations: 213.1 kB / 22.25 MB, free: 4.855 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.547/1.547, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.401/3.401, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_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.002071/0.002071, allocations: 71.09 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3587, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1904/0.5492, allocations: 144.3 MB / 1.466 GB, free: 1.043 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01102/0.5602, allocations: 7.483 MB / 1.474 GB, free: 9.531 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004595/0.5607, allocations: 19.81 kB / 1.474 GB, free: 9.512 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009913/0.5617, allocations: 333.8 kB / 1.474 GB, free: 9.184 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.5635, allocations: 0.7679 MB / 1.475 GB, free: 8.414 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004999/0.5685, allocations: 2.138 MB / 1.477 GB, free: 6.281 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001699/0.5702, allocations: 1.384 MB / 1.478 GB, free: 4.895 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006053/0.5708, allocations: 369.8 kB / 1.479 GB, free: 4.523 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003525/0.5743, allocations: 1.49 MB / 1.48 GB, free: 3.027 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007052/0.575, allocations: 434.1 kB / 1.481 GB, free: 2.602 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 9.079e-05/0.5751, allocations: 52 kB / 1.481 GB, free: 2.551 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006754/0.5819, allocations: 3.507 MB / 1.484 GB, free: 15.04 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.5821, allocations: 155.4 kB / 1.484 GB, free: 14.89 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.5825, allocations: 294.8 kB / 1.484 GB, free: 14.6 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003843/0.5863, allocations: 2.575 MB / 1.487 GB, free: 12.02 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5863, allocations: 0 / 1.487 GB, free: 12.02 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5863, allocations: 0 / 1.487 GB, free: 12.02 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.5863, allocations: 0 / 1.487 GB, free: 12.02 MB / 1.186 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.001987/0.5883, allocations: 0.9639 MB / 1.488 GB, free: 11.02 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.5883, allocations: 12.03 kB / 1.488 GB, free: 11.01 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.5894, allocations: 139.5 kB / 1.488 GB, free: 10.87 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007357/0.5902, allocations: 375.3 kB / 1.488 GB, free: 10.47 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.5902, allocations: 37.31 kB / 1.488 GB, free: 10.43 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.618e-05/0.5903, allocations: 55.95 kB / 1.488 GB, free: 10.38 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.5917, allocations: 0.9828 MB / 1.489 GB, free: 9.266 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.5917, allocations: 3.938 kB / 1.489 GB, free: 9.262 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/0.5918, allocations: 24 kB / 1.489 GB, free: 9.238 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.5918, allocations: 16 kB / 1.489 GB, free: 9.223 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.5928, allocations: 471.5 kB / 1.49 GB, free: 8.762 MB / 1.186 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.01695/0.6098, allocations: 5.51 MB / 1.495 GB, free: 3.172 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.6102, allocations: 152.1 kB / 1.495 GB, free: 3.016 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.6105, allocations: 113.3 kB / 1.496 GB, free: 2.902 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01259/0.6231, allocations: 3.27 MB / 1.499 GB, free: 15.63 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.6232, allocations: 38.8 kB / 1.499 GB, free: 15.58 MB / 1.201 GB Notification: Performance of pre-optimization done (n=27): time 2.144e-06/0.6232, allocations: 0 / 1.499 GB, free: 15.58 MB / 1.201 GB Notification: Performance of matching and sorting (n=40): time 0.1499/0.7731, allocations: 30.54 MB / 1.529 GB, free: 1.027 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.7732, allocations: 136.5 kB / 1.529 GB, free: 0.8633 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007999/0.774, allocations: 357.5 kB / 1.529 GB, free: 0.5078 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.944e-05/0.7741, allocations: 33.7 kB / 1.529 GB, free: 480 kB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000421/0.7745, allocations: 332.4 kB / 1.529 GB, free: 140 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.7748, allocations: 154.8 kB / 1.53 GB, free: 15.98 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/0.7751, allocations: 98.3 kB / 1.53 GB, free: 15.88 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002734/0.7753, allocations: 358.7 kB / 1.53 GB, free: 15.52 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008558/0.7762, allocations: 177.2 kB / 1.53 GB, free: 15.34 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.7774, allocations: 431.3 kB / 1.531 GB, free: 14.84 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.7794, allocations: 0.5187 MB / 1.531 GB, free: 14.26 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.7794, allocations: 0 / 1.531 GB, free: 14.26 MB / 1.232 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003315/0.7827, allocations: 0.6919 MB / 1.532 GB, free: 13.55 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.7827, allocations: 4 kB / 1.532 GB, free: 13.55 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.7827, allocations: 12 kB / 1.532 GB, free: 13.54 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009469/0.7837, allocations: 121.7 kB / 1.532 GB, free: 13.41 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009161/0.7846, allocations: 111.8 kB / 1.532 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005929/0.7905, allocations: 3.146 MB / 1.535 GB, free: 9.961 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009751/0.7915, allocations: 32.2 kB / 1.535 GB, free: 9.93 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.209e-05/0.7916, allocations: 24 kB / 1.535 GB, free: 9.906 MB / 1.232 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.0005766/0.7922, allocations: 199.8 kB / 1.535 GB, free: 9.703 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000418/0.7926, allocations: 43.72 kB / 1.535 GB, free: 9.66 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002747/0.7953, allocations: 0.6384 MB / 1.536 GB, free: 8.988 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.7953, allocations: 12.02 kB / 1.536 GB, free: 8.977 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7954, allocations: 3.938 kB / 1.536 GB, free: 8.973 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.7954, allocations: 3.938 kB / 1.536 GB, free: 8.969 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004086/0.7994, allocations: 1.041 MB / 1.537 GB, free: 7.844 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.7995, allocations: 4 kB / 1.537 GB, free: 7.84 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006447/0.8001, allocations: 67.89 kB / 1.537 GB, free: 7.773 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/0.8006, allocations: 68.75 kB / 1.537 GB, free: 7.703 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-05/0.8006, allocations: 12.34 kB / 1.537 GB, free: 7.691 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003323/0.8039, allocations: 1.598 MB / 1.539 GB, free: 5.996 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.359e-05/0.804, allocations: 11.94 kB / 1.539 GB, free: 5.984 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/0.8068, allocations: 0.713 MB / 1.539 GB, free: 5.203 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.8069, allocations: 43.89 kB / 1.539 GB, free: 5.16 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.8071, allocations: 12 kB / 1.539 GB, free: 5.148 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006924/0.8078, allocations: 19.98 kB / 1.54 GB, free: 5.129 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.8079, allocations: 39.81 kB / 1.54 GB, free: 5.09 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-05/0.808, allocations: 19.98 kB / 1.54 GB, free: 5.07 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006274/0.8086, allocations: 263.2 kB / 1.54 GB, free: 4.816 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8086, allocations: 8.062 kB / 1.54 GB, free: 4.809 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00296/0.8115, allocations: 0.5617 MB / 1.54 GB, free: 4.246 MB / 1.232 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.003353/0.8149, allocations: 0.548 MB / 1.541 GB, free: 3.688 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002738/0.8176, allocations: 0.6463 MB / 1.542 GB, free: 3.016 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/0.8177, allocations: 3.938 kB / 1.542 GB, free: 3.012 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.8187, allocations: 270.4 kB / 1.542 GB, free: 2.734 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.8209, allocations: 206.6 kB / 1.542 GB, free: 2.543 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.8244, allocations: 1.126 MB / 1.543 GB, free: 1.34 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.8249, allocations: 266.4 kB / 1.543 GB, free: 1.051 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0007332/0.8256, allocations: 101.7 kB / 1.543 GB, free: 0.957 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.8258, allocations: 39.44 kB / 1.543 GB, free: 0.918 MB / 1.232 GB Notification: Performance of SimCode: time 9.12e-07/0.8258, allocations: 0 / 1.543 GB, free: 0.918 MB / 1.232 GB Notification: Performance of Templates: time 0.06234/0.8881, allocations: 21.6 MB / 1.565 GB, free: 11.56 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.461654817685485]