Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.01049/0.01049, allocations: 102 kB / 15.73 MB, free: 6.02 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.00228/0.00228, allocations: 190.3 kB / 16.67 MB, free: 5.934 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.91 kB / 1.018 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9694/0.9707, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01593/0.9867, allocations: 14.45 MB / 1.181 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006622/0.9934, allocations: 3.636 MB / 1.184 GB, free: 1.695 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008092/0.9942, allocations: 19.88 kB / 1.184 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008539/0.9952, allocations: 202.7 kB / 1.184 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.997, allocations: 0.5868 MB / 1.185 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.9981, allocations: 390.6 kB / 1.185 GB, free: 0.5039 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.9996, allocations: 1.092 MB / 1.186 GB, free: 15.41 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000471/1, allocations: 320.5 kB / 1.187 GB, free: 15.09 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009742/1.001, allocations: 393.1 kB / 1.187 GB, free: 14.71 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003824/1.001, allocations: 306.7 kB / 1.187 GB, free: 14.41 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.854e-05/1.001, allocations: 32 kB / 1.187 GB, free: 14.38 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005829/1.002, allocations: 259.5 kB / 1.188 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/1.002, allocations: 95.61 kB / 1.188 GB, free: 14.03 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002403/1.002, allocations: 211.1 kB / 1.188 GB, free: 13.82 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009495/1.003, allocations: 0.5921 MB / 1.189 GB, free: 13.23 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.003, allocations: 0 / 1.189 GB, free: 13.23 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.797e-06/1.003, allocations: 4 kB / 1.189 GB, free: 13.23 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.682e-05/1.003, allocations: 0 / 1.189 GB, free: 13.23 MB / 0.92 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.001424/1.005, allocations: 0.7647 MB / 1.189 GB, free: 12.41 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/1.005, allocations: 8.922 kB / 1.189 GB, free: 12.4 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/1.005, allocations: 48.66 kB / 1.189 GB, free: 12.35 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008311/1.006, allocations: 475.9 kB / 1.19 GB, free: 11.85 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/1.006, allocations: 16.94 kB / 1.19 GB, free: 11.83 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.267e-05/1.006, allocations: 31.94 kB / 1.19 GB, free: 11.8 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005959/1.007, allocations: 306.2 kB / 1.19 GB, free: 11.48 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/1.007, allocations: 4 kB / 1.19 GB, free: 11.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/1.007, allocations: 15.92 kB / 1.19 GB, free: 11.46 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/1.007, allocations: 8 kB / 1.19 GB, free: 11.45 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004653/1.007, allocations: 194.1 kB / 1.19 GB, free: 11.27 MB / 0.92 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.001937/1.009, allocations: 1.485 MB / 1.192 GB, free: 9.652 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/1.01, allocations: 154.6 kB / 1.192 GB, free: 9.492 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/1.01, allocations: 76.69 kB / 1.192 GB, free: 9.414 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/1.01, allocations: 89.09 kB / 1.192 GB, free: 9.309 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003184/1.01, allocations: 123.3 kB / 1.192 GB, free: 9.176 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/1.01, allocations: 0 / 1.192 GB, free: 9.176 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.000642/1.011, allocations: 237.3 kB / 1.193 GB, free: 8.938 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/1.011, allocations: 55.34 kB / 1.193 GB, free: 8.871 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000382/1.012, allocations: 353.6 kB / 1.193 GB, free: 8.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/1.012, allocations: 29.7 kB / 1.193 GB, free: 8.484 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/1.012, allocations: 232 kB / 1.193 GB, free: 8.254 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/1.012, allocations: 47.59 kB / 1.193 GB, free: 8.207 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-05/1.012, allocations: 53.66 kB / 1.193 GB, free: 8.148 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.012, allocations: 342.8 kB / 1.194 GB, free: 7.805 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/1.012, allocations: 67.95 kB / 1.194 GB, free: 7.738 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/1.013, allocations: 149.4 kB / 1.194 GB, free: 7.559 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/1.013, allocations: 237.4 kB / 1.194 GB, free: 7.289 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.013, allocations: 7.938 kB / 1.194 GB, free: 7.281 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005774/1.014, allocations: 314.8 kB / 1.194 GB, free: 6.961 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/1.014, allocations: 29.7 kB / 1.194 GB, free: 6.926 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.014, allocations: 7.984 kB / 1.194 GB, free: 6.918 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.014, allocations: 4.312 kB / 1.194 GB, free: 6.914 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/1.014, allocations: 67.84 kB / 1.194 GB, free: 6.848 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/1.014, allocations: 3.984 kB / 1.194 GB, free: 6.844 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/1.014, allocations: 39.72 kB / 1.194 GB, free: 6.805 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/1.014, allocations: 11.98 kB / 1.194 GB, free: 6.793 MB / 0.92 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.0001646/1.014, allocations: 157.7 kB / 1.195 GB, free: 6.629 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/1.014, allocations: 35.77 kB / 1.195 GB, free: 6.594 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004505/1.015, allocations: 197.6 kB / 1.195 GB, free: 6.395 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.015, allocations: 3.938 kB / 1.195 GB, free: 6.391 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.015, allocations: 0 / 1.195 GB, free: 6.391 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004922/1.015, allocations: 483.7 kB / 1.195 GB, free: 5.832 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000423/1.016, allocations: 353.4 kB / 1.196 GB, free: 5.438 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.016, allocations: 3.938 kB / 1.196 GB, free: 5.434 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/1.016, allocations: 35.97 kB / 1.196 GB, free: 5.398 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/1.016, allocations: 7.938 kB / 1.196 GB, free: 5.391 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/1.016, allocations: 0 / 1.196 GB, free: 5.391 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/1.016, allocations: 3.938 kB / 1.196 GB, free: 5.387 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/1.016, allocations: 4 kB / 1.196 GB, free: 5.383 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000627/1.017, allocations: 283.4 kB / 1.196 GB, free: 5.09 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/1.017, allocations: 132.9 kB / 1.196 GB, free: 4.941 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/1.017, allocations: 7.938 kB / 1.196 GB, free: 4.934 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/1.017, allocations: 15.92 kB / 1.196 GB, free: 4.918 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.014e-05/1.017, allocations: 19.97 kB / 1.196 GB, free: 4.898 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/1.017, allocations: 4 kB / 1.196 GB, free: 4.895 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002509/1.017, allocations: 247.2 kB / 1.196 GB, free: 4.66 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/1.017, allocations: 0 / 1.196 GB, free: 4.66 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004371/1.018, allocations: 135.6 kB / 1.197 GB, free: 4.527 MB / 0.92 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.0003999/1.018, allocations: 195 kB / 1.197 GB, free: 4.324 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005009/1.019, allocations: 227.2 kB / 1.197 GB, free: 4.09 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.019, allocations: 3.938 kB / 1.197 GB, free: 4.086 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/1.019, allocations: 63.91 kB / 1.197 GB, free: 4.023 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009354/1.02, allocations: 212.6 kB / 1.197 GB, free: 3.824 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/1.021, allocations: 0.7496 MB / 1.198 GB, free: 3.051 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/1.022, allocations: 0.7879 MB / 1.199 GB, free: 2.238 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002791/1.022, allocations: 67.23 kB / 1.199 GB, free: 2.172 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.077e-05/1.022, allocations: 35.38 kB / 1.199 GB, free: 2.137 MB / 0.92 GB Notification: Performance of SimCode: time 5.92e-07/1.022, allocations: 4 kB / 1.199 GB, free: 2.133 MB / 0.92 GB Notification: Performance of Templates: time 0.0148/1.037, allocations: 7.17 MB / 1.206 GB, free: 11.07 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches