Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002614/0.002614, allocations: 191.7 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.812/2.812, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 67.89 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7242/0.7263, allocations: 168.7 MB / 1.274 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01681/0.7431, allocations: 14.68 MB / 1.288 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005532/0.7486, allocations: 3.677 MB / 1.292 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004244/0.7491, allocations: 19.88 kB / 1.292 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006276/0.7497, allocations: 214.7 kB / 1.292 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.7511, allocations: 0.6064 MB / 1.293 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009189/0.7521, allocations: 396.5 kB / 1.293 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001393/0.7534, allocations: 1.087 MB / 1.294 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004169/0.7539, allocations: 272.3 kB / 1.294 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.7549, allocations: 404.1 kB / 1.295 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.7554, allocations: 318.6 kB / 1.295 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.7554, allocations: 32 kB / 1.295 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000619/0.7561, allocations: 267.5 kB / 1.295 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.7562, allocations: 99.59 kB / 1.296 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.7564, allocations: 211 kB / 1.296 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008575/0.7573, allocations: 0.5983 MB / 1.296 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.7573, allocations: 0 / 1.296 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7573, allocations: 3.938 kB / 1.296 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.7573, allocations: 0 / 1.296 GB, free: 13.66 MB / 0.9981 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.001278/0.7586, allocations: 0.753 MB / 1.297 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.7586, allocations: 11.97 kB / 1.297 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.7588, allocations: 56.64 kB / 1.297 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007906/0.7596, allocations: 467.9 kB / 1.298 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.7596, allocations: 24.94 kB / 1.298 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/0.7597, allocations: 27.94 kB / 1.298 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.7603, allocations: 306.2 kB / 1.298 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.7603, allocations: 0 / 1.298 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/0.7603, allocations: 15.98 kB / 1.298 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.7604, allocations: 19.92 kB / 1.298 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/0.7609, allocations: 190.1 kB / 1.298 GB, free: 11.7 MB / 0.9981 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.002013/0.7629, allocations: 1.481 MB / 1.3 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.7634, allocations: 151.1 kB / 1.3 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.7636, allocations: 68.81 kB / 1.3 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.7637, allocations: 81.11 kB / 1.3 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003356/0.7641, allocations: 127.3 kB / 1.3 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.7641, allocations: 0 / 1.3 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007139/0.7648, allocations: 239.8 kB / 1.3 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.7648, allocations: 59.34 kB / 1.3 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004161/0.7652, allocations: 345.7 kB / 1.301 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.7653, allocations: 33.7 kB / 1.301 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.7655, allocations: 224 kB / 1.301 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.7655, allocations: 51.59 kB / 1.301 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.497e-05/0.7656, allocations: 57.66 kB / 1.301 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.7658, allocations: 346.8 kB / 1.301 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.766, allocations: 71.95 kB / 1.301 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.7662, allocations: 141.4 kB / 1.301 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.7667, allocations: 245.5 kB / 1.302 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.7667, allocations: 4 kB / 1.302 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000635/0.7673, allocations: 314.8 kB / 1.302 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.7674, allocations: 33.7 kB / 1.302 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.7674, allocations: 4 kB / 1.302 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.7674, allocations: 7.984 kB / 1.302 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.7677, allocations: 55.84 kB / 1.302 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.7677, allocations: 4 kB / 1.302 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.7679, allocations: 40.08 kB / 1.302 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.768, allocations: 12 kB / 1.302 GB, free: 7.254 MB / 0.9981 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.0001709/0.7681, allocations: 158.3 kB / 1.302 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.7682, allocations: 39.75 kB / 1.302 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004895/0.7687, allocations: 192.4 kB / 1.303 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.7687, allocations: 7.938 kB / 1.303 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.7687, allocations: 7.938 kB / 1.303 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005451/0.7692, allocations: 481.3 kB / 1.303 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.7697, allocations: 357.3 kB / 1.303 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.7697, allocations: 0 / 1.303 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.7699, allocations: 31.92 kB / 1.303 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.7699, allocations: 0 / 1.303 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.7699, allocations: 8 kB / 1.303 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.7699, allocations: 3.938 kB / 1.303 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.7699, allocations: 4 kB / 1.303 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/0.7706, allocations: 282.8 kB / 1.304 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.7708, allocations: 124.9 kB / 1.304 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.7708, allocations: 4 kB / 1.304 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.7711, allocations: 24 kB / 1.304 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.7712, allocations: 23.91 kB / 1.304 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.7712, allocations: 15.98 kB / 1.304 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002864/0.7715, allocations: 243.2 kB / 1.304 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7715, allocations: 0 / 1.304 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004545/0.7719, allocations: 127.7 kB / 1.304 GB, free: 4.973 MB / 0.9981 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.0003499/0.7723, allocations: 195 kB / 1.304 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000517/0.7728, allocations: 227.7 kB / 1.305 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7728, allocations: 0 / 1.305 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.773, allocations: 63.89 kB / 1.305 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009769/0.774, allocations: 204.9 kB / 1.305 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.7754, allocations: 0.7574 MB / 1.306 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.7758, allocations: 0.7918 MB / 1.306 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00022/0.776, allocations: 67.19 kB / 1.306 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.984e-05/0.7761, allocations: 39.42 kB / 1.306 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.7761, allocations: 3.938 kB / 1.306 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of Templates: time 0.01368/0.7898, allocations: 7.286 MB / 1.314 GB, free: 11.4 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.681359570939094]