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.001213/0.001213, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 200.7 kB / 16.79 MB, free: 6.809 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.394/1.394, allocations: 222.9 MB / 240.5 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.811/2.811, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.31 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3149, allocations: 157.4 MB / 1.053 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01688/0.3318, allocations: 14.4 MB / 1.067 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006253/0.3382, allocations: 3.667 MB / 1.07 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007344/0.3389, allocations: 19.88 kB / 1.07 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008026/0.3397, allocations: 167.1 kB / 1.071 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.3414, allocations: 0.5444 MB / 1.071 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.3425, allocations: 358 kB / 1.071 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001757/0.3443, allocations: 1.457 MB / 1.073 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005361/0.3448, allocations: 280.3 kB / 1.073 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006814/0.3455, allocations: 314.6 kB / 1.073 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005953/0.3461, allocations: 318.5 kB / 1.074 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.888e-05/0.3462, allocations: 16 kB / 1.074 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007138/0.347, allocations: 243.4 kB / 1.074 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.3471, allocations: 75.67 kB / 1.074 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003039/0.3474, allocations: 195 kB / 1.074 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006257/0.348, allocations: 455.2 kB / 1.075 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3481, allocations: 7.938 kB / 1.075 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.031e-06/0.3481, allocations: 0 / 1.075 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.3481, allocations: 0 / 1.075 GB, free: 1.805 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.001446/0.3495, allocations: 0.7457 MB / 1.075 GB, free: 1 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3496, allocations: 11.97 kB / 1.075 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.3498, allocations: 48.47 kB / 1.075 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000833/0.3507, allocations: 483.8 kB / 1.076 GB, free: 436 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.3507, allocations: 20.69 kB / 1.076 GB, free: 416 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.3508, allocations: 32 kB / 1.076 GB, free: 384 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006313/0.3514, allocations: 310.2 kB / 1.076 GB, free: 56 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.3515, allocations: 3.938 kB / 1.076 GB, free: 52 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.3515, allocations: 12 kB / 1.076 GB, free: 40 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.3515, allocations: 4 kB / 1.076 GB, free: 36 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004982/0.352, allocations: 194.1 kB / 1.076 GB, free: 15.85 MB / 0.8419 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.001885/0.3539, allocations: 1.481 MB / 1.078 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.3544, allocations: 154.6 kB / 1.078 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.3546, allocations: 64.83 kB / 1.078 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.3548, allocations: 93.09 kB / 1.078 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003051/0.3551, allocations: 123.3 kB / 1.078 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 2.224e-06/0.3551, allocations: 0 / 1.078 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0006762/0.3558, allocations: 235 kB / 1.079 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3558, allocations: 55.34 kB / 1.079 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.3562, allocations: 349.6 kB / 1.079 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.3563, allocations: 29.7 kB / 1.079 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.3564, allocations: 215.7 kB / 1.079 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.3565, allocations: 51.34 kB / 1.079 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.547e-05/0.3566, allocations: 53.61 kB / 1.079 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3567, allocations: 346.8 kB / 1.08 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.3569, allocations: 63.95 kB / 1.08 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.3572, allocations: 149.8 kB / 1.08 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.3576, allocations: 252.4 kB / 1.08 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3576, allocations: 0 / 1.08 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006059/0.3582, allocations: 308 kB / 1.08 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/0.3583, allocations: 35.11 kB / 1.08 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3583, allocations: 8 kB / 1.08 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3583, allocations: 7.938 kB / 1.08 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.3586, allocations: 59.89 kB / 1.08 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.3586, allocations: 15.86 kB / 1.08 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.3589, allocations: 43.66 kB / 1.081 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.3589, allocations: 8 kB / 1.081 GB, free: 11.39 MB / 0.8419 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.0001731/0.3591, allocations: 157.8 kB / 1.081 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.134e-05/0.3592, allocations: 35.61 kB / 1.081 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004684/0.3597, allocations: 188.5 kB / 1.081 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.3597, allocations: 3.938 kB / 1.081 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3597, allocations: 0 / 1.081 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005008/0.3602, allocations: 498.6 kB / 1.081 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.3607, allocations: 353.3 kB / 1.082 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3607, allocations: 0 / 1.082 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.3609, allocations: 31.98 kB / 1.082 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.3609, allocations: 0 / 1.082 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.3609, allocations: 7.984 kB / 1.082 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.3609, allocations: 3.938 kB / 1.082 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3609, allocations: 4 kB / 1.082 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006444/0.3616, allocations: 280.5 kB / 1.082 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.3617, allocations: 128.7 kB / 1.082 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.3618, allocations: 3.984 kB / 1.082 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.3621, allocations: 19.92 kB / 1.082 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.3621, allocations: 19.97 kB / 1.082 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.3622, allocations: 8 kB / 1.082 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002589/0.3624, allocations: 239.2 kB / 1.082 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3625, allocations: 0 / 1.082 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000481/0.3629, allocations: 115.8 kB / 1.083 GB, free: 9.152 MB / 0.8419 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.0003926/0.3633, allocations: 180.4 kB / 1.083 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005197/0.3639, allocations: 231.1 kB / 1.083 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3639, allocations: 0 / 1.083 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.3641, allocations: 68.52 kB / 1.083 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009824/0.3651, allocations: 207.1 kB / 1.083 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.3666, allocations: 0.8866 MB / 1.084 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.367, allocations: 0.7882 MB / 1.085 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.019e-05/0.3671, allocations: 35.42 kB / 1.085 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of SimCode: time 1.583e-06/0.3671, allocations: 0 / 1.085 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of Templates: time 0.008702/0.3758, allocations: 5.945 MB / 1.091 GB, free: 0.7969 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 -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