Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01166/0.01166, allocations: 105 kB / 15.74 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 198.2 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.595/2.595, allocations: 461.9 MB / 0.7348 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.89 kB / 1.054 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.015, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01523/1.03, allocations: 14.44 MB / 1.222 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005479/1.036, allocations: 3.646 MB / 1.225 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005612/1.036, allocations: 15.94 kB / 1.225 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006761/1.037, allocations: 210.7 kB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001403/1.039, allocations: 0.5829 MB / 1.226 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009238/1.04, allocations: 394.3 kB / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001322/1.041, allocations: 1.091 MB / 1.228 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004829/1.041, allocations: 313 kB / 1.228 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001/1.042, allocations: 411 kB / 1.228 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003965/1.043, allocations: 298.7 kB / 1.229 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/1.043, allocations: 32 kB / 1.229 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005602/1.043, allocations: 259.5 kB / 1.229 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/1.044, allocations: 95.61 kB / 1.229 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002123/1.044, allocations: 211 kB / 1.229 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007558/1.045, allocations: 0.5936 MB / 1.23 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/1.045, allocations: 0 / 1.23 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/1.045, allocations: 4 kB / 1.23 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.253e-05/1.045, allocations: 0 / 1.23 GB, free: 7.027 MB / 0.9512 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.001219/1.046, allocations: 0.7496 MB / 1.23 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/1.046, allocations: 8.031 kB / 1.23 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/1.046, allocations: 48.47 kB / 1.231 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007506/1.047, allocations: 463.6 kB / 1.231 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/1.047, allocations: 24.88 kB / 1.231 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/1.047, allocations: 31.92 kB / 1.231 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005688/1.047, allocations: 318.2 kB / 1.231 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/1.047, allocations: 3.906 kB / 1.231 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/1.048, allocations: 12 kB / 1.231 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/1.048, allocations: 8 kB / 1.231 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004607/1.048, allocations: 194.1 kB / 1.232 GB, free: 5.082 MB / 0.9512 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.001747/1.05, allocations: 1.47 MB / 1.233 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/1.05, allocations: 158.6 kB / 1.233 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/1.05, allocations: 72.83 kB / 1.233 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/1.051, allocations: 89.03 kB / 1.233 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002946/1.051, allocations: 123.3 kB / 1.233 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.814e-06/1.051, allocations: 0 / 1.233 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0006308/1.052, allocations: 239.9 kB / 1.234 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/1.052, allocations: 59.34 kB / 1.234 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/1.052, allocations: 349.6 kB / 1.234 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/1.052, allocations: 33.7 kB / 1.234 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/1.052, allocations: 211.8 kB / 1.234 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/1.052, allocations: 55.2 kB / 1.234 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.804e-05/1.052, allocations: 53.7 kB / 1.234 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.052, allocations: 338.8 kB / 1.235 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/1.053, allocations: 79.95 kB / 1.235 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/1.053, allocations: 138.6 kB / 1.235 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/1.053, allocations: 252.2 kB / 1.235 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.053, allocations: 4 kB / 1.235 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005698/1.054, allocations: 313.2 kB / 1.235 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/1.054, allocations: 33.7 kB / 1.235 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.054, allocations: 0 / 1.235 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.054, allocations: 4 kB / 1.235 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/1.054, allocations: 59.84 kB / 1.235 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/1.054, allocations: 7.984 kB / 1.236 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/1.054, allocations: 31.69 kB / 1.236 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/1.054, allocations: 16.17 kB / 1.236 GB, free: 0.6367 MB / 0.9512 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.0001665/1.055, allocations: 157.8 kB / 1.236 GB, free: 484 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/1.055, allocations: 31.62 kB / 1.236 GB, free: 452 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004704/1.055, allocations: 196.4 kB / 1.236 GB, free: 248 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/1.055, allocations: 7.938 kB / 1.236 GB, free: 240 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.055, allocations: 0 / 1.236 GB, free: 240 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005334/1.056, allocations: 489.7 kB / 1.236 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/1.056, allocations: 357.3 kB / 1.237 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.056, allocations: 4 kB / 1.237 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/1.056, allocations: 31.97 kB / 1.237 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/1.056, allocations: 3.984 kB / 1.237 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/1.056, allocations: 11.94 kB / 1.237 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/1.056, allocations: 3.938 kB / 1.237 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.056, allocations: 0 / 1.237 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006108/1.057, allocations: 288.5 kB / 1.237 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/1.057, allocations: 120.8 kB / 1.237 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/1.057, allocations: 0 / 1.237 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/1.057, allocations: 19.92 kB / 1.237 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/1.058, allocations: 19.97 kB / 1.237 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/1.058, allocations: 8 kB / 1.237 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002371/1.058, allocations: 247.2 kB / 1.237 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/1.058, allocations: 0 / 1.237 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004573/1.058, allocations: 128 kB / 1.238 GB, free: 14.37 MB / 0.9669 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.0003872/1.059, allocations: 199.1 kB / 1.238 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005109/1.059, allocations: 227.7 kB / 1.238 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.059, allocations: 4.062 kB / 1.238 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/1.059, allocations: 71 kB / 1.238 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009444/1.06, allocations: 214.1 kB / 1.238 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/1.062, allocations: 0.7308 MB / 1.239 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/1.062, allocations: 0.7879 MB / 1.24 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002404/1.062, allocations: 67.17 kB / 1.24 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.116e-05/1.062, allocations: 35.44 kB / 1.24 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/1.062, allocations: 0 / 1.24 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of Templates: time 0.01293/1.075, allocations: 7.287 MB / 1.247 GB, free: 4.805 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches