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.001365/0.001365, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001579/0.001579, allocations: 214.6 kB / 23.01 MB, free: 4.566 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.023 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 3.203/3.203, allocations: 0.49 GB / 0.7958 GB, free: 33.34 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.002075/0.002075, allocations: 77.56 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.374, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.2022/0.5762, allocations: 166.9 MB / 1.49 GB, free: 9.902 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.5883, allocations: 8.195 MB / 1.498 GB, free: 1.676 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008319/0.5891, allocations: 23.81 kB / 1.498 GB, free: 1.652 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.5903, allocations: 357.8 kB / 1.499 GB, free: 1.301 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.5926, allocations: 0.7619 MB / 1.499 GB, free: 0.5352 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005768/0.5984, allocations: 2.162 MB / 1.501 GB, free: 14.38 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002378/0.6008, allocations: 1.38 MB / 1.503 GB, free: 13 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000734/0.6015, allocations: 377.8 kB / 1.503 GB, free: 12.62 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003908/0.6054, allocations: 1.502 MB / 1.505 GB, free: 11.11 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009505/0.6064, allocations: 462.1 kB / 1.505 GB, free: 10.66 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.6065, allocations: 52 kB / 1.505 GB, free: 10.61 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007373/0.6138, allocations: 3.644 MB / 1.509 GB, free: 6.961 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003072/0.6141, allocations: 159.4 kB / 1.509 GB, free: 6.805 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005819/0.6147, allocations: 342.5 kB / 1.509 GB, free: 6.469 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005101/0.6198, allocations: 2.579 MB / 1.512 GB, free: 3.883 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.6198, allocations: 0 / 1.512 GB, free: 3.883 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.524e-06/0.6198, allocations: 0 / 1.512 GB, free: 3.883 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.6199, allocations: 0 / 1.512 GB, free: 3.883 MB / 1.201 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.00242/0.6223, allocations: 0.9717 MB / 1.513 GB, free: 2.879 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.6223, allocations: 12.03 kB / 1.513 GB, free: 2.867 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.6234, allocations: 131.5 kB / 1.513 GB, free: 2.738 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007925/0.6242, allocations: 371.3 kB / 1.513 GB, free: 2.344 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.375e-05/0.6243, allocations: 37.31 kB / 1.513 GB, free: 2.305 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.432e-05/0.6244, allocations: 55.95 kB / 1.513 GB, free: 2.25 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.6255, allocations: 0.6564 MB / 1.514 GB, free: 1.543 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.6256, allocations: 0 / 1.514 GB, free: 1.543 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.618e-05/0.6256, allocations: 28 kB / 1.514 GB, free: 1.516 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.6256, allocations: 19.94 kB / 1.514 GB, free: 1.496 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009953/0.6266, allocations: 471.5 kB / 1.514 GB, free: 1.035 MB / 1.201 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.01623/0.6429, allocations: 5.97 MB / 1.52 GB, free: 10.91 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.6433, allocations: 156.1 kB / 1.52 GB, free: 10.75 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.6436, allocations: 113.3 kB / 1.52 GB, free: 10.64 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01154/0.6551, allocations: 3.258 MB / 1.524 GB, free: 7.375 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.919e-05/0.6552, allocations: 46.73 kB / 1.524 GB, free: 7.32 MB / 1.217 GB Notification: Performance of pre-optimization done (n=27): time 2.665e-06/0.6552, allocations: 0 / 1.524 GB, free: 7.32 MB / 1.217 GB Notification: Performance of matching and sorting (n=40): time 0.08166/0.7368, allocations: 30.55 MB / 1.553 GB, free: 8.758 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.344e-05/0.7369, allocations: 140.5 kB / 1.554 GB, free: 8.59 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006146/0.7375, allocations: 465.8 kB / 1.554 GB, free: 8.133 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.7376, allocations: 33.7 kB / 1.554 GB, free: 8.094 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.7378, allocations: 316.1 kB / 1.554 GB, free: 7.781 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.738, allocations: 146.7 kB / 1.554 GB, free: 7.637 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.7381, allocations: 106.3 kB / 1.555 GB, free: 7.527 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.7383, allocations: 358.7 kB / 1.555 GB, free: 7.168 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004264/0.7387, allocations: 185.2 kB / 1.555 GB, free: 6.984 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005879/0.7393, allocations: 354.1 kB / 1.555 GB, free: 6.57 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009479/0.7403, allocations: 0.5148 MB / 1.556 GB, free: 5.996 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.7403, allocations: 4 kB / 1.556 GB, free: 5.992 MB / 1.248 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001828/0.7421, allocations: 0.6951 MB / 1.557 GB, free: 5.285 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.7421, allocations: 7.938 kB / 1.557 GB, free: 5.277 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.7421, allocations: 7.984 kB / 1.557 GB, free: 5.27 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000515/0.7427, allocations: 130 kB / 1.557 GB, free: 5.137 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.7431, allocations: 111.8 kB / 1.557 GB, free: 5.027 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003445/0.7466, allocations: 3.199 MB / 1.56 GB, free: 1.598 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005893/0.7472, allocations: 31.97 kB / 1.56 GB, free: 1.566 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.7472, allocations: 20 kB / 1.56 GB, free: 1.547 MB / 1.248 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.0003174/0.7475, allocations: 194.2 kB / 1.56 GB, free: 1.348 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.7478, allocations: 63.61 kB / 1.56 GB, free: 1.285 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.7493, allocations: 0.6459 MB / 1.561 GB, free: 0.6094 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.7493, allocations: 12.03 kB / 1.561 GB, free: 0.5977 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7493, allocations: 3.984 kB / 1.561 GB, free: 0.5938 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.7493, allocations: 0 / 1.561 GB, free: 0.5938 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.7516, allocations: 1.171 MB / 1.562 GB, free: 15.32 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.7516, allocations: 4 kB / 1.562 GB, free: 15.31 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.7519, allocations: 63.91 kB / 1.562 GB, free: 15.25 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000277/0.7522, allocations: 73.3 kB / 1.562 GB, free: 15.18 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.7522, allocations: 12 kB / 1.562 GB, free: 15.16 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.7541, allocations: 1.633 MB / 1.564 GB, free: 13.42 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.7541, allocations: 4 kB / 1.564 GB, free: 13.41 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.7557, allocations: 0.7311 MB / 1.565 GB, free: 12.62 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.7558, allocations: 51.7 kB / 1.565 GB, free: 12.57 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/0.7559, allocations: 12.14 kB / 1.565 GB, free: 12.55 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.7563, allocations: 19.98 kB / 1.565 GB, free: 12.54 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/0.7564, allocations: 43.88 kB / 1.565 GB, free: 12.49 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.7564, allocations: 19.98 kB / 1.565 GB, free: 12.47 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0004766/0.7569, allocations: 354.9 kB / 1.565 GB, free: 12.12 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7569, allocations: 0 / 1.565 GB, free: 12.12 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001938/0.7589, allocations: 0.5656 MB / 1.566 GB, free: 11.56 MB / 1.264 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.002517/0.7614, allocations: 0.5489 MB / 1.566 GB, free: 11 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001902/0.7633, allocations: 0.6461 MB / 1.567 GB, free: 10.33 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.7633, allocations: 0 / 1.567 GB, free: 10.33 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006231/0.7639, allocations: 283.4 kB / 1.567 GB, free: 10.04 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.7657, allocations: 306.6 kB / 1.567 GB, free: 9.75 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.7682, allocations: 1.17 MB / 1.568 GB, free: 8.492 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/0.7688, allocations: 0.8629 MB / 1.569 GB, free: 7.602 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.769, allocations: 55.42 kB / 1.569 GB, free: 7.547 MB / 1.264 GB Notification: Performance of SimCode: time 1.303e-06/0.769, allocations: 0 / 1.569 GB, free: 7.547 MB / 1.264 GB Notification: Performance of Templates: time 0.0321/0.8011, allocations: 19.85 MB / 1.589 GB, free: 3.824 MB / 1.279 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: 14.8320662350161]