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.001513/0.001513, allocations: 80.69 kB / 19.18 MB, free: 2.516 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.001647/0.001647, allocations: 163.3 kB / 22.46 MB, free: 5.371 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.505/1.505, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.736/2.736, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.351e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.2053/0.2053, allocations: 144.2 MB / 1.092 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01329/0.2186, allocations: 7.497 MB / 1.099 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009391/0.2196, allocations: 23.81 kB / 1.099 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.221, allocations: 337.7 kB / 1.099 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.2237, allocations: 0.7691 MB / 1.1 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.5922/0.8159, allocations: 2.184 MB / 1.102 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002652/0.8186, allocations: 1.384 MB / 1.104 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009446/0.8195, allocations: 361.6 kB / 1.104 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004785/0.8243, allocations: 1.693 MB / 1.106 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.8255, allocations: 388.3 kB / 1.106 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.8256, allocations: 52.84 kB / 1.106 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008483/0.8341, allocations: 3.511 MB / 1.11 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004465/0.8346, allocations: 159.5 kB / 1.11 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000772/0.8353, allocations: 250.7 kB / 1.11 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008821/0.8442, allocations: 3.138 MB / 1.113 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.8442, allocations: 0.8438 kB / 1.113 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8442, allocations: 0.7188 kB / 1.113 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.8442, allocations: 0 / 1.113 GB, free: 13.6 MB / 0.9981 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.003921/0.8481, allocations: 0.9591 MB / 1.114 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.8481, allocations: 9.406 kB / 1.114 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.8494, allocations: 144.1 kB / 1.114 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008157/0.8502, allocations: 364.9 kB / 1.114 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.8502, allocations: 39.69 kB / 1.114 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.263e-05/0.8503, allocations: 51.56 kB / 1.115 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.8518, allocations: 0.9811 MB / 1.115 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.8518, allocations: 7.047 kB / 1.115 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-05/0.8519, allocations: 23.44 kB / 1.116 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.8519, allocations: 17.81 kB / 1.116 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.853, allocations: 471.8 kB / 1.116 GB, free: 12.3 MB / 0.9981 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.01871/0.8717, allocations: 5.498 MB / 1.121 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004651/0.8722, allocations: 153.2 kB / 1.122 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.8725, allocations: 114.4 kB / 1.122 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01351/0.886, allocations: 3.268 MB / 1.125 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/0.886, allocations: 44.33 kB / 1.125 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 3.496e-06/0.886, allocations: 3.656 kB / 1.125 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.08664/0.9727, allocations: 30.55 MB / 1.155 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.9727, allocations: 134.7 kB / 1.155 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004354/0.9732, allocations: 359 kB / 1.155 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.845e-05/0.9732, allocations: 34.7 kB / 1.155 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.9734, allocations: 319.6 kB / 1.155 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.564e-05/0.9735, allocations: 150.9 kB / 1.156 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.9737, allocations: 106.8 kB / 1.156 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.873e-05/0.9737, allocations: 356.7 kB / 1.156 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.9741, allocations: 176.9 kB / 1.156 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005149/0.9747, allocations: 430.4 kB / 1.157 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008729/0.9755, allocations: 0.5228 MB / 1.157 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.9755, allocations: 2.25 kB / 1.157 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001657/0.9772, allocations: 0.6854 MB / 1.158 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.9772, allocations: 8.219 kB / 1.158 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.9772, allocations: 3.188 kB / 1.158 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004993/0.9777, allocations: 119.8 kB / 1.158 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/0.9782, allocations: 121.5 kB / 1.158 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/0.9807, allocations: 3.135 MB / 1.161 GB, free: 19.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/0.9813, allocations: 33.72 kB / 1.161 GB, free: 19.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.9814, allocations: 23.62 kB / 1.161 GB, free: 19.29 MB / 1.014 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.0003688/0.9817, allocations: 198.1 kB / 1.161 GB, free: 19.17 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.982, allocations: 49 kB / 1.161 GB, free: 19.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.9833, allocations: 0.6321 MB / 1.162 GB, free: 19.01 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.9833, allocations: 5.062 kB / 1.162 GB, free: 19.01 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.9833, allocations: 1.453 kB / 1.162 GB, free: 19.01 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.9833, allocations: 1.406 kB / 1.162 GB, free: 19.01 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.9853, allocations: 1.045 MB / 1.163 GB, free: 18.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.9853, allocations: 13.27 kB / 1.163 GB, free: 18.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.9857, allocations: 63.3 kB / 1.163 GB, free: 18.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/0.9859, allocations: 67.81 kB / 1.163 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.986, allocations: 13.3 kB / 1.163 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.9878, allocations: 1.603 MB / 1.165 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.9878, allocations: 9.156 kB / 1.165 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.9893, allocations: 0.7054 MB / 1.165 GB, free: 16.97 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-05/0.9894, allocations: 41.55 kB / 1.166 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.66e-05/0.9894, allocations: 16.55 kB / 1.166 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.9898, allocations: 18.61 kB / 1.166 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.9899, allocations: 40.92 kB / 1.166 GB, free: 16.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/0.9899, allocations: 18.38 kB / 1.166 GB, free: 16.94 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003554/0.9903, allocations: 264.2 kB / 1.166 GB, free: 16.86 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9903, allocations: 0 / 1.166 GB, free: 16.86 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003938/0.9942, allocations: 0.5627 MB / 1.166 GB, free: 16.81 MB / 1.014 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.004015/0.9983, allocations: 0.6079 MB / 1.167 GB, free: 16.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001756/1, allocations: 0.64 MB / 1.168 GB, free: 16.42 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1, allocations: 2.906 kB / 1.168 GB, free: 16.42 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005699/1.001, allocations: 279.7 kB / 1.168 GB, free: 16.31 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/1.002, allocations: 209.5 kB / 1.168 GB, free: 16.28 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/1.004, allocations: 1.05 MB / 1.169 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/1.004, allocations: 260.1 kB / 1.169 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003849/1.004, allocations: 99.19 kB / 1.169 GB, free: 15.55 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/1.004, allocations: 43.56 kB / 1.17 GB, free: 15.54 MB / 1.014 GB Notification: Performance of SimCode: time 1.012e-06/1.004, allocations: 0 / 1.17 GB, free: 15.54 MB / 1.014 GB Notification: Performance of Templates: time 0.03597/1.04, allocations: 20.68 MB / 1.19 GB, free: 8.059 MB / 1.014 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/jenkins/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: 9.747422631829977]