Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001444/0.001444, allocations: 100.8 kB / 19.74 MB, free: 2.066 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: 217.4 kB / 23.04 MB, free: 4.844 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.734 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.154/3.154, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.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_12_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_12_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.002141/0.002141, allocations: 68.12 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3613, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1942/0.5556, allocations: 143.8 MB / 1.468 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0131/0.5687, allocations: 8.176 MB / 1.476 GB, free: 8.379 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007965/0.5695, allocations: 23.81 kB / 1.476 GB, free: 8.355 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.5706, allocations: 329.8 kB / 1.476 GB, free: 8.031 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00306/0.5737, allocations: 1.142 MB / 1.477 GB, free: 6.887 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005645/0.5793, allocations: 2.148 MB / 1.479 GB, free: 4.746 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002187/0.5815, allocations: 1.388 MB / 1.481 GB, free: 3.355 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006837/0.5822, allocations: 365.9 kB / 1.481 GB, free: 2.992 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005698/0.5879, allocations: 2.19 MB / 1.483 GB, free: 0.793 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003639/0.5915, allocations: 1.266 MB / 1.484 GB, free: 15.53 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.5917, allocations: 52 kB / 1.484 GB, free: 15.48 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006421/0.5981, allocations: 2.793 MB / 1.487 GB, free: 12.68 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003243/0.5985, allocations: 151.4 kB / 1.487 GB, free: 12.53 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005846/0.599, allocations: 298.8 kB / 1.487 GB, free: 12.24 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00433/0.6034, allocations: 2.213 MB / 1.49 GB, free: 10.02 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.6034, allocations: 15.86 kB / 1.49 GB, free: 10 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6034, allocations: 4 kB / 1.49 GB, free: 10 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.6034, allocations: 0 / 1.49 GB, free: 10 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.002142/0.6055, allocations: 0.9408 MB / 1.491 GB, free: 9.027 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.6056, allocations: 8.031 kB / 1.491 GB, free: 9.02 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.6067, allocations: 155.6 kB / 1.491 GB, free: 8.867 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007859/0.6075, allocations: 375.3 kB / 1.491 GB, free: 8.469 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/0.6076, allocations: 41.31 kB / 1.491 GB, free: 8.426 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.785e-05/0.6077, allocations: 51.95 kB / 1.491 GB, free: 8.375 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.6092, allocations: 0.9945 MB / 1.492 GB, free: 7.25 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.6092, allocations: 0 / 1.492 GB, free: 7.25 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.6093, allocations: 24 kB / 1.492 GB, free: 7.227 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.6093, allocations: 15.94 kB / 1.492 GB, free: 7.211 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.6104, allocations: 495.5 kB / 1.493 GB, free: 6.727 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.003413/0.6138, allocations: 2.193 MB / 1.495 GB, free: 4.457 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006729/0.6145, allocations: 256.5 kB / 1.495 GB, free: 4.199 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.6149, allocations: 153.4 kB / 1.495 GB, free: 4.047 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01811/0.633, allocations: 4.924 MB / 1.5 GB, free: 15.12 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.034e-05/0.6331, allocations: 46.36 kB / 1.5 GB, free: 15.06 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 2.465e-06/0.6331, allocations: 0 / 1.5 GB, free: 15.06 MB / 1.201 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.09193/0.725, allocations: 31.66 MB / 1.531 GB, free: 15.4 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.605e-05/0.7251, allocations: 136.9 kB / 1.531 GB, free: 15.24 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.7256, allocations: 337.6 kB / 1.531 GB, free: 14.9 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/0.7256, allocations: 37.7 kB / 1.531 GB, free: 14.86 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.7259, allocations: 304.6 kB / 1.532 GB, free: 14.56 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.726, allocations: 190.4 kB / 1.532 GB, free: 14.37 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.7262, allocations: 118.3 kB / 1.532 GB, free: 14.25 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.7264, allocations: 346.8 kB / 1.532 GB, free: 13.9 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.727, allocations: 237.2 kB / 1.533 GB, free: 13.67 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007693/0.7278, allocations: 450.6 kB / 1.533 GB, free: 13.16 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.729, allocations: 0.5942 MB / 1.534 GB, free: 12.52 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.729, allocations: 0 / 1.534 GB, free: 12.52 MB / 1.232 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002085/0.7311, allocations: 0.7899 MB / 1.534 GB, free: 11.72 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.7311, allocations: 8 kB / 1.534 GB, free: 11.71 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.7311, allocations: 384 / 1.534 GB, free: 11.71 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005314/0.7316, allocations: 133.6 kB / 1.534 GB, free: 11.57 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/0.7322, allocations: 127.8 kB / 1.535 GB, free: 11.45 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/0.7357, allocations: 3.169 MB / 1.538 GB, free: 8.082 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006045/0.7363, allocations: 36.19 kB / 1.538 GB, free: 8.047 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.7364, allocations: 27.98 kB / 1.538 GB, free: 8.02 MB / 1.232 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.0003332/0.7367, allocations: 198.1 kB / 1.538 GB, free: 7.816 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.737, allocations: 47.72 kB / 1.538 GB, free: 7.77 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.739, allocations: 0.7892 MB / 1.539 GB, free: 6.965 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.739, allocations: 4 kB / 1.539 GB, free: 6.961 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.739, allocations: 3.938 kB / 1.539 GB, free: 6.957 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.739, allocations: 3.984 kB / 1.539 GB, free: 6.953 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.7422, allocations: 1.403 MB / 1.54 GB, free: 5.469 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.7422, allocations: 4 kB / 1.54 GB, free: 5.465 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.7427, allocations: 104.3 kB / 1.54 GB, free: 5.363 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002622/0.743, allocations: 64.81 kB / 1.54 GB, free: 5.297 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/0.743, allocations: 15.98 kB / 1.54 GB, free: 5.281 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.7448, allocations: 1.637 MB / 1.542 GB, free: 3.547 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.7448, allocations: 4 kB / 1.542 GB, free: 3.543 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.7471, allocations: 1.016 MB / 1.543 GB, free: 2.465 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.7472, allocations: 43.69 kB / 1.543 GB, free: 2.422 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.096e-05/0.7473, allocations: 20.06 kB / 1.543 GB, free: 2.402 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.7477, allocations: 27.97 kB / 1.543 GB, free: 2.375 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.7478, allocations: 43.88 kB / 1.543 GB, free: 2.332 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/0.7479, allocations: 23.98 kB / 1.543 GB, free: 2.309 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003502/0.7482, allocations: 251.2 kB / 1.543 GB, free: 2.066 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7482, allocations: 0 / 1.543 GB, free: 2.066 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004516/0.7527, allocations: 1.39 MB / 1.545 GB, free: 0.6758 MB / 1.232 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.007922/0.7607, allocations: 0.7472 MB / 1.545 GB, free: 15.92 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002123/0.7628, allocations: 0.7801 MB / 1.546 GB, free: 15.11 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.7628, allocations: 0 / 1.546 GB, free: 15.11 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0008233/0.7636, allocations: 371.2 kB / 1.547 GB, free: 14.73 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.7649, allocations: 229 kB / 1.547 GB, free: 14.52 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.7672, allocations: 1.234 MB / 1.548 GB, free: 13.21 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.7675, allocations: 278.9 kB / 1.548 GB, free: 12.91 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.7677, allocations: 63.41 kB / 1.548 GB, free: 12.85 MB / 1.248 GB Notification: Performance of SimCode: time 8.61e-07/0.7677, allocations: 0 / 1.548 GB, free: 12.85 MB / 1.248 GB Notification: Performance of Templates: time 0.0661/0.8338, allocations: 41.12 MB / 1.588 GB, free: 4.281 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.683196246158332]