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.008597/0.008597, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001806/0.001806, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.616/2.616, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 59.91 kB / 1.054 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9922/0.9935, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01827/1.012, allocations: 14.43 MB / 1.222 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005785/1.018, allocations: 3.651 MB / 1.225 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007831/1.019, allocations: 15.94 kB / 1.225 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008042/1.019, allocations: 210.6 kB / 1.226 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001789/1.021, allocations: 0.6212 MB / 1.226 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/1.022, allocations: 390.6 kB / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001297/1.024, allocations: 1.095 MB / 1.228 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004355/1.024, allocations: 313 kB / 1.228 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/1.025, allocations: 402.3 kB / 1.228 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/1.025, allocations: 302.7 kB / 1.229 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.887e-05/1.026, allocations: 32 kB / 1.229 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00067/1.026, allocations: 263.5 kB / 1.229 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/1.026, allocations: 95.61 kB / 1.229 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002344/1.027, allocations: 207.1 kB / 1.229 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008616/1.027, allocations: 0.5975 MB / 1.23 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.027, allocations: 0 / 1.23 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.104e-06/1.027, allocations: 4 kB / 1.23 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.226e-06/1.027, allocations: 0 / 1.23 GB, free: 7.031 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.001189/1.029, allocations: 0.7534 MB / 1.23 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/1.029, allocations: 8.031 kB / 1.23 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/1.029, allocations: 48.47 kB / 1.231 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007331/1.03, allocations: 463.6 kB / 1.231 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/1.03, allocations: 20.94 kB / 1.231 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/1.03, allocations: 35.92 kB / 1.231 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/1.03, allocations: 310.2 kB / 1.231 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/1.03, allocations: 7.844 kB / 1.231 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/1.03, allocations: 12 kB / 1.231 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/1.03, allocations: 8 kB / 1.231 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/1.031, allocations: 194.1 kB / 1.232 GB, free: 5.086 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.00168/1.033, allocations: 1.473 MB / 1.233 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/1.033, allocations: 158.5 kB / 1.233 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/1.033, allocations: 68.83 kB / 1.233 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/1.033, allocations: 89.09 kB / 1.233 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002842/1.034, allocations: 123.3 kB / 1.233 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/1.034, allocations: 0 / 1.233 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0006047/1.034, allocations: 239.5 kB / 1.234 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/1.034, allocations: 55.34 kB / 1.234 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/1.035, allocations: 353.6 kB / 1.234 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/1.035, allocations: 33.7 kB / 1.234 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/1.035, allocations: 215.8 kB / 1.234 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/1.035, allocations: 55.2 kB / 1.234 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.902e-05/1.035, allocations: 49.7 kB / 1.234 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.035, allocations: 338.8 kB / 1.235 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/1.035, allocations: 79.95 kB / 1.235 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/1.036, allocations: 142.6 kB / 1.235 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/1.036, allocations: 250.5 kB / 1.235 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/1.036, allocations: 4 kB / 1.235 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005578/1.037, allocations: 314.8 kB / 1.235 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/1.037, allocations: 33.7 kB / 1.235 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/1.037, allocations: 0 / 1.235 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.037, allocations: 4 kB / 1.235 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/1.037, allocations: 63.84 kB / 1.236 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/1.037, allocations: 11.92 kB / 1.236 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/1.037, allocations: 35.67 kB / 1.236 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/1.037, allocations: 8.188 kB / 1.236 GB, free: 0.6328 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.0001513/1.037, allocations: 157.8 kB / 1.236 GB, free: 480 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/1.037, allocations: 35.61 kB / 1.236 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004459/1.038, allocations: 188.5 kB / 1.236 GB, free: 248 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.038, allocations: 7.938 kB / 1.236 GB, free: 240 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/1.038, allocations: 0 / 1.236 GB, free: 240 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004655/1.038, allocations: 487.7 kB / 1.236 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/1.039, allocations: 357.3 kB / 1.237 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.039, allocations: 0 / 1.237 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/1.039, allocations: 43.89 kB / 1.237 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.039, allocations: 0 / 1.237 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/1.039, allocations: 4 kB / 1.237 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.039, allocations: 3.938 kB / 1.237 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.039, allocations: 0 / 1.237 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005803/1.039, allocations: 291.2 kB / 1.237 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/1.04, allocations: 120.8 kB / 1.237 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/1.04, allocations: 4 kB / 1.237 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/1.04, allocations: 15.92 kB / 1.237 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/1.04, allocations: 19.97 kB / 1.237 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/1.04, allocations: 4 kB / 1.237 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002382/1.04, allocations: 251.2 kB / 1.237 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/1.04, allocations: 0 / 1.237 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004295/1.041, allocations: 132 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.0003373/1.041, allocations: 195.1 kB / 1.238 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004794/1.042, 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.796e-06/1.042, allocations: 4.062 kB / 1.238 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/1.042, allocations: 71.83 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.0008492/1.043, allocations: 215.4 kB / 1.238 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/1.044, allocations: 0.7308 MB / 1.239 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/1.044, allocations: 0.7918 MB / 1.24 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002031/1.044, allocations: 67.19 kB / 1.24 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/1.044, allocations: 35.44 kB / 1.24 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/1.044, allocations: 0 / 1.24 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of Templates: time 0.01274/1.057, allocations: 7.163 MB / 1.247 GB, free: 4.926 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