Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001796/0.001796, 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.002333/0.002333, allocations: 213.8 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.77 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.345/3.345, 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.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_latest_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_latest_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.002095/0.002095, allocations: 68.86 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3563, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1927/0.5489, allocations: 143.9 MB / 1.504 GB, free: 13.22 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01333/0.5623, allocations: 8.167 MB / 1.512 GB, free: 5.023 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007541/0.563, allocations: 23.81 kB / 1.512 GB, free: 5 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.5643, allocations: 333.9 kB / 1.513 GB, free: 4.672 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003141/0.5674, allocations: 1.131 MB / 1.514 GB, free: 3.539 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005656/0.573, allocations: 2.156 MB / 1.516 GB, free: 1.391 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002186/0.5752, allocations: 1.391 MB / 1.517 GB, free: 15.99 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007704/0.576, allocations: 346.1 kB / 1.518 GB, free: 15.65 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005538/0.5815, allocations: 2.198 MB / 1.52 GB, free: 13.45 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.5846, allocations: 1.262 MB / 1.521 GB, free: 12.18 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.5848, allocations: 52 kB / 1.521 GB, free: 12.13 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006074/0.5909, allocations: 2.797 MB / 1.524 GB, free: 9.328 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.5911, allocations: 155.4 kB / 1.524 GB, free: 9.176 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005573/0.5917, allocations: 290.8 kB / 1.524 GB, free: 8.891 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00407/0.5957, allocations: 2.221 MB / 1.526 GB, free: 6.664 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5957, allocations: 3.938 kB / 1.526 GB, free: 6.66 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5957, allocations: 0 / 1.526 GB, free: 6.66 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.002e-05/0.5958, allocations: 3.984 kB / 1.526 GB, free: 6.656 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.002228/0.598, allocations: 0.9486 MB / 1.527 GB, free: 5.676 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.598, allocations: 12.03 kB / 1.527 GB, free: 5.664 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.5992, allocations: 147.6 kB / 1.527 GB, free: 5.52 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008418/0.6, allocations: 375.3 kB / 1.528 GB, free: 5.125 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.6, allocations: 37.31 kB / 1.528 GB, free: 5.086 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.6001, allocations: 59.98 kB / 1.528 GB, free: 5.027 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.6016, allocations: 0.9945 MB / 1.529 GB, free: 3.902 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.6017, allocations: 4 kB / 1.529 GB, free: 3.898 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/0.6017, allocations: 24 kB / 1.529 GB, free: 3.875 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.6017, allocations: 19.94 kB / 1.529 GB, free: 3.855 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.6029, allocations: 491.5 kB / 1.529 GB, free: 3.375 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.003418/0.6063, allocations: 2.189 MB / 1.531 GB, free: 1.109 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006457/0.607, allocations: 258.4 kB / 1.532 GB, free: 0.8477 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003867/0.6073, allocations: 165.4 kB / 1.532 GB, free: 0.6836 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0187/0.626, allocations: 4.924 MB / 1.537 GB, free: 11.75 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.6261, allocations: 42.42 kB / 1.537 GB, free: 11.7 MB / 1.232 GB Notification: Performance of pre-optimization done (n=36): time 2.144e-06/0.6261, allocations: 4 kB / 1.537 GB, free: 11.7 MB / 1.232 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.09873/0.7248, allocations: 31.65 MB / 1.568 GB, free: 12.05 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.914e-05/0.7249, allocations: 137 kB / 1.568 GB, free: 11.89 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005195/0.7254, allocations: 337.5 kB / 1.568 GB, free: 11.55 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.88e-05/0.7255, allocations: 37.69 kB / 1.568 GB, free: 11.51 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.7258, allocations: 296.7 kB / 1.568 GB, free: 11.21 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.726, allocations: 194.4 kB / 1.569 GB, free: 11.02 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.7262, allocations: 110.3 kB / 1.569 GB, free: 10.91 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.7264, allocations: 354.8 kB / 1.569 GB, free: 10.55 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006231/0.727, allocations: 237.2 kB / 1.569 GB, free: 10.32 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008071/0.7278, allocations: 450.5 kB / 1.57 GB, free: 9.812 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.7291, allocations: 0.598 MB / 1.57 GB, free: 9.172 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.7291, allocations: 4 kB / 1.57 GB, free: 9.168 MB / 1.264 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00221/0.7313, allocations: 0.7822 MB / 1.571 GB, free: 8.375 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.7314, allocations: 10.5 kB / 1.571 GB, free: 8.367 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.7314, allocations: 4 kB / 1.571 GB, free: 8.363 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005441/0.7319, allocations: 121.9 kB / 1.571 GB, free: 8.238 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.7325, allocations: 131.8 kB / 1.571 GB, free: 8.109 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00384/0.7364, allocations: 3.18 MB / 1.574 GB, free: 4.73 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/0.737, allocations: 35.97 kB / 1.574 GB, free: 4.695 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.7371, allocations: 27.98 kB / 1.574 GB, free: 4.668 MB / 1.264 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.0003444/0.7374, allocations: 201.7 kB / 1.575 GB, free: 4.461 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.7376, allocations: 47.72 kB / 1.575 GB, free: 4.414 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.7396, allocations: 0.7822 MB / 1.575 GB, free: 3.613 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.7396, allocations: 4 kB / 1.575 GB, free: 3.609 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.7396, allocations: 8 kB / 1.575 GB, free: 3.602 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.7396, allocations: 0 / 1.575 GB, free: 3.602 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003425/0.7431, allocations: 1.388 MB / 1.577 GB, free: 2.133 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.7431, allocations: 8 kB / 1.577 GB, free: 2.125 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.7436, allocations: 103.9 kB / 1.577 GB, free: 2.023 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002675/0.7439, allocations: 73.16 kB / 1.577 GB, free: 1.949 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-05/0.7439, allocations: 23.98 kB / 1.577 GB, free: 1.926 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.7459, allocations: 1.641 MB / 1.579 GB, free: 192 kB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.7459, allocations: 4 kB / 1.579 GB, free: 188 kB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.7482, allocations: 1.005 MB / 1.58 GB, free: 15.12 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.7483, allocations: 39.75 kB / 1.58 GB, free: 15.08 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.04e-05/0.7484, allocations: 12 kB / 1.58 GB, free: 15.07 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004805/0.7489, allocations: 27.98 kB / 1.58 GB, free: 15.04 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.749, allocations: 55.86 kB / 1.58 GB, free: 14.98 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/0.7491, allocations: 23.98 kB / 1.58 GB, free: 14.96 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0003546/0.7494, allocations: 243.2 kB / 1.58 GB, free: 14.72 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7494, allocations: 0 / 1.58 GB, free: 14.72 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004245/0.7537, allocations: 1.398 MB / 1.581 GB, free: 13.32 MB / 1.279 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.008684/0.7623, allocations: 0.7356 MB / 1.582 GB, free: 12.58 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002466/0.7648, allocations: 0.7878 MB / 1.583 GB, free: 11.77 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/0.7648, allocations: 4.125 kB / 1.583 GB, free: 11.76 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0009076/0.7657, allocations: 370.6 kB / 1.583 GB, free: 11.39 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.7672, allocations: 227 kB / 1.583 GB, free: 11.17 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.7697, allocations: 1.201 MB / 1.585 GB, free: 9.906 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.77, allocations: 282.9 kB / 1.585 GB, free: 9.602 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.000585/0.7706, allocations: 116.8 kB / 1.585 GB, free: 9.496 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.7708, allocations: 59.42 kB / 1.585 GB, free: 9.438 MB / 1.279 GB Notification: Performance of SimCode: time 6.82e-07/0.7708, allocations: 0 / 1.585 GB, free: 9.438 MB / 1.279 GB Notification: Performance of Templates: time 0.735/1.506, allocations: 62.04 MB / 1.646 GB, free: 224.5 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.666541879996657]