Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.001287/0.001287, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001436/0.001436, allocations: 221.7 kB / 22.26 MB, free: 5.125 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.346/1.346, allocations: 230.6 MB / 256 MB, free: 7.988 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.922/2.922, allocations: 0.49 GB / 0.7951 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel") [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.001946/0.001946, allocations: 64.34 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3111, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01573/0.3269, allocations: 14.81 MB / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005191/0.3321, allocations: 3.682 MB / 1.344 GB, free: 14.94 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004033/0.3325, allocations: 23.81 kB / 1.344 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006341/0.3331, allocations: 214.6 kB / 1.345 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.3345, allocations: 0.6298 MB / 1.345 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008723/0.3353, allocations: 414.4 kB / 1.346 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.3367, allocations: 1.13 MB / 1.347 GB, free: 12.53 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.337, allocations: 253 kB / 1.347 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.3381, allocations: 444.5 kB / 1.347 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004393/0.3385, allocations: 334.5 kB / 1.348 GB, free: 11.51 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.138e-05/0.3385, allocations: 32 kB / 1.348 GB, free: 11.48 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005242/0.3391, allocations: 291.4 kB / 1.348 GB, free: 11.2 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.3392, allocations: 95.62 kB / 1.348 GB, free: 11.1 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.3394, allocations: 207 kB / 1.348 GB, free: 10.9 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008135/0.3402, allocations: 0.6227 MB / 1.349 GB, free: 10.27 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3402, allocations: 0 / 1.349 GB, free: 10.27 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3402, allocations: 0 / 1.349 GB, free: 10.27 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3402, allocations: 4 kB / 1.349 GB, free: 10.27 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001112/0.3413, allocations: 0.6855 MB / 1.35 GB, free: 9.547 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.3414, allocations: 8.031 kB / 1.35 GB, free: 9.539 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.3415, allocations: 52.66 kB / 1.35 GB, free: 9.488 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007201/0.3422, allocations: 396.8 kB / 1.35 GB, free: 9.074 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.3423, allocations: 24.86 kB / 1.35 GB, free: 9.051 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.3423, allocations: 31.94 kB / 1.35 GB, free: 9.02 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/0.3429, allocations: 309.2 kB / 1.35 GB, free: 8.699 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.3429, allocations: 3.953 kB / 1.35 GB, free: 8.695 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.3429, allocations: 12 kB / 1.35 GB, free: 8.684 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.3429, allocations: 11.98 kB / 1.35 GB, free: 8.672 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.3434, allocations: 193.8 kB / 1.351 GB, free: 8.484 MB / 1.045 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.001769/0.3452, allocations: 1.417 MB / 1.352 GB, free: 6.949 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.3456, allocations: 154.6 kB / 1.352 GB, free: 6.789 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.3457, allocations: 64.81 kB / 1.352 GB, free: 6.723 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-05/0.3458, allocations: 4 kB / 1.352 GB, free: 6.719 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/0.3461, allocations: 139.3 kB / 1.352 GB, free: 6.57 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.3461, allocations: 0 / 1.352 GB, free: 6.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0006036/0.3467, allocations: 232 kB / 1.353 GB, free: 6.34 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.3468, allocations: 63.33 kB / 1.353 GB, free: 6.266 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.3471, allocations: 349.7 kB / 1.353 GB, free: 5.918 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.3472, allocations: 29.64 kB / 1.353 GB, free: 5.883 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.3473, allocations: 224.1 kB / 1.353 GB, free: 5.66 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.3474, allocations: 55.58 kB / 1.353 GB, free: 5.605 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.402e-05/0.3475, allocations: 57.66 kB / 1.353 GB, free: 5.543 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3476, allocations: 338.8 kB / 1.354 GB, free: 5.203 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.3478, allocations: 75.88 kB / 1.354 GB, free: 5.129 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.348, allocations: 145.4 kB / 1.354 GB, free: 4.953 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.3484, allocations: 245.8 kB / 1.354 GB, free: 4.676 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3484, allocations: 4 kB / 1.354 GB, free: 4.672 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000574/0.349, allocations: 310.8 kB / 1.354 GB, free: 4.355 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.349, allocations: 35.27 kB / 1.354 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.3491, allocations: 4 kB / 1.354 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3491, allocations: 4.312 kB / 1.354 GB, free: 4.309 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.3493, allocations: 59.84 kB / 1.354 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3493, allocations: 7.984 kB / 1.354 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.3495, allocations: 35.78 kB / 1.354 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.3496, allocations: 19.98 kB / 1.355 GB, free: 4.188 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.3497, allocations: 153.8 kB / 1.355 GB, free: 4.027 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.3498, allocations: 35.77 kB / 1.355 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004409/0.3502, allocations: 196.4 kB / 1.355 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3502, allocations: 7.922 kB / 1.355 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3502, allocations: 0 / 1.355 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004935/0.3507, allocations: 487.6 kB / 1.355 GB, free: 3.223 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.3511, allocations: 320.5 kB / 1.356 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3511, allocations: 4 kB / 1.356 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.3513, allocations: 31.97 kB / 1.356 GB, free: 2.832 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.3513, allocations: 4 kB / 1.356 GB, free: 2.828 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.3513, allocations: 4 kB / 1.356 GB, free: 2.824 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3513, allocations: 3.938 kB / 1.356 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3513, allocations: 0 / 1.356 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.3519, allocations: 291.2 kB / 1.356 GB, free: 2.52 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.352, allocations: 47.83 kB / 1.356 GB, free: 2.473 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.3521, allocations: 4 kB / 1.356 GB, free: 2.469 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.3523, allocations: 27.84 kB / 1.356 GB, free: 2.441 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.3523, allocations: 11.98 kB / 1.356 GB, free: 2.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.3524, allocations: 11.98 kB / 1.356 GB, free: 2.418 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002563/0.3526, allocations: 247.2 kB / 1.356 GB, free: 2.18 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3526, allocations: 0 / 1.356 GB, free: 2.18 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004405/0.3531, allocations: 131.6 kB / 1.356 GB, free: 2.051 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000346/0.3534, allocations: 202.9 kB / 1.357 GB, free: 1.84 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005027/0.3539, allocations: 224.7 kB / 1.357 GB, free: 1.609 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3539, allocations: 0 / 1.357 GB, free: 1.609 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.3541, allocations: 67.89 kB / 1.357 GB, free: 1.543 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008675/0.3549, allocations: 211 kB / 1.357 GB, free: 1.348 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.3563, allocations: 0.7394 MB / 1.358 GB, free: 0.582 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.3567, allocations: 0.7956 MB / 1.359 GB, free: 15.76 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002083/0.3569, allocations: 63.25 kB / 1.359 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.757e-05/0.357, allocations: 35.42 kB / 1.359 GB, free: 15.66 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.357, allocations: 0 / 1.359 GB, free: 15.66 MB / 1.061 GB Notification: Performance of Templates: time 0.01327/0.3703, allocations: 7.35 MB / 1.366 GB, free: 8.414 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.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: 8.334755072835833]