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.001516/0.001516, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001453/0.001453, allocations: 157.3 kB / 23.01 MB, free: 4.605 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.451/1.451, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.964/2.964, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.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.002075/0.002075, allocations: 66.09 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.079, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01406/1.093, allocations: 13.51 MB / 1.167 GB, free: 24.19 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004797/1.098, allocations: 3.389 MB / 1.17 GB, free: 21.89 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005596/1.098, allocations: 24.94 kB / 1.17 GB, free: 21.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006896/1.099, allocations: 210.9 kB / 1.171 GB, free: 21.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/1.1, allocations: 0.6233 MB / 1.171 GB, free: 21.4 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009867/1.101, allocations: 396.2 kB / 1.172 GB, free: 21.19 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001314/1.103, allocations: 1.121 MB / 1.173 GB, free: 20.66 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000426/1.103, allocations: 256.3 kB / 1.173 GB, free: 20.53 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/1.104, allocations: 447.3 kB / 1.173 GB, free: 20.33 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/1.105, allocations: 312.3 kB / 1.174 GB, free: 20.21 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.454e-05/1.105, allocations: 31.81 kB / 1.174 GB, free: 20.21 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000462/1.105, allocations: 213.3 kB / 1.174 GB, free: 20.14 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/1.105, allocations: 101 kB / 1.174 GB, free: 20.07 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001809/1.105, allocations: 179.2 kB / 1.174 GB, free: 19.98 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007188/1.106, allocations: 0.6112 MB / 1.175 GB, free: 19.75 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.106, allocations: 3.938 kB / 1.175 GB, free: 19.75 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.914e-06/1.106, allocations: 0 / 1.175 GB, free: 19.75 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.476e-06/1.106, allocations: 0 / 1.175 GB, free: 19.75 MB / 1.076 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.001114/1.107, allocations: 0.6833 MB / 1.175 GB, free: 19.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.107, allocations: 9.562 kB / 1.175 GB, free: 19.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/1.108, allocations: 61.03 kB / 1.176 GB, free: 19.2 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008159/1.108, allocations: 407.8 kB / 1.176 GB, free: 18.92 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/1.108, allocations: 19.88 kB / 1.176 GB, free: 18.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.939e-05/1.108, allocations: 30.28 kB / 1.176 GB, free: 18.9 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007367/1.109, allocations: 413.1 kB / 1.176 GB, free: 18.62 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/1.109, allocations: 4.516 kB / 1.176 GB, free: 18.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/1.109, allocations: 11.44 kB / 1.176 GB, free: 18.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.492e-05/1.109, allocations: 7.031 kB / 1.176 GB, free: 18.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005576/1.11, allocations: 193 kB / 1.177 GB, free: 18.55 MB / 1.076 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.001529/1.111, allocations: 1.09 MB / 1.178 GB, free: 17.74 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004474/1.112, allocations: 148.4 kB / 1.178 GB, free: 17.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/1.112, allocations: 64.14 kB / 1.178 GB, free: 17.65 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/1.112, allocations: 11.22 kB / 1.178 GB, free: 17.65 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003119/1.112, allocations: 225.2 kB / 1.178 GB, free: 17.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.904e-06/1.112, allocations: 1.438 kB / 1.178 GB, free: 17.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0006701/1.113, allocations: 233.2 kB / 1.178 GB, free: 17.36 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/1.113, allocations: 54.16 kB / 1.178 GB, free: 17.3 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/1.113, allocations: 341.9 kB / 1.179 GB, free: 17.11 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/1.114, allocations: 28.11 kB / 1.179 GB, free: 17.08 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/1.114, allocations: 214 kB / 1.179 GB, free: 16.91 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/1.114, allocations: 60.69 kB / 1.179 GB, free: 16.86 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/1.114, allocations: 53.31 kB / 1.179 GB, free: 16.82 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.075e-05/1.114, allocations: 339.4 kB / 1.179 GB, free: 16.5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/1.114, allocations: 99.05 kB / 1.179 GB, free: 16.45 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/1.114, allocations: 179.3 kB / 1.18 GB, free: 16.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/1.115, allocations: 242.7 kB / 1.18 GB, free: 16.12 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.115, allocations: 0 / 1.18 GB, free: 16.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006081/1.115, allocations: 347.7 kB / 1.18 GB, free: 15.93 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/1.115, allocations: 35.86 kB / 1.18 GB, free: 15.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/1.115, allocations: 2.25 kB / 1.18 GB, free: 15.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/1.115, allocations: 4.219 kB / 1.18 GB, free: 15.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/1.116, allocations: 59.89 kB / 1.18 GB, free: 15.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/1.116, allocations: 7.656 kB / 1.18 GB, free: 15.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/1.116, allocations: 31.45 kB / 1.18 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/1.116, allocations: 20.7 kB / 1.18 GB, free: 15.86 MB / 1.076 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.0001543/1.116, allocations: 158.7 kB / 1.18 GB, free: 15.72 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/1.116, allocations: 38.39 kB / 1.18 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000443/1.117, allocations: 202.2 kB / 1.181 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.117, allocations: 1.531 kB / 1.181 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.117, allocations: 3.938 kB / 1.181 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004269/1.117, allocations: 478.2 kB / 1.181 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/1.117, allocations: 253.3 kB / 1.181 GB, free: 14.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.117, allocations: 0 / 1.181 GB, free: 14.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/1.118, allocations: 33.66 kB / 1.181 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/1.118, allocations: 1.594 kB / 1.181 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/1.118, allocations: 12.56 kB / 1.181 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.118, allocations: 1.25 kB / 1.181 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.118, allocations: 3.938 kB / 1.181 GB, free: 14.94 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006259/1.118, allocations: 277.4 kB / 1.182 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/1.118, allocations: 43.22 kB / 1.182 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/1.118, allocations: 5.891 kB / 1.182 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/1.119, allocations: 19.48 kB / 1.182 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/1.119, allocations: 12.72 kB / 1.182 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/1.119, allocations: 19.88 kB / 1.182 GB, free: 14.76 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000228/1.119, allocations: 228.5 kB / 1.182 GB, free: 14.64 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.119, allocations: 0 / 1.182 GB, free: 14.64 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004838/1.119, allocations: 130.2 kB / 1.182 GB, free: 14.61 MB / 1.076 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.00033/1.12, allocations: 200.6 kB / 1.182 GB, free: 14.48 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005056/1.12, allocations: 243.7 kB / 1.183 GB, free: 14.34 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.12, allocations: 1.25 kB / 1.183 GB, free: 14.34 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/1.12, allocations: 72.62 kB / 1.183 GB, free: 14.32 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009124/1.121, allocations: 195 kB / 1.183 GB, free: 14.26 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/1.123, allocations: 0.7386 MB / 1.184 GB, free: 13.78 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/1.123, allocations: 188.5 kB / 1.184 GB, free: 13.69 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002273/1.123, allocations: 67.12 kB / 1.184 GB, free: 13.67 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/1.123, allocations: 32.23 kB / 1.184 GB, free: 13.66 MB / 1.076 GB Notification: Performance of SimCode: time 6.22e-07/1.123, allocations: 0 / 1.184 GB, free: 13.66 MB / 1.076 GB Notification: Performance of Templates: time 0.01566/1.139, allocations: 7.194 MB / 1.191 GB, free: 12.76 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.553086642059498]