Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00158/0.00158, 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.001736/0.001736, allocations: 218.6 kB / 23.01 MB, free: 5.125 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.953 MB / 206.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 3.369/3.369, allocations: 0.505 GB / 0.8108 GB, free: 21.98 MB / 0.6231 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.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_latest_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_latest_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.003267/0.003267, allocations: 70.66 kB / 1.178 GB, free: 16.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3993, allocations: 180.2 MB / 1.354 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1974/0.5967, allocations: 166.9 MB / 1.517 GB, free: 348 kB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01173/0.6084, allocations: 8.183 MB / 1.525 GB, free: 8.129 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007579/0.6092, allocations: 19.81 kB / 1.525 GB, free: 8.109 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.6103, allocations: 361.8 kB / 1.525 GB, free: 7.754 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002293/0.6126, allocations: 0.7619 MB / 1.526 GB, free: 6.988 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005602/0.6182, allocations: 2.169 MB / 1.528 GB, free: 4.824 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002163/0.6204, allocations: 1.384 MB / 1.53 GB, free: 3.434 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006571/0.6211, allocations: 362.1 kB / 1.53 GB, free: 3.074 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003765/0.6248, allocations: 1.513 MB / 1.531 GB, free: 1.555 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007712/0.6256, allocations: 462.1 kB / 1.532 GB, free: 1.102 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 8.035e-05/0.6257, allocations: 52 kB / 1.532 GB, free: 1.051 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007506/0.6332, allocations: 3.644 MB / 1.536 GB, free: 13.4 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.6335, allocations: 151.5 kB / 1.536 GB, free: 13.25 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0005854/0.6341, allocations: 342.5 kB / 1.536 GB, free: 12.92 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005012/0.6391, allocations: 2.579 MB / 1.539 GB, free: 10.33 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.6391, allocations: 0 / 1.539 GB, free: 10.33 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6391, allocations: 0 / 1.539 GB, free: 10.33 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.6391, allocations: 4 kB / 1.539 GB, free: 10.33 MB / 1.232 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.002422/0.6415, allocations: 0.9639 MB / 1.539 GB, free: 9.332 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.6416, allocations: 12.02 kB / 1.539 GB, free: 9.32 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.6427, allocations: 143.5 kB / 1.54 GB, free: 9.18 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007596/0.6435, allocations: 363.3 kB / 1.54 GB, free: 8.797 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/0.6435, allocations: 49.25 kB / 1.54 GB, free: 8.746 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.505e-05/0.6436, allocations: 48 kB / 1.54 GB, free: 8.699 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.6448, allocations: 0.6656 MB / 1.541 GB, free: 7.988 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.6448, allocations: 0 / 1.541 GB, free: 7.988 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.968e-05/0.6449, allocations: 24 kB / 1.541 GB, free: 7.965 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.6449, allocations: 12 kB / 1.541 GB, free: 7.953 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.6459, allocations: 475.5 kB / 1.541 GB, free: 7.488 MB / 1.232 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.01582/0.6617, allocations: 5.978 MB / 1.547 GB, free: 1.352 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004401/0.6622, allocations: 155.1 kB / 1.547 GB, free: 1.191 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.6625, allocations: 118.4 kB / 1.547 GB, free: 1.074 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0114/0.6739, allocations: 3.258 MB / 1.55 GB, free: 13.81 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/0.6739, allocations: 38.8 kB / 1.551 GB, free: 13.77 MB / 1.248 GB Notification: Performance of pre-optimization done (n=27): time 2.315e-06/0.6739, allocations: 0 / 1.551 GB, free: 13.77 MB / 1.248 GB Notification: Performance of matching and sorting (n=40): time 0.08029/0.7542, allocations: 30.55 MB / 1.58 GB, free: 15.21 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/0.7543, allocations: 140.5 kB / 1.58 GB, free: 15.04 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005907/0.7549, allocations: 465.8 kB / 1.581 GB, free: 14.58 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.755, allocations: 29.7 kB / 1.581 GB, free: 14.54 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.7552, allocations: 312.1 kB / 1.581 GB, free: 14.23 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.7553, allocations: 150.7 kB / 1.581 GB, free: 14.09 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.7555, allocations: 106.3 kB / 1.582 GB, free: 13.98 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.7557, allocations: 362.7 kB / 1.582 GB, free: 13.61 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.7561, allocations: 181.2 kB / 1.582 GB, free: 13.44 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/0.7566, allocations: 358.1 kB / 1.582 GB, free: 13.02 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009206/0.7576, allocations: 0.5167 MB / 1.583 GB, free: 12.44 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7576, allocations: 0 / 1.583 GB, free: 12.44 MB / 1.279 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001737/0.7593, allocations: 0.7016 MB / 1.584 GB, free: 11.73 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.7593, allocations: 9.562 kB / 1.584 GB, free: 11.72 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.7593, allocations: 4 kB / 1.584 GB, free: 11.71 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004938/0.7598, allocations: 121.7 kB / 1.584 GB, free: 11.59 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/0.7603, allocations: 115.8 kB / 1.584 GB, free: 11.48 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003316/0.7636, allocations: 3.206 MB / 1.587 GB, free: 8.043 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005356/0.7641, allocations: 31.97 kB / 1.587 GB, free: 8.012 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.7642, allocations: 20 kB / 1.587 GB, free: 7.992 MB / 1.279 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.0003196/0.7645, allocations: 201.7 kB / 1.587 GB, free: 7.785 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.7647, allocations: 59.61 kB / 1.587 GB, free: 7.727 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.7662, allocations: 0.6383 MB / 1.588 GB, free: 7.059 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.7662, allocations: 8.031 kB / 1.588 GB, free: 7.051 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.7662, allocations: 0 / 1.588 GB, free: 7.051 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.7662, allocations: 7.984 kB / 1.588 GB, free: 7.043 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.7684, allocations: 1.171 MB / 1.589 GB, free: 5.77 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.7684, allocations: 4 kB / 1.589 GB, free: 5.766 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.7687, allocations: 67.91 kB / 1.589 GB, free: 5.699 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002616/0.769, allocations: 68.8 kB / 1.589 GB, free: 5.629 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.769, allocations: 12 kB / 1.589 GB, free: 5.617 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.7708, allocations: 1.629 MB / 1.591 GB, free: 3.875 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.7708, allocations: 16 kB / 1.591 GB, free: 3.859 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.7722, allocations: 0.7207 MB / 1.591 GB, free: 3.07 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.7723, allocations: 55.8 kB / 1.592 GB, free: 3.016 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.908e-05/0.7724, allocations: 12 kB / 1.592 GB, free: 3.004 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.7728, allocations: 27.98 kB / 1.592 GB, free: 2.977 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.7729, allocations: 31.88 kB / 1.592 GB, free: 2.945 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.7729, allocations: 23.98 kB / 1.592 GB, free: 2.922 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0004558/0.7734, allocations: 350.9 kB / 1.592 GB, free: 2.578 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7734, allocations: 4 kB / 1.592 GB, free: 2.574 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001781/0.7751, allocations: 0.5734 MB / 1.593 GB, free: 2 MB / 1.279 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.00182/0.777, allocations: 0.5448 MB / 1.593 GB, free: 1.449 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.7785, allocations: 0.639 MB / 1.594 GB, free: 0.7852 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.7785, allocations: 8 kB / 1.594 GB, free: 0.7773 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005607/0.779, allocations: 280.4 kB / 1.594 GB, free: 0.4922 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.7805, allocations: 309.6 kB / 1.594 GB, free: 200 kB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.7826, allocations: 1.16 MB / 1.595 GB, free: 14.95 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.7831, allocations: 0.8629 MB / 1.596 GB, free: 14.06 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.7833, allocations: 55.38 kB / 1.596 GB, free: 14.01 MB / 1.295 GB Notification: Performance of SimCode: time 7.01e-07/0.7833, allocations: 0 / 1.596 GB, free: 14.01 MB / 1.295 GB Notification: Performance of Templates: time 0.7487/1.532, allocations: 19.85 MB / 1.616 GB, free: 241.5 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.811678630998358]