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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001545/0.001545, allocations: 102.5 kB / 16.35 MB, free: 5.828 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.001111/0.001111, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.32/1.32, 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 10.1.0-maint.10.0.x/package.mo): time 2.387/2.387, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 60.91 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2763, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01493/0.2913, allocations: 14.45 MB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004827/0.2962, allocations: 3.648 MB / 1.036 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003809/0.2966, allocations: 15.94 kB / 1.036 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005639/0.2971, allocations: 206.7 kB / 1.037 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.2984, allocations: 0.579 MB / 1.037 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008346/0.2992, allocations: 399.3 kB / 1.038 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.3004, allocations: 1.084 MB / 1.039 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/0.3008, allocations: 317.1 kB / 1.039 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000812/0.3016, allocations: 392.4 kB / 1.039 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003468/0.302, allocations: 298.7 kB / 1.04 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.893e-05/0.302, allocations: 43.94 kB / 1.04 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004827/0.3025, allocations: 255.5 kB / 1.04 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.3026, allocations: 103.6 kB / 1.04 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.3028, allocations: 211 kB / 1.04 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006911/0.3035, allocations: 0.5919 MB / 1.041 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3036, allocations: 0 / 1.041 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3036, allocations: 0 / 1.041 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.3036, allocations: 0 / 1.041 GB, free: 3.207 MB / 0.8106 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.001092/0.3047, allocations: 0.7457 MB / 1.042 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3047, allocations: 12.62 kB / 1.042 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.3049, allocations: 48.45 kB / 1.042 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006856/0.3056, allocations: 459.7 kB / 1.042 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.3056, allocations: 20.94 kB / 1.042 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.299e-05/0.3057, allocations: 27.94 kB / 1.042 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/0.3062, allocations: 314.2 kB / 1.042 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.3063, allocations: 0 / 1.042 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.3063, allocations: 15.94 kB / 1.042 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.3063, allocations: 8 kB / 1.042 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/0.3068, allocations: 194.1 kB / 1.043 GB, free: 1.27 MB / 0.8106 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.001719/0.3085, allocations: 1.485 MB / 1.044 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.3089, allocations: 162.5 kB / 1.044 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.3091, allocations: 64.81 kB / 1.044 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.3092, allocations: 81.11 kB / 1.044 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/0.3095, allocations: 131.3 kB / 1.044 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.3095, allocations: 0 / 1.044 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0005856/0.3101, allocations: 231.1 kB / 1.045 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.3102, allocations: 63.34 kB / 1.045 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.3105, allocations: 345.6 kB / 1.045 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.3106, allocations: 37.7 kB / 1.045 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3107, allocations: 215.7 kB / 1.045 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.3108, allocations: 51.34 kB / 1.045 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.137e-05/0.3108, allocations: 53.61 kB / 1.045 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.311, allocations: 346.8 kB / 1.046 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.3112, allocations: 67.95 kB / 1.046 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.3114, allocations: 149.8 kB / 1.046 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.3118, allocations: 252.6 kB / 1.046 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3118, allocations: 0 / 1.046 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005714/0.3124, allocations: 304.6 kB / 1.046 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.3124, allocations: 33.7 kB / 1.046 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.3125, allocations: 8.297 kB / 1.046 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-05/0.3125, allocations: 8 kB / 1.046 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.3127, allocations: 59.84 kB / 1.047 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3128, allocations: 7.938 kB / 1.047 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.313, allocations: 35.67 kB / 1.047 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.313, allocations: 8 kB / 1.047 GB, free: 12.81 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.0001507/0.3132, allocations: 169.7 kB / 1.047 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.3133, allocations: 35.61 kB / 1.047 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004383/0.3137, allocations: 192.5 kB / 1.047 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3137, allocations: 7.938 kB / 1.047 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3137, allocations: 0 / 1.047 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004508/0.3142, allocations: 491.6 kB / 1.047 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.3146, allocations: 353.4 kB / 1.048 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3146, allocations: 0 / 1.048 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.3148, allocations: 31.98 kB / 1.048 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3148, allocations: 3.938 kB / 1.048 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.3148, allocations: 4 kB / 1.048 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3148, allocations: 7.922 kB / 1.048 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3148, allocations: 0 / 1.048 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005827/0.3154, allocations: 289.2 kB / 1.048 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.3155, allocations: 128.7 kB / 1.048 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.3156, allocations: 8 kB / 1.048 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.3158, allocations: 19.91 kB / 1.048 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.3159, allocations: 11.98 kB / 1.048 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.3159, allocations: 15.98 kB / 1.048 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002345/0.3162, allocations: 247.2 kB / 1.049 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3162, allocations: 0 / 1.049 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004279/0.3166, allocations: 120 kB / 1.049 GB, free: 10.54 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.0003058/0.3169, allocations: 191.2 kB / 1.049 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004703/0.3174, allocations: 231.1 kB / 1.049 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3174, allocations: 0 / 1.049 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.3176, allocations: 72.58 kB / 1.049 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008641/0.3185, allocations: 222.7 kB / 1.049 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.3197, allocations: 0.7269 MB / 1.05 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.3201, allocations: 0.7957 MB / 1.051 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002066/0.3203, allocations: 59.25 kB / 1.051 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/0.3203, allocations: 35.42 kB / 1.051 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3204, allocations: 0 / 1.051 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of Templates: time 0.01227/0.3326, allocations: 7.142 MB / 1.058 GB, free: 1.137 MB / 0.8262 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches