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.001776/0.001776, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.002238/0.002238, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.508/1.508, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.89/2.89, allocations: 0.49 GB / 0.7923 GB, free: 1.324 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.002113/0.002113, allocations: 67.91 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.2147/1.25, allocations: 166.7 MB / 1.485 GB, free: 14.41 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0122/1.263, allocations: 8.169 MB / 1.493 GB, free: 7.93 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007995/1.263, allocations: 26.75 kB / 1.493 GB, free: 7.914 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/1.265, allocations: 361 kB / 1.493 GB, free: 7.621 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002378/1.267, allocations: 0.7504 MB / 1.494 GB, free: 7.031 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006297/1.273, allocations: 2.144 MB / 1.496 GB, free: 5.48 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002409/1.276, allocations: 1.365 MB / 1.497 GB, free: 4.695 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007838/1.276, allocations: 383.8 kB / 1.498 GB, free: 4.43 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004133/1.281, allocations: 1.469 MB / 1.499 GB, free: 3.477 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009692/1.282, allocations: 460.4 kB / 1.499 GB, free: 3.207 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/1.282, allocations: 50.75 kB / 1.499 GB, free: 3.207 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007785/1.289, allocations: 3.646 MB / 1.503 GB, free: 15.82 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003477/1.29, allocations: 155.4 kB / 1.503 GB, free: 15.67 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007742/1.291, allocations: 342.5 kB / 1.504 GB, free: 15.34 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006063/1.297, allocations: 2.579 MB / 1.506 GB, free: 12.75 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.297, allocations: 0 / 1.506 GB, free: 12.75 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.653e-06/1.297, allocations: 0 / 1.506 GB, free: 12.75 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.28e-05/1.297, allocations: 4 kB / 1.506 GB, free: 12.75 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.00257/1.299, allocations: 1.039 MB / 1.507 GB, free: 11.66 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.299, allocations: 8.031 kB / 1.507 GB, free: 11.65 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/1.3, allocations: 143.5 kB / 1.507 GB, free: 11.51 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007752/1.301, allocations: 425.9 kB / 1.508 GB, free: 11.05 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.549e-05/1.301, allocations: 45.25 kB / 1.508 GB, free: 11.01 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.897e-05/1.301, allocations: 55.95 kB / 1.508 GB, free: 10.95 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/1.303, allocations: 0.6526 MB / 1.508 GB, free: 10.25 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/1.303, allocations: 0 / 1.508 GB, free: 10.25 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/1.303, allocations: 28 kB / 1.508 GB, free: 10.23 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/1.303, allocations: 19.94 kB / 1.508 GB, free: 10.21 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/1.304, allocations: 471.5 kB / 1.509 GB, free: 9.746 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.0172/1.321, allocations: 6.499 MB / 1.515 GB, free: 2.969 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004795/1.321, allocations: 155.1 kB / 1.515 GB, free: 2.809 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/1.322, allocations: 117.3 kB / 1.515 GB, free: 2.691 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01337/1.335, allocations: 3.845 MB / 1.519 GB, free: 14.7 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.056e-05/1.335, allocations: 42.78 kB / 1.519 GB, free: 14.64 MB / 1.201 GB Notification: Performance of pre-optimization done (n=27): time 2.886e-06/1.335, allocations: 0 / 1.519 GB, free: 14.64 MB / 1.201 GB Notification: Performance of matching and sorting (n=40): time 0.08974/1.425, allocations: 30.62 MB / 1.549 GB, free: 0 / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/1.425, allocations: 144.4 kB / 1.549 GB, free: 15.83 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000671/1.426, allocations: 461.8 kB / 1.55 GB, free: 15.38 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.373e-05/1.426, allocations: 29.7 kB / 1.55 GB, free: 15.34 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/1.426, allocations: 312.1 kB / 1.55 GB, free: 15.03 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/1.426, allocations: 154.7 kB / 1.55 GB, free: 14.88 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/1.426, allocations: 102.2 kB / 1.55 GB, free: 14.77 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001944/1.427, allocations: 358.8 kB / 1.551 GB, free: 14.41 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/1.427, allocations: 185 kB / 1.551 GB, free: 14.23 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006135/1.428, allocations: 349.2 kB / 1.551 GB, free: 13.82 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/1.429, allocations: 0.5225 MB / 1.552 GB, free: 13.24 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.429, allocations: 0 / 1.552 GB, free: 13.24 MB / 1.232 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001944/1.431, allocations: 0.6994 MB / 1.552 GB, free: 12.53 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/1.431, allocations: 11.94 kB / 1.552 GB, free: 12.52 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.431, allocations: 4 kB / 1.552 GB, free: 12.51 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005309/1.431, allocations: 113.6 kB / 1.552 GB, free: 12.39 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/1.432, allocations: 119.8 kB / 1.553 GB, free: 12.28 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003688/1.435, allocations: 3.41 MB / 1.556 GB, free: 8.59 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005954/1.436, allocations: 31.92 kB / 1.556 GB, free: 8.559 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/1.436, allocations: 27.98 kB / 1.556 GB, free: 8.531 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.0003293/1.436, allocations: 193.7 kB / 1.556 GB, free: 8.332 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/1.437, allocations: 59.61 kB / 1.556 GB, free: 8.273 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/1.438, allocations: 0.6456 MB / 1.557 GB, free: 7.594 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.438, allocations: 4 kB / 1.557 GB, free: 7.59 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/1.438, allocations: 0 / 1.557 GB, free: 7.59 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/1.438, allocations: 3.984 kB / 1.557 GB, free: 7.586 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/1.441, allocations: 1.199 MB / 1.558 GB, free: 6.277 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.441, allocations: 4 kB / 1.558 GB, free: 6.273 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/1.441, allocations: 67.89 kB / 1.558 GB, free: 6.207 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002924/1.441, allocations: 64.81 kB / 1.558 GB, free: 6.141 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/1.441, allocations: 12 kB / 1.558 GB, free: 6.129 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/1.443, allocations: 1.744 MB / 1.56 GB, free: 4.25 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.443, allocations: 8 kB / 1.56 GB, free: 4.242 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/1.445, allocations: 0.7176 MB / 1.561 GB, free: 3.457 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/1.445, allocations: 136.8 kB / 1.561 GB, free: 3.305 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.737e-05/1.445, allocations: 12 kB / 1.561 GB, free: 3.293 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/1.446, allocations: 31.97 kB / 1.561 GB, free: 3.262 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.589e-05/1.446, allocations: 27.91 kB / 1.561 GB, free: 3.234 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/1.446, allocations: 16 kB / 1.561 GB, free: 3.219 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005165/1.446, allocations: 358.8 kB / 1.561 GB, free: 2.867 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/1.446, allocations: 0 / 1.561 GB, free: 2.867 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001999/1.448, allocations: 0.5695 MB / 1.562 GB, free: 2.297 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.002246/1.451, allocations: 0.5563 MB / 1.562 GB, free: 1.73 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001756/1.452, allocations: 0.6385 MB / 1.563 GB, free: 1.066 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1.452, allocations: 4 kB / 1.563 GB, free: 1.062 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006195/1.453, allocations: 278.3 kB / 1.563 GB, free: 0.7773 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/1.455, allocations: 310 kB / 1.563 GB, free: 492 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/1.457, allocations: 1.159 MB / 1.565 GB, free: 15.23 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/1.457, allocations: 0.8629 MB / 1.565 GB, free: 14.34 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/1.458, allocations: 55.42 kB / 1.565 GB, free: 14.29 MB / 1.248 GB Notification: Performance of SimCode: time 1.012e-06/1.458, allocations: 0 / 1.565 GB, free: 14.29 MB / 1.248 GB Notification: Performance of Templates: time 0.03184/1.49, allocations: 19.85 MB / 1.585 GB, free: 10.57 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/jenkins1/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: 15.419156946998555]