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.001606/0.001606, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00178/0.00178, allocations: 217.3 kB / 22.99 MB, free: 4.945 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.782/2.782, allocations: 476 MB / 0.7707 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002172/0.002172, allocations: 68.95 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3464, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1923/0.5387, allocations: 144.3 MB / 1.425 GB, free: 11.07 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01224/0.551, allocations: 7.49 MB / 1.432 GB, free: 3.562 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008912/0.5518, allocations: 27.81 kB / 1.432 GB, free: 3.535 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.5531, allocations: 325.9 kB / 1.432 GB, free: 3.215 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.5555, allocations: 0.758 MB / 1.433 GB, free: 2.453 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006023/0.5615, allocations: 2.159 MB / 1.435 GB, free: 308 kB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002263/0.5638, allocations: 1.376 MB / 1.437 GB, free: 14.91 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008047/0.5646, allocations: 362 kB / 1.437 GB, free: 14.55 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004164/0.5688, allocations: 1.486 MB / 1.438 GB, free: 13.06 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.5698, allocations: 446.1 kB / 1.439 GB, free: 12.62 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.5699, allocations: 52 kB / 1.439 GB, free: 12.57 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008036/0.578, allocations: 3.503 MB / 1.442 GB, free: 9.066 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003603/0.5783, allocations: 159.4 kB / 1.442 GB, free: 8.91 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005911/0.5789, allocations: 294.7 kB / 1.443 GB, free: 8.621 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005723/0.5846, allocations: 2.572 MB / 1.445 GB, free: 6.043 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.5847, allocations: 4 kB / 1.445 GB, free: 6.039 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5847, allocations: 0 / 1.445 GB, free: 6.039 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.5847, allocations: 0 / 1.445 GB, free: 6.039 MB / 1.139 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.002515/0.5872, allocations: 0.9794 MB / 1.446 GB, free: 5.027 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5872, allocations: 8.031 kB / 1.446 GB, free: 5.02 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.5884, allocations: 135.5 kB / 1.446 GB, free: 4.887 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008492/0.5892, allocations: 367.3 kB / 1.447 GB, free: 4.5 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.5893, allocations: 37.31 kB / 1.447 GB, free: 4.461 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-05/0.5894, allocations: 52 kB / 1.447 GB, free: 4.41 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.5908, allocations: 0.9866 MB / 1.448 GB, free: 3.297 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.5909, allocations: 3.953 kB / 1.448 GB, free: 3.293 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/0.5909, allocations: 28 kB / 1.448 GB, free: 3.266 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.5909, allocations: 15.98 kB / 1.448 GB, free: 3.25 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.592, allocations: 463.5 kB / 1.448 GB, free: 2.797 MB / 1.139 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.01643/0.6084, allocations: 5.51 MB / 1.454 GB, free: 13.2 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.6088, allocations: 159.1 kB / 1.454 GB, free: 13.04 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.6091, allocations: 121.3 kB / 1.454 GB, free: 12.91 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01208/0.6212, allocations: 3.266 MB / 1.457 GB, free: 9.645 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/0.6213, allocations: 38.8 kB / 1.457 GB, free: 9.598 MB / 1.154 GB Notification: Performance of pre-optimization done (n=27): time 2.345e-06/0.6213, allocations: 0 / 1.457 GB, free: 9.598 MB / 1.154 GB Notification: Performance of matching and sorting (n=40): time 0.08941/0.7107, allocations: 30.54 MB / 1.487 GB, free: 11.04 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.7108, allocations: 136.5 kB / 1.487 GB, free: 10.88 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004753/0.7113, allocations: 357.5 kB / 1.487 GB, free: 10.52 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.7113, allocations: 33.7 kB / 1.487 GB, free: 10.48 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/0.7116, allocations: 320.5 kB / 1.488 GB, free: 10.16 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.7117, allocations: 150.7 kB / 1.488 GB, free: 10.02 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.7119, allocations: 106.3 kB / 1.488 GB, free: 9.906 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.7121, allocations: 350.7 kB / 1.488 GB, free: 9.555 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004948/0.7126, allocations: 189.2 kB / 1.488 GB, free: 9.371 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006766/0.7133, allocations: 427.2 kB / 1.489 GB, free: 8.863 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.7143, allocations: 0.5217 MB / 1.489 GB, free: 8.281 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.7143, allocations: 4 kB / 1.489 GB, free: 8.277 MB / 1.186 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001804/0.7161, allocations: 0.6836 MB / 1.49 GB, free: 7.582 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.7161, allocations: 9.875 kB / 1.49 GB, free: 7.574 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.7161, allocations: 4 kB / 1.49 GB, free: 7.57 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005089/0.7166, allocations: 117.9 kB / 1.49 GB, free: 7.453 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/0.7172, allocations: 119.8 kB / 1.49 GB, free: 7.336 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003754/0.7209, allocations: 3.141 MB / 1.493 GB, free: 3.996 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005182/0.7214, allocations: 27.97 kB / 1.493 GB, free: 3.969 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.7215, allocations: 28.06 kB / 1.493 GB, free: 3.941 MB / 1.186 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.0003193/0.7218, allocations: 193.6 kB / 1.494 GB, free: 3.742 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.722, allocations: 51.88 kB / 1.494 GB, free: 3.691 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.7235, allocations: 0.6503 MB / 1.494 GB, free: 3.016 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.7235, allocations: 4 kB / 1.494 GB, free: 3.012 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.7235, allocations: 3.938 kB / 1.494 GB, free: 3.008 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.7235, allocations: 7.922 kB / 1.494 GB, free: 3 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.7258, allocations: 1.023 MB / 1.495 GB, free: 1.887 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.7258, allocations: 4.5 kB / 1.495 GB, free: 1.883 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.7261, allocations: 71.83 kB / 1.495 GB, free: 1.812 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002939/0.7264, allocations: 76.67 kB / 1.495 GB, free: 1.734 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.7264, allocations: 12 kB / 1.495 GB, free: 1.723 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/0.7283, allocations: 1.606 MB / 1.497 GB, free: 16 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.7283, allocations: 7.938 kB / 1.497 GB, free: 8 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.7298, allocations: 0.7138 MB / 1.498 GB, free: 15.23 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.244e-05/0.7299, allocations: 35.77 kB / 1.498 GB, free: 15.2 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.377e-05/0.73, allocations: 20.05 kB / 1.498 GB, free: 15.18 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.7304, allocations: 19.98 kB / 1.498 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.104e-05/0.7305, allocations: 35.83 kB / 1.498 GB, free: 15.12 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.7305, allocations: 16 kB / 1.498 GB, free: 15.11 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003927/0.7309, allocations: 271.1 kB / 1.498 GB, free: 14.84 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.7309, allocations: 0 / 1.498 GB, free: 14.84 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001898/0.7328, allocations: 0.5617 MB / 1.499 GB, free: 14.28 MB / 1.201 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.001948/0.7347, allocations: 0.5413 MB / 1.499 GB, free: 13.72 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.7364, allocations: 0.6538 MB / 1.5 GB, free: 13.04 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.7364, allocations: 4 kB / 1.5 GB, free: 13.04 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005842/0.737, allocations: 275.6 kB / 1.5 GB, free: 12.76 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.7381, allocations: 209.2 kB / 1.5 GB, free: 12.56 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.7403, allocations: 1.165 MB / 1.501 GB, free: 11.31 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.7406, allocations: 254.4 kB / 1.502 GB, free: 11.04 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.7408, allocations: 55.42 kB / 1.502 GB, free: 10.98 MB / 1.201 GB Notification: Performance of SimCode: time 1.192e-06/0.7408, allocations: 0 / 1.502 GB, free: 10.98 MB / 1.201 GB Notification: Performance of Templates: time 0.03205/0.7728, allocations: 18.85 MB / 1.52 GB, free: 8.238 MB / 1.217 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/jenkins1/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: 14.2122733280994]