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.001705/0.001705, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00267/0.00267, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.609/1.609, allocations: 230.6 MB / 256 MB, free: 7.785 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.533/3.533, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002084/0.002084, allocations: 71.41 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.483, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.208/0.691, allocations: 144.3 MB / 1.505 GB, free: 12.76 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01186/0.7029, allocations: 7.494 MB / 1.512 GB, free: 5.238 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006847/0.7035, allocations: 19.81 kB / 1.512 GB, free: 5.219 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.7047, allocations: 329.9 kB / 1.512 GB, free: 4.895 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.7069, allocations: 0.7624 MB / 1.513 GB, free: 4.129 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005616/0.7125, allocations: 2.155 MB / 1.515 GB, free: 1.98 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001931/0.7144, allocations: 1.372 MB / 1.517 GB, free: 0.6055 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006518/0.7151, allocations: 362 kB / 1.517 GB, free: 252 kB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003872/0.7189, allocations: 1.49 MB / 1.518 GB, free: 14.75 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007284/0.7197, allocations: 430.2 kB / 1.519 GB, free: 14.33 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 9.933e-05/0.7198, allocations: 56 kB / 1.519 GB, free: 14.27 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007131/0.7269, allocations: 3.503 MB / 1.522 GB, free: 10.77 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.7271, allocations: 163.4 kB / 1.522 GB, free: 10.61 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004059/0.7275, allocations: 286.8 kB / 1.523 GB, free: 10.32 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00414/0.7317, allocations: 2.579 MB / 1.525 GB, free: 7.738 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.7317, allocations: 0 / 1.525 GB, free: 7.738 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7317, allocations: 0 / 1.525 GB, free: 7.738 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.7317, allocations: 0 / 1.525 GB, free: 7.738 MB / 1.217 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.002173/0.7339, allocations: 0.9716 MB / 1.526 GB, free: 6.734 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.7339, allocations: 8.031 kB / 1.526 GB, free: 6.727 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.735, allocations: 139.5 kB / 1.526 GB, free: 6.59 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007902/0.7358, allocations: 371.3 kB / 1.527 GB, free: 6.199 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.7358, allocations: 45.31 kB / 1.527 GB, free: 6.152 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.684e-05/0.7359, allocations: 48 kB / 1.527 GB, free: 6.105 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.7373, allocations: 0.9866 MB / 1.528 GB, free: 4.988 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.7373, allocations: 4 kB / 1.528 GB, free: 4.984 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.87e-05/0.7374, allocations: 24 kB / 1.528 GB, free: 4.961 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.7374, allocations: 12 kB / 1.528 GB, free: 4.949 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.7384, allocations: 471.5 kB / 1.528 GB, free: 4.488 MB / 1.217 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.01607/0.7545, allocations: 5.513 MB / 1.534 GB, free: 14.89 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000432/0.7549, allocations: 151.1 kB / 1.534 GB, free: 14.74 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/0.7552, allocations: 117.3 kB / 1.534 GB, free: 14.62 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01179/0.767, allocations: 3.266 MB / 1.537 GB, free: 11.35 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/0.7671, allocations: 46.67 kB / 1.537 GB, free: 11.3 MB / 1.232 GB Notification: Performance of pre-optimization done (n=27): time 1.933e-06/0.7671, allocations: 0 / 1.537 GB, free: 11.3 MB / 1.232 GB Notification: Performance of matching and sorting (n=40): time 0.08858/0.8556, allocations: 30.53 MB / 1.567 GB, free: 12.75 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.8558, allocations: 144.5 kB / 1.567 GB, free: 12.58 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004727/0.8562, allocations: 349.5 kB / 1.567 GB, free: 12.24 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.8563, allocations: 37.7 kB / 1.567 GB, free: 12.2 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.8565, allocations: 324.4 kB / 1.568 GB, free: 11.87 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.8567, allocations: 154.7 kB / 1.568 GB, free: 11.72 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.8569, allocations: 102.3 kB / 1.568 GB, free: 11.61 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.8571, allocations: 354.7 kB / 1.568 GB, free: 11.26 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004313/0.8575, allocations: 181.2 kB / 1.568 GB, free: 11.08 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006429/0.8581, allocations: 431.2 kB / 1.569 GB, free: 10.57 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.8591, allocations: 0.5246 MB / 1.569 GB, free: 9.988 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8591, allocations: 0 / 1.569 GB, free: 9.988 MB / 1.264 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001766/0.8609, allocations: 0.6821 MB / 1.57 GB, free: 9.293 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.8609, allocations: 8 kB / 1.57 GB, free: 9.285 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.8609, allocations: 7.938 kB / 1.57 GB, free: 9.277 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004998/0.8614, allocations: 117.7 kB / 1.57 GB, free: 9.156 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.8619, allocations: 128.1 kB / 1.57 GB, free: 9.031 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/0.8654, allocations: 3.137 MB / 1.573 GB, free: 5.695 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.8659, allocations: 31.97 kB / 1.573 GB, free: 5.664 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.8659, allocations: 20 kB / 1.573 GB, free: 5.645 MB / 1.264 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.0003161/0.8662, allocations: 194.7 kB / 1.574 GB, free: 5.445 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.8664, allocations: 43.77 kB / 1.574 GB, free: 5.402 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.8679, allocations: 0.641 MB / 1.574 GB, free: 4.73 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.8679, allocations: 8 kB / 1.574 GB, free: 4.723 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.8679, allocations: 4 kB / 1.574 GB, free: 4.719 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.8679, allocations: 15.89 kB / 1.574 GB, free: 4.703 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.8701, allocations: 1.031 MB / 1.575 GB, free: 3.582 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.8701, allocations: 4 kB / 1.575 GB, free: 3.578 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.8704, allocations: 68.39 kB / 1.575 GB, free: 3.512 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002691/0.8707, allocations: 80.67 kB / 1.575 GB, free: 3.43 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.8707, allocations: 8 kB / 1.575 GB, free: 3.422 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.8725, allocations: 1.602 MB / 1.577 GB, free: 1.723 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/0.8725, allocations: 7.938 kB / 1.577 GB, free: 1.715 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.874, allocations: 0.7212 MB / 1.578 GB, free: 0.9258 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/0.8741, allocations: 35.77 kB / 1.578 GB, free: 0.8906 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/0.8741, allocations: 15.98 kB / 1.578 GB, free: 0.875 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.8745, allocations: 24.05 kB / 1.578 GB, free: 0.8516 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.8746, allocations: 39.97 kB / 1.578 GB, free: 0.8125 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.8746, allocations: 16 kB / 1.578 GB, free: 0.7969 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0003388/0.8749, allocations: 267.1 kB / 1.578 GB, free: 0.5352 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8749, allocations: 0 / 1.578 GB, free: 0.5352 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001813/0.8768, allocations: 0.5657 MB / 1.579 GB, free: 15.96 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.00178/0.8785, allocations: 0.545 MB / 1.579 GB, free: 15.41 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.8801, allocations: 0.639 MB / 1.58 GB, free: 14.75 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.8801, allocations: 4 kB / 1.58 GB, free: 14.74 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005527/0.8806, allocations: 284.9 kB / 1.58 GB, free: 14.45 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.8818, allocations: 200.9 kB / 1.58 GB, free: 14.27 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.8839, allocations: 1.143 MB / 1.581 GB, free: 13.05 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.8842, allocations: 258.4 kB / 1.582 GB, free: 12.77 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0003806/0.8846, allocations: 90.2 kB / 1.582 GB, free: 12.68 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.8847, allocations: 47.42 kB / 1.582 GB, free: 12.64 MB / 1.279 GB Notification: Performance of SimCode: time 8.42e-07/0.8847, allocations: 7.938 kB / 1.582 GB, free: 12.63 MB / 1.279 GB Notification: Performance of Templates: time 0.03847/0.9231, allocations: 21.59 MB / 1.603 GB, free: 7.285 MB / 1.295 GB " [Timeout remaining time 299] 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/jenkins/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: 11.739607114344835]