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.001482/0.001482, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001667/0.001667, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.527/1.527, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.863/2.863, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0.875 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.341e-05/3.503e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.2152/0.2152, allocations: 144.2 MB / 0.9516 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01349/0.2287, allocations: 7.504 MB / 0.959 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007566/0.2294, allocations: 23.81 kB / 0.959 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.2308, allocations: 329.7 kB / 0.9593 GB, free: 9.527 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.00251/0.2333, allocations: 0.7846 MB / 0.9601 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.006108/0.2394, allocations: 2.18 MB / 0.9622 GB, free: 6.551 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002423/0.2418, allocations: 1.383 MB / 0.9636 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008431/0.2427, allocations: 378.3 kB / 0.9639 GB, free: 4.793 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00437/0.247, allocations: 1.692 MB / 0.9656 GB, free: 3.09 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009323/0.248, allocations: 386.8 kB / 0.9659 GB, free: 2.711 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.2481, allocations: 52 kB / 0.966 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008087/0.2562, allocations: 3.523 MB / 0.9694 GB, free: 15.13 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.2565, allocations: 155.4 kB / 0.9696 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005621/0.2571, allocations: 251.5 kB / 0.9698 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.006051/0.2631, allocations: 3.133 MB / 0.9729 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2631, allocations: 0 / 0.9729 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2631, allocations: 0 / 0.9729 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.675e-05/0.2631, allocations: 0 / 0.9729 GB, free: 11.59 MB / 0.9323 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.002559/0.2657, allocations: 0.9601 MB / 0.9738 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2657, allocations: 8.031 kB / 0.9738 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.2672, allocations: 242.9 kB / 0.974 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008727/0.2681, allocations: 391.2 kB / 0.9744 GB, free: 9.949 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.2681, allocations: 37.31 kB / 0.9745 GB, free: 9.914 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.2682, allocations: 56 kB / 0.9745 GB, free: 9.859 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.2699, allocations: 0.9828 MB / 0.9755 GB, free: 8.746 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.27, allocations: 7.891 kB / 0.9755 GB, free: 8.738 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.418e-05/0.27, allocations: 28 kB / 0.9755 GB, free: 8.711 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.2701, allocations: 19.92 kB / 0.9755 GB, free: 8.691 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.2713, allocations: 467.5 kB / 0.976 GB, free: 8.234 MB / 0.9323 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.0172/0.2885, allocations: 5.501 MB / 0.9813 GB, free: 2.652 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.289, allocations: 163.1 kB / 0.9815 GB, free: 2.484 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.2893, allocations: 113.3 kB / 0.9816 GB, free: 2.371 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01244/0.3018, allocations: 3.262 MB / 0.9848 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.897e-05/0.3018, allocations: 46.73 kB / 0.9848 GB, free: 15.05 MB / 0.948 GB Notification: Performance of pre-optimization done (n=27): time 2.455e-06/0.3018, allocations: 0 / 0.9848 GB, free: 15.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=40): time 0.09291/0.3947, allocations: 30.53 MB / 1.015 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.3949, allocations: 144.4 kB / 1.015 GB, free: 352 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006037/0.3955, allocations: 353.5 kB / 1.015 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.746e-05/0.3955, allocations: 37.7 kB / 1.015 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/0.3958, allocations: 332.4 kB / 1.015 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.396, allocations: 146.8 kB / 1.016 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.3962, allocations: 106.2 kB / 1.016 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.3964, allocations: 350.7 kB / 1.016 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/0.3969, allocations: 177.2 kB / 1.016 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007184/0.3976, allocations: 427.2 kB / 1.017 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.3987, allocations: 0.5123 MB / 1.017 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3988, allocations: 0 / 1.017 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002138/0.4009, allocations: 0.7195 MB / 1.018 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.4009, allocations: 11.98 kB / 1.018 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.4009, allocations: 8.031 kB / 1.018 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006904/0.4016, allocations: 137.6 kB / 1.018 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.4021, allocations: 115.8 kB / 1.018 GB, free: 12.76 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004233/0.4064, allocations: 3.146 MB / 1.021 GB, free: 9.414 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/0.407, allocations: 39.91 kB / 1.021 GB, free: 9.375 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.597e-05/0.407, allocations: 20 kB / 1.021 GB, free: 9.355 MB / 0.9792 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.000371/0.4074, allocations: 185.7 kB / 1.021 GB, free: 9.164 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003263/0.4077, allocations: 75.8 kB / 1.021 GB, free: 9.09 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.4094, allocations: 0.6159 MB / 1.022 GB, free: 8.449 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.4094, allocations: 8 kB / 1.022 GB, free: 8.441 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4094, allocations: 128 / 1.022 GB, free: 8.441 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.4094, allocations: 7.984 kB / 1.022 GB, free: 8.434 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002918/0.4123, allocations: 1.115 MB / 1.023 GB, free: 7.211 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/0.4123, allocations: 8 kB / 1.023 GB, free: 7.203 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.4127, allocations: 68.45 kB / 1.023 GB, free: 7.137 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004219/0.4131, allocations: 92.78 kB / 1.023 GB, free: 7.043 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.4131, allocations: 15.94 kB / 1.023 GB, free: 7.027 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/0.4153, allocations: 1.603 MB / 1.025 GB, free: 5.328 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.4153, allocations: 7.938 kB / 1.025 GB, free: 5.32 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.417, allocations: 0.7322 MB / 1.026 GB, free: 4.508 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.4171, allocations: 47.69 kB / 1.026 GB, free: 4.461 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.537e-05/0.4172, allocations: 12 kB / 1.026 GB, free: 4.449 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.4176, allocations: 19.98 kB / 1.026 GB, free: 4.43 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.4177, allocations: 39.77 kB / 1.026 GB, free: 4.391 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/0.4178, allocations: 23.98 kB / 1.026 GB, free: 4.367 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004019/0.4182, allocations: 263.2 kB / 1.026 GB, free: 4.109 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4182, allocations: 0 / 1.026 GB, free: 4.109 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001864/0.4201, allocations: 0.523 MB / 1.027 GB, free: 3.586 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (31): * Single equations (assignments): 30 * 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.002549/0.4226, allocations: 0.5402 MB / 1.027 GB, free: 3.039 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001814/0.4244, allocations: 0.6425 MB / 1.028 GB, free: 2.371 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/0.4244, allocations: 4 kB / 1.028 GB, free: 2.367 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007055/0.4251, allocations: 287.5 kB / 1.028 GB, free: 2.074 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.4266, allocations: 227 kB / 1.028 GB, free: 1.852 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.429, allocations: 1.063 MB / 1.029 GB, free: 0.6953 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.4294, allocations: 266.5 kB / 1.029 GB, free: 420 kB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004743/0.4299, allocations: 93.95 kB / 1.03 GB, free: 332 kB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.43, allocations: 36.5 kB / 1.03 GB, free: 296 kB / 0.9792 GB Notification: Performance of SimCode: time 1.624e-06/0.43, allocations: 4 kB / 1.03 GB, free: 292 kB / 0.9792 GB Notification: Performance of Templates: time 0.3677/0.7977, allocations: 20.17 MB / 1.049 GB, free: 261.9 MB / 0.9948 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: 9.362629149924032]