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.00106/0.00106, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001343/0.001344, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.767/2.767, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003209, allocations: 10.44 kB / 0.9021 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2694, allocations: 159.6 MB / 1.058 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01322/0.2827, allocations: 13.2 MB / 1.071 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00471/0.2874, allocations: 3.408 MB / 1.074 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004181/0.2879, allocations: 19.88 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.2884, allocations: 143.1 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.2895, allocations: 485.6 kB / 1.075 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007991/0.2903, allocations: 290.5 kB / 1.075 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001459/0.2918, allocations: 1.247 MB / 1.076 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003771/0.2922, allocations: 242.7 kB / 1.077 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004387/0.2926, allocations: 314.7 kB / 1.077 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003589/0.293, allocations: 278.7 kB / 1.077 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.293, allocations: 12 kB / 1.077 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004135/0.2934, allocations: 151.7 kB / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.729e-05/0.2936, allocations: 67.67 kB / 1.077 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.878e-05/0.2937, allocations: 101.5 kB / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.2942, allocations: 435.1 kB / 1.078 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2942, allocations: 0 / 1.078 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2942, allocations: 0 / 1.078 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2942, allocations: 0 / 1.078 GB, free: 0.9648 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.0009789/0.2952, allocations: 0.6756 MB / 1.079 GB, free: 240 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2952, allocations: 12.03 kB / 1.079 GB, free: 228 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.2954, allocations: 51.45 kB / 1.079 GB, free: 176 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.2961, allocations: 470.4 kB / 1.079 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.2961, allocations: 16.56 kB / 1.079 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.2962, allocations: 39.97 kB / 1.079 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/0.2968, allocations: 306.2 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.2968, allocations: 3.953 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.2969, allocations: 12 kB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.2969, allocations: 11.98 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.2974, allocations: 206.1 kB / 1.08 GB, free: 15.07 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.00171/0.2991, allocations: 1.47 MB / 1.081 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.2995, allocations: 182.5 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.2997, allocations: 72.81 kB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.2999, allocations: 85.11 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002932/0.3002, allocations: 139.2 kB / 1.082 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.3002, allocations: 0 / 1.082 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0006005/0.3008, allocations: 245.1 kB / 1.082 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.3008, allocations: 59.39 kB / 1.082 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003542/0.3012, allocations: 329.7 kB / 1.082 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.3012, allocations: 29.7 kB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.3014, allocations: 215.7 kB / 1.082 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.3015, allocations: 51.27 kB / 1.082 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.3015, allocations: 4 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3016, allocations: 350.8 kB / 1.083 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.3018, allocations: 75.95 kB / 1.083 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.302, allocations: 145.9 kB / 1.083 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.3023, allocations: 121.6 kB / 1.083 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3023, allocations: 4 kB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005833/0.3029, allocations: 332.1 kB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.3029, allocations: 33.7 kB / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3029, allocations: 0 / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.303, allocations: 4 kB / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.3032, allocations: 64.09 kB / 1.083 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3032, allocations: 8 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.3035, allocations: 39.67 kB / 1.084 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.3035, allocations: 15.98 kB / 1.084 GB, free: 10.77 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.3037, allocations: 153.8 kB / 1.084 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.3037, allocations: 35.58 kB / 1.084 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/0.3042, allocations: 207.3 kB / 1.084 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3042, allocations: 4 kB / 1.084 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3042, allocations: 0 / 1.084 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004782/0.3047, allocations: 0.4918 MB / 1.084 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.3051, allocations: 349.4 kB / 1.085 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3051, allocations: 0 / 1.085 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.3053, allocations: 27.98 kB / 1.085 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.3054, allocations: 3.953 kB / 1.085 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3054, allocations: 11.98 kB / 1.085 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3054, allocations: 0 / 1.085 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3054, allocations: 4 kB / 1.085 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.306, allocations: 304.4 kB / 1.085 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3061, allocations: 128.7 kB / 1.085 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.946e-05/0.3062, allocations: 7.953 kB / 1.085 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.3064, allocations: 15.98 kB / 1.085 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.3065, allocations: 19.97 kB / 1.085 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.3065, allocations: 7.984 kB / 1.085 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000237/0.3068, allocations: 235.2 kB / 1.085 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3068, allocations: 4 kB / 1.085 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004024/0.3072, allocations: 116.1 kB / 1.086 GB, free: 8.496 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002755/0.3075, allocations: 187 kB / 1.086 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004826/0.3079, allocations: 241.6 kB / 1.086 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.308, allocations: 0.625 kB / 1.086 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.3082, allocations: 75.91 kB / 1.086 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009085/0.3091, allocations: 215.9 kB / 1.086 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.3105, allocations: 0.9442 MB / 1.087 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.3108, allocations: 0.7884 MB / 1.088 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002554/0.3111, allocations: 63.23 kB / 1.088 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/0.3112, allocations: 31.44 kB / 1.088 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.3112, allocations: 0 / 1.088 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of Templates: time 0.01148/0.3227, allocations: 6.336 MB / 1.094 GB, free: 15.66 MB / 0.8575 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches