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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001451/0.001452, allocations: 103 kB / 16.35 MB, free: 5.824 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.001443/0.001443, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.524/2.524, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 63.94 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3529, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01636/0.3693, allocations: 14.46 MB / 1.041 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005651/0.375, allocations: 3.644 MB / 1.044 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005498/0.3756, allocations: 15.94 kB / 1.044 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008031/0.3764, allocations: 206.7 kB / 1.045 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.3781, allocations: 0.5868 MB / 1.045 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.3791, allocations: 398.6 kB / 1.046 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001572/0.3807, allocations: 1.079 MB / 1.047 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006605/0.3814, allocations: 317.1 kB / 1.047 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.3828, allocations: 385.5 kB / 1.047 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004746/0.3833, allocations: 302.6 kB / 1.048 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.862e-05/0.3833, allocations: 39.94 kB / 1.048 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008806/0.3842, allocations: 259.5 kB / 1.048 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.3844, allocations: 103.6 kB / 1.048 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.3847, allocations: 207 kB / 1.048 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009949/0.3857, allocations: 0.5958 MB / 1.049 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3857, allocations: 0 / 1.049 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.245e-06/0.3857, allocations: 0 / 1.049 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.3857, allocations: 0 / 1.049 GB, free: 11.4 MB / 0.8262 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.001406/0.3871, allocations: 0.7418 MB / 1.049 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3872, allocations: 16.03 kB / 1.049 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.3874, allocations: 44.47 kB / 1.05 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000781/0.3882, allocations: 471.6 kB / 1.05 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.3882, allocations: 24.92 kB / 1.05 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.3883, allocations: 27.94 kB / 1.05 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/0.3888, allocations: 306.2 kB / 1.05 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.3889, allocations: 7.938 kB / 1.05 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.3889, allocations: 12 kB / 1.05 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.3889, allocations: 8 kB / 1.05 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004509/0.3894, allocations: 194.1 kB / 1.051 GB, free: 9.457 MB / 0.8262 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.001792/0.3912, allocations: 1.481 MB / 1.052 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/0.3917, allocations: 158.6 kB / 1.052 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.3918, allocations: 64.83 kB / 1.052 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.392, allocations: 85.09 kB / 1.052 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002979/0.3923, allocations: 127.3 kB / 1.052 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.3923, allocations: 0 / 1.052 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0006218/0.3929, allocations: 233.1 kB / 1.053 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.393, allocations: 63.28 kB / 1.053 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.3933, allocations: 345.6 kB / 1.053 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.3934, allocations: 33.7 kB / 1.053 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.3935, allocations: 219.7 kB / 1.053 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/0.3936, allocations: 47.36 kB / 1.053 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.9e-05/0.3937, allocations: 53.61 kB / 1.053 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3938, allocations: 346.8 kB / 1.054 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.394, allocations: 71.95 kB / 1.054 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.3943, allocations: 145.9 kB / 1.054 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.3947, allocations: 244.8 kB / 1.054 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.3947, allocations: 4 kB / 1.054 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005909/0.3953, allocations: 308.4 kB / 1.054 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.3954, allocations: 37.7 kB / 1.054 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.3954, allocations: 7.938 kB / 1.054 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3954, allocations: 7.938 kB / 1.054 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.3956, allocations: 64.14 kB / 1.055 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.3957, allocations: 7.938 kB / 1.055 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.3959, allocations: 35.67 kB / 1.055 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.3959, allocations: 8 kB / 1.055 GB, free: 5 MB / 0.8262 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.000181/0.3961, allocations: 165.7 kB / 1.055 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.3962, allocations: 35.62 kB / 1.055 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004625/0.3967, allocations: 195.8 kB / 1.055 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3967, allocations: 11.92 kB / 1.055 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3967, allocations: 0 / 1.055 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004826/0.3972, allocations: 483.6 kB / 1.055 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.3976, allocations: 353.3 kB / 1.056 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3976, allocations: 3.984 kB / 1.056 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.3978, allocations: 31.97 kB / 1.056 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3978, allocations: 0 / 1.056 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.3978, allocations: 12 kB / 1.056 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.3978, allocations: 3.938 kB / 1.056 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3979, allocations: 0 / 1.056 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006043/0.3985, allocations: 283 kB / 1.056 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.3986, allocations: 124.7 kB / 1.056 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/0.3987, allocations: 8 kB / 1.056 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.3989, allocations: 27.91 kB / 1.056 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.399, allocations: 7.984 kB / 1.056 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.399, allocations: 15.98 kB / 1.056 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002499/0.3993, allocations: 243.2 kB / 1.056 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3993, allocations: 0 / 1.056 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004401/0.3997, allocations: 124 kB / 1.057 GB, free: 2.734 MB / 0.8262 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.0003437/0.4001, allocations: 199 kB / 1.057 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004932/0.4006, allocations: 235.1 kB / 1.057 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4006, allocations: 0 / 1.057 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.4008, allocations: 75.27 kB / 1.057 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008881/0.4017, allocations: 207 kB / 1.057 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.403, allocations: 0.7298 MB / 1.058 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.4034, allocations: 0.7879 MB / 1.059 GB, free: 460 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002162/0.4036, allocations: 75.12 kB / 1.059 GB, free: 388 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.453e-05/0.4037, allocations: 31.42 kB / 1.059 GB, free: 356 kB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.4037, allocations: 0 / 1.059 GB, free: 356 kB / 0.8262 GB Notification: Performance of Templates: time 0.01286/0.4166, allocations: 7.139 MB / 1.066 GB, free: 9.305 MB / 0.8419 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 -s cvode -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