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.001159/0.001159, allocations: 107.2 kB / 16.41 MB, free: 6.465 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.00117/0.00117, allocations: 187 kB / 17.34 MB, free: 5.719 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.741/2.741, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 67.89 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9747/0.9762, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01847/0.9948, allocations: 14.44 MB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005628/1, allocations: 3.651 MB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000747/1.001, allocations: 19.88 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008069/1.002, allocations: 202.6 kB / 1.226 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001842/1.004, allocations: 0.5829 MB / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/1.005, allocations: 390.7 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001665/1.007, allocations: 1.091 MB / 1.228 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006526/1.007, allocations: 317 kB / 1.229 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/1.009, allocations: 395.9 kB / 1.229 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000651/1.009, allocations: 310.6 kB / 1.229 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/1.01, allocations: 32 kB / 1.229 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007475/1.01, allocations: 259.5 kB / 1.23 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001564/1.011, allocations: 95.61 kB / 1.23 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003187/1.011, allocations: 207.1 kB / 1.23 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/1.012, allocations: 0.5897 MB / 1.23 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.012, allocations: 0 / 1.23 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.503e-06/1.012, allocations: 0 / 1.23 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.283e-05/1.012, allocations: 0 / 1.23 GB, free: 7.023 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.001463/1.013, allocations: 0.7496 MB / 1.231 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/1.014, allocations: 15.97 kB / 1.231 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/1.014, allocations: 48.45 kB / 1.231 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008315/1.015, allocations: 463.6 kB / 1.232 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/1.015, allocations: 20.94 kB / 1.232 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/1.015, allocations: 27.94 kB / 1.232 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000628/1.015, allocations: 310.2 kB / 1.232 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/1.015, allocations: 11.83 kB / 1.232 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/1.015, allocations: 12 kB / 1.232 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/1.015, allocations: 8 kB / 1.232 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/1.016, allocations: 194.1 kB / 1.232 GB, free: 5.078 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.001953/1.018, allocations: 1.481 MB / 1.234 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/1.018, allocations: 158.6 kB / 1.234 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/1.019, allocations: 68.81 kB / 1.234 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/1.019, allocations: 89.09 kB / 1.234 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003008/1.019, allocations: 127.3 kB / 1.234 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 2.044e-06/1.019, allocations: 0 / 1.234 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.000656/1.02, allocations: 228.1 kB / 1.234 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/1.02, allocations: 63.28 kB / 1.234 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003741/1.02, allocations: 353.6 kB / 1.235 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/1.02, allocations: 37.64 kB / 1.235 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/1.02, allocations: 211.8 kB / 1.235 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/1.02, allocations: 55.2 kB / 1.235 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.48e-05/1.021, allocations: 49.7 kB / 1.235 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.021, allocations: 346.8 kB / 1.235 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/1.021, allocations: 67.95 kB / 1.235 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/1.021, allocations: 150.6 kB / 1.236 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/1.022, allocations: 252 kB / 1.236 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/1.022, allocations: 0 / 1.236 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006242/1.022, allocations: 301.1 kB / 1.236 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/1.022, allocations: 35.73 kB / 1.236 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.022, allocations: 12.3 kB / 1.236 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/1.022, allocations: 4 kB / 1.236 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/1.023, allocations: 59.84 kB / 1.236 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/1.023, allocations: 7.938 kB / 1.236 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/1.023, allocations: 35.67 kB / 1.236 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/1.023, allocations: 12 kB / 1.236 GB, free: 0.6211 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.0001787/1.023, allocations: 157.8 kB / 1.236 GB, free: 468 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/1.023, allocations: 35.62 kB / 1.236 GB, free: 432 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004529/1.024, allocations: 188.5 kB / 1.237 GB, free: 236 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.024, allocations: 7.938 kB / 1.237 GB, free: 228 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.024, allocations: 0 / 1.237 GB, free: 228 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005065/1.024, allocations: 487.7 kB / 1.237 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/1.025, allocations: 357.2 kB / 1.237 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/1.025, allocations: 0 / 1.237 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/1.025, allocations: 35.98 kB / 1.237 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.025, allocations: 0 / 1.237 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/1.025, allocations: 4 kB / 1.237 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-06/1.025, allocations: 7.922 kB / 1.237 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.025, allocations: 0 / 1.237 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006226/1.025, allocations: 290.5 kB / 1.238 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/1.026, allocations: 120.8 kB / 1.238 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/1.026, allocations: 8 kB / 1.238 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/1.026, allocations: 27.89 kB / 1.238 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/1.026, allocations: 11.98 kB / 1.238 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/1.026, allocations: 15.92 kB / 1.238 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002518/1.026, allocations: 251.2 kB / 1.238 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/1.026, allocations: 0 / 1.238 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004486/1.027, allocations: 120 kB / 1.238 GB, free: 14.36 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.0003685/1.027, allocations: 207.1 kB / 1.238 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005151/1.028, allocations: 223.2 kB / 1.239 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.028, allocations: 0 / 1.239 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/1.028, allocations: 68.52 kB / 1.239 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009796/1.029, allocations: 208.3 kB / 1.239 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/1.03, allocations: 0.7666 MB / 1.24 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/1.031, allocations: 0.7918 MB / 1.24 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/1.031, allocations: 35.44 kB / 1.241 GB, free: 12 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/1.031, allocations: 3.938 kB / 1.241 GB, free: 12 MB / 0.9669 GB Notification: Performance of Templates: time 0.01049/1.041, allocations: 6.159 MB / 1.247 GB, free: 5.891 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches