Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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.001475/0.001475, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001657/0.001657, allocations: 222 kB / 23 MB, free: 4.918 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.817/2.817, allocations: 476 MB / 0.7707 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 177] 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.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,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.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,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.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [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.002111/0.002111, allocations: 72.11 kB / 1.118 GB, free: 41.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3563, allocations: 170 MB / 1.284 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1915/0.5478, allocations: 143.9 MB / 1.424 GB, free: 11.66 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01334/0.5612, allocations: 8.175 MB / 1.432 GB, free: 3.461 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007069/0.5619, allocations: 23.81 kB / 1.432 GB, free: 3.438 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.563, allocations: 333.9 kB / 1.433 GB, free: 3.109 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003164/0.5662, allocations: 1.133 MB / 1.434 GB, free: 1.973 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005452/0.5716, allocations: 2.145 MB / 1.436 GB, free: 15.84 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001966/0.5736, allocations: 1.399 MB / 1.437 GB, free: 14.43 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006649/0.5743, allocations: 358.2 kB / 1.437 GB, free: 14.07 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005413/0.5797, allocations: 2.194 MB / 1.44 GB, free: 11.87 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00286/0.5826, allocations: 1.266 MB / 1.441 GB, free: 10.6 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.5827, allocations: 52 kB / 1.441 GB, free: 10.55 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00587/0.5886, allocations: 2.79 MB / 1.444 GB, free: 7.754 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.5888, allocations: 159.4 kB / 1.444 GB, free: 7.598 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000496/0.5893, allocations: 294.8 kB / 1.444 GB, free: 7.309 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003837/0.5932, allocations: 2.221 MB / 1.446 GB, free: 5.082 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5932, allocations: 0 / 1.446 GB, free: 5.082 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5932, allocations: 0 / 1.446 GB, free: 5.082 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.5932, allocations: 0 / 1.446 GB, free: 5.082 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.002185/0.5954, allocations: 0.9447 MB / 1.447 GB, free: 4.105 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.5954, allocations: 12.03 kB / 1.447 GB, free: 4.094 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.5965, allocations: 147.6 kB / 1.447 GB, free: 3.949 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008403/0.5974, allocations: 367.3 kB / 1.448 GB, free: 3.562 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.5974, allocations: 41.31 kB / 1.448 GB, free: 3.52 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.954e-05/0.5975, allocations: 51.95 kB / 1.448 GB, free: 3.469 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.599, allocations: 0.9945 MB / 1.449 GB, free: 2.348 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.5991, allocations: 0 / 1.449 GB, free: 2.348 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.184e-05/0.5991, allocations: 28 kB / 1.449 GB, free: 2.32 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/0.5991, allocations: 23.92 kB / 1.449 GB, free: 2.297 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.6003, allocations: 491.5 kB / 1.449 GB, free: 1.816 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.003506/0.6038, allocations: 2.185 MB / 1.451 GB, free: 15.55 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006809/0.6045, allocations: 254.5 kB / 1.452 GB, free: 15.29 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003634/0.6049, allocations: 164.7 kB / 1.452 GB, free: 15.13 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01894/0.6238, allocations: 4.937 MB / 1.457 GB, free: 10.19 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/0.6238, allocations: 38.56 kB / 1.457 GB, free: 10.14 MB / 1.154 GB Notification: Performance of pre-optimization done (n=36): time 2.294e-06/0.6238, allocations: 0 / 1.457 GB, free: 10.14 MB / 1.154 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.09655/0.7204, allocations: 31.65 MB / 1.488 GB, free: 10.5 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.7205, allocations: 137 kB / 1.488 GB, free: 10.34 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/0.7209, allocations: 345.5 kB / 1.488 GB, free: 9.992 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.721, allocations: 33.7 kB / 1.488 GB, free: 9.953 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.7212, allocations: 300.7 kB / 1.488 GB, free: 9.652 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.7214, allocations: 190.4 kB / 1.489 GB, free: 9.465 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.7216, allocations: 114.3 kB / 1.489 GB, free: 9.348 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.7218, allocations: 346.8 kB / 1.489 GB, free: 9 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005935/0.7224, allocations: 241.2 kB / 1.489 GB, free: 8.766 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007754/0.7232, allocations: 450.5 kB / 1.49 GB, free: 8.254 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.7244, allocations: 0.5981 MB / 1.49 GB, free: 7.609 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7244, allocations: 0 / 1.49 GB, free: 7.609 MB / 1.186 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002066/0.7265, allocations: 0.7901 MB / 1.491 GB, free: 6.805 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.7265, allocations: 11.94 kB / 1.491 GB, free: 6.793 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.7265, allocations: 4 kB / 1.491 GB, free: 6.789 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005292/0.727, allocations: 121.5 kB / 1.491 GB, free: 6.664 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006031/0.7276, allocations: 135.8 kB / 1.491 GB, free: 6.531 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/0.7312, allocations: 3.162 MB / 1.494 GB, free: 3.172 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005897/0.7318, allocations: 39.97 kB / 1.494 GB, free: 3.133 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.7319, allocations: 27.97 kB / 1.494 GB, free: 3.105 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 63 * 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.0003339/0.7322, allocations: 193.6 kB / 1.495 GB, free: 2.906 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.7324, allocations: 47.72 kB / 1.495 GB, free: 2.859 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/0.7343, allocations: 0.7838 MB / 1.495 GB, free: 2.062 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.7343, allocations: 4 kB / 1.495 GB, free: 2.059 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.7343, allocations: 0 / 1.495 GB, free: 2.059 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.7344, allocations: 7.984 kB / 1.495 GB, free: 2.051 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003259/0.7376, allocations: 1.409 MB / 1.497 GB, free: 0.5586 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.7376, allocations: 4.125 kB / 1.497 GB, free: 0.5547 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/0.7381, allocations: 103.9 kB / 1.497 GB, free: 464 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/0.7384, allocations: 64.81 kB / 1.497 GB, free: 396 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.7384, allocations: 23.92 kB / 1.497 GB, free: 372 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/0.7404, allocations: 1.641 MB / 1.499 GB, free: 14.62 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.7404, allocations: 3.984 kB / 1.499 GB, free: 14.61 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.7426, allocations: 1.009 MB / 1.5 GB, free: 13.55 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.7427, allocations: 51.64 kB / 1.5 GB, free: 13.5 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.759e-05/0.7428, allocations: 8 kB / 1.5 GB, free: 13.49 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/0.7433, allocations: 31.97 kB / 1.5 GB, free: 13.46 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.7434, allocations: 43.88 kB / 1.5 GB, free: 13.42 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/0.7434, allocations: 27.92 kB / 1.5 GB, free: 13.39 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003543/0.7438, allocations: 247.2 kB / 1.5 GB, free: 13.15 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.7438, allocations: 4.062 kB / 1.5 GB, free: 13.15 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.004097/0.7479, allocations: 1.394 MB / 1.501 GB, free: 11.75 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (48): * Single equations (assignments): 47 * 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.007427/0.7553, allocations: 0.7459 MB / 1.502 GB, free: 11 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00207/0.7574, allocations: 0.7722 MB / 1.503 GB, free: 10.2 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/0.7574, allocations: 4 kB / 1.503 GB, free: 10.2 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0008149/0.7582, allocations: 382.6 kB / 1.503 GB, free: 9.812 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.7595, allocations: 221.5 kB / 1.503 GB, free: 9.594 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.7617, allocations: 1.225 MB / 1.505 GB, free: 8.293 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.762, allocations: 274.9 kB / 1.505 GB, free: 7.996 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.7622, allocations: 59.42 kB / 1.505 GB, free: 7.941 MB / 1.201 GB Notification: Performance of SimCode: time 4.41e-07/0.7622, allocations: 0 / 1.505 GB, free: 7.941 MB / 1.201 GB Notification: Performance of Templates: time 0.06491/0.8272, allocations: 41.12 MB / 1.545 GB, free: 15.38 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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.088628324214369]