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.001309/0.001309, allocations: 115.9 kB / 17.13 MB, free: 6.008 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.001456/0.001456, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.969/2.969, allocations: 0.49 GB / 0.7923 GB, free: 1.293 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.002032/0.002032, allocations: 71.89 kB / 1.15 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202/1.204, allocations: 176.1 MB / 1.322 GB, free: 7.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.2242/1.428, allocations: 166.1 MB / 1.484 GB, free: 15.4 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0139/1.442, allocations: 8.919 MB / 1.493 GB, free: 6.449 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009558/1.443, allocations: 23.81 kB / 1.493 GB, free: 6.426 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/1.444, allocations: 361.8 kB / 1.493 GB, free: 6.07 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003532/1.448, allocations: 1.124 MB / 1.494 GB, free: 4.941 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006241/1.454, allocations: 2.151 MB / 1.496 GB, free: 2.801 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002555/1.456, allocations: 1.372 MB / 1.498 GB, free: 1.426 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008167/1.457, allocations: 385.4 kB / 1.498 GB, free: 1.039 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006452/1.464, allocations: 2.144 MB / 1.5 GB, free: 14.89 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003203/1.467, allocations: 1.327 MB / 1.502 GB, free: 13.55 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/1.467, allocations: 48 kB / 1.502 GB, free: 13.5 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006492/1.473, allocations: 2.907 MB / 1.504 GB, free: 10.59 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003426/1.474, allocations: 159.4 kB / 1.505 GB, free: 10.44 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006665/1.474, allocations: 342.5 kB / 1.505 GB, free: 10.1 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004766/1.479, allocations: 2.224 MB / 1.507 GB, free: 7.871 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.479, allocations: 0 / 1.507 GB, free: 7.871 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.874e-06/1.479, allocations: 0 / 1.507 GB, free: 7.871 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.373e-05/1.479, allocations: 0 / 1.507 GB, free: 7.871 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.002458/1.482, allocations: 1.022 MB / 1.508 GB, free: 6.801 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.482, allocations: 12.03 kB / 1.508 GB, free: 6.789 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/1.483, allocations: 147.6 kB / 1.508 GB, free: 6.645 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008118/1.484, allocations: 441.8 kB / 1.509 GB, free: 6.176 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/1.484, allocations: 37.31 kB / 1.509 GB, free: 6.137 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/1.484, allocations: 56 kB / 1.509 GB, free: 6.082 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/1.485, allocations: 0.6565 MB / 1.509 GB, free: 5.379 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/1.485, allocations: 3.938 kB / 1.509 GB, free: 5.375 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-05/1.485, allocations: 27.94 kB / 1.509 GB, free: 5.348 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/1.485, allocations: 27.88 kB / 1.509 GB, free: 5.32 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/1.487, allocations: 487.5 kB / 1.51 GB, free: 4.844 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.004085/1.491, allocations: 2.991 MB / 1.513 GB, free: 1.621 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/1.491, allocations: 261.7 kB / 1.513 GB, free: 1.359 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/1.492, allocations: 153.4 kB / 1.513 GB, free: 1.207 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01909/1.511, allocations: 5.816 MB / 1.519 GB, free: 11.16 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/1.511, allocations: 42.42 kB / 1.519 GB, free: 11.11 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 2.174e-06/1.511, allocations: 7.938 kB / 1.519 GB, free: 11.11 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.09265/1.603, allocations: 31.87 MB / 1.55 GB, free: 11.19 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/1.604, allocations: 137 kB / 1.55 GB, free: 11.02 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005372/1.604, allocations: 377.6 kB / 1.551 GB, free: 10.65 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.84e-05/1.604, allocations: 33.7 kB / 1.551 GB, free: 10.61 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/1.604, allocations: 300.8 kB / 1.551 GB, free: 10.31 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/1.605, allocations: 194.3 kB / 1.551 GB, free: 10.12 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/1.605, allocations: 114.1 kB / 1.551 GB, free: 10 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001763/1.605, allocations: 350.8 kB / 1.552 GB, free: 9.652 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006038/1.606, allocations: 237 kB / 1.552 GB, free: 9.418 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007264/1.606, allocations: 380.4 kB / 1.552 GB, free: 9 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/1.608, allocations: 0.5903 MB / 1.553 GB, free: 8.367 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.608, allocations: 0 / 1.553 GB, free: 8.367 MB / 1.232 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002163/1.61, allocations: 0.7902 MB / 1.553 GB, free: 7.562 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/1.61, allocations: 17.56 kB / 1.553 GB, free: 7.547 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.61, allocations: 4 kB / 1.553 GB, free: 7.543 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005439/1.61, allocations: 121.6 kB / 1.554 GB, free: 7.418 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/1.611, allocations: 123.8 kB / 1.554 GB, free: 7.297 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00364/1.615, allocations: 3.425 MB / 1.557 GB, free: 3.59 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/1.615, allocations: 35.91 kB / 1.557 GB, free: 3.555 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.456e-05/1.615, allocations: 31.98 kB / 1.557 GB, free: 3.523 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.0003496/1.616, allocations: 198.3 kB / 1.557 GB, free: 3.32 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/1.616, allocations: 51.67 kB / 1.557 GB, free: 3.27 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/1.618, allocations: 0.7883 MB / 1.558 GB, free: 2.465 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/1.618, allocations: 4 kB / 1.558 GB, free: 2.461 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.618, allocations: 4 kB / 1.558 GB, free: 2.457 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/1.618, allocations: 3.984 kB / 1.558 GB, free: 2.453 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/1.621, allocations: 1.604 MB / 1.56 GB, free: 0.75 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/1.621, allocations: 7.875 kB / 1.56 GB, free: 0.7422 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/1.622, allocations: 103.9 kB / 1.56 GB, free: 0.6406 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002793/1.622, allocations: 73.14 kB / 1.56 GB, free: 0.5664 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/1.622, allocations: 20 kB / 1.56 GB, free: 0.5469 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/1.624, allocations: 1.771 MB / 1.562 GB, free: 14.64 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/1.624, allocations: 15.92 kB / 1.562 GB, free: 14.62 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/1.626, allocations: 1.016 MB / 1.563 GB, free: 13.55 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/1.627, allocations: 132.7 kB / 1.563 GB, free: 13.4 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/1.627, allocations: 23.92 kB / 1.563 GB, free: 13.38 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/1.627, allocations: 32.05 kB / 1.563 GB, free: 13.35 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/1.627, allocations: 35.89 kB / 1.563 GB, free: 13.31 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.782e-05/1.627, allocations: 31.92 kB / 1.563 GB, free: 13.28 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005271/1.628, allocations: 354.8 kB / 1.563 GB, free: 12.93 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.628, allocations: 4 kB / 1.563 GB, free: 12.93 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.005149/1.633, allocations: 1.394 MB / 1.565 GB, free: 11.54 MB / 1.248 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.008936/1.642, allocations: 0.7508 MB / 1.565 GB, free: 10.78 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002248/1.644, allocations: 0.7804 MB / 1.566 GB, free: 9.969 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.644, allocations: 0 / 1.566 GB, free: 9.969 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0008556/1.645, allocations: 378.3 kB / 1.566 GB, free: 9.586 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/1.647, allocations: 336.4 kB / 1.567 GB, free: 9.262 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/1.649, allocations: 1.231 MB / 1.568 GB, free: 7.965 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/1.65, allocations: 0.8829 MB / 1.569 GB, free: 7.055 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/1.65, allocations: 67.42 kB / 1.569 GB, free: 6.988 MB / 1.248 GB Notification: Performance of SimCode: time 8.82e-07/1.65, allocations: 0 / 1.569 GB, free: 6.988 MB / 1.248 GB Notification: Performance of Templates: time 0.07301/1.723, allocations: 42.29 MB / 1.61 GB, free: 13.29 MB / 1.295 GB " [Timeout remaining time 298] 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: 17.29641974599508]