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: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 108 kB / 15.6 MB, free: 132 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.001194/0.001195, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.507/2.507, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.512/0.5133, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01538/0.5287, allocations: 14.43 MB / 1.031 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004861/0.5336, allocations: 3.647 MB / 1.035 GB, free: 316 kB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000404/0.534, allocations: 19.88 kB / 1.035 GB, free: 296 kB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.5346, allocations: 198.7 kB / 1.035 GB, free: 96 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.5359, allocations: 0.5908 MB / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008623/0.5368, allocations: 386.8 kB / 1.036 GB, free: 15.12 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001198/0.538, allocations: 1.087 MB / 1.037 GB, free: 14.04 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004286/0.5385, allocations: 322.8 kB / 1.038 GB, free: 13.72 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008555/0.5393, allocations: 392.5 kB / 1.038 GB, free: 13.34 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004078/0.5397, allocations: 302.7 kB / 1.038 GB, free: 13.04 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.557e-05/0.5398, allocations: 35.98 kB / 1.038 GB, free: 13 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005472/0.5404, allocations: 263.5 kB / 1.039 GB, free: 12.75 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.5405, allocations: 91.67 kB / 1.039 GB, free: 12.66 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.5407, allocations: 214.9 kB / 1.039 GB, free: 12.45 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007093/0.5414, allocations: 0.5687 MB / 1.039 GB, free: 11.88 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.5415, allocations: 4 kB / 1.039 GB, free: 11.87 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5415, allocations: 4 kB / 1.039 GB, free: 11.87 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.5415, allocations: 0 / 1.039 GB, free: 11.87 MB / 0.795 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.001114/0.5426, allocations: 0.7552 MB / 1.04 GB, free: 11.06 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.5426, allocations: 8.031 kB / 1.04 GB, free: 11.05 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.112e-05/0.5427, allocations: 62.72 kB / 1.04 GB, free: 10.98 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.5429, allocations: 48.47 kB / 1.04 GB, free: 10.93 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006275/0.5435, allocations: 443.7 kB / 1.041 GB, free: 10.46 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.5436, allocations: 28.67 kB / 1.041 GB, free: 10.43 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/0.5436, allocations: 28 kB / 1.041 GB, free: 10.4 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005689/0.5442, allocations: 302.2 kB / 1.041 GB, free: 10.08 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.5442, allocations: 7.984 kB / 1.041 GB, free: 10.07 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.5443, allocations: 12 kB / 1.041 GB, free: 10.06 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.5443, allocations: 8 kB / 1.041 GB, free: 10.05 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004778/0.5448, allocations: 194.1 kB / 1.041 GB, free: 9.867 MB / 0.795 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.001721/0.5465, allocations: 1.485 MB / 1.043 GB, free: 8.254 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004414/0.547, allocations: 162.6 kB / 1.043 GB, free: 8.086 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.5472, allocations: 64.81 kB / 1.043 GB, free: 8.02 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.5473, allocations: 89.09 kB / 1.043 GB, free: 7.914 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002818/0.5476, allocations: 119.3 kB / 1.043 GB, free: 7.785 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.5476, allocations: 0 / 1.043 GB, free: 7.785 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0006455/0.5483, allocations: 250.5 kB / 1.043 GB, free: 7.535 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.5483, allocations: 59.41 kB / 1.043 GB, free: 7.465 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.5487, allocations: 345.6 kB / 1.044 GB, free: 7.117 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.5487, allocations: 33.69 kB / 1.044 GB, free: 7.078 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.5488, allocations: 211.7 kB / 1.044 GB, free: 6.867 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.446e-05/0.5489, allocations: 55.28 kB / 1.044 GB, free: 6.812 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.549, allocations: 53.61 kB / 1.044 GB, free: 6.754 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5491, allocations: 346.8 kB / 1.044 GB, free: 6.406 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.5493, allocations: 71.94 kB / 1.044 GB, free: 6.336 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.5496, allocations: 150.3 kB / 1.045 GB, free: 6.156 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/0.55, allocations: 243.2 kB / 1.045 GB, free: 5.879 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.55, allocations: 0 / 1.045 GB, free: 5.879 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006032/0.5506, allocations: 316 kB / 1.045 GB, free: 5.559 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.5507, allocations: 30.95 kB / 1.045 GB, free: 5.523 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.5507, allocations: 4 kB / 1.045 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.5507, allocations: 7.938 kB / 1.045 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.5509, allocations: 55.91 kB / 1.045 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.551, allocations: 11.92 kB / 1.045 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.5512, allocations: 43.98 kB / 1.045 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.5513, allocations: 8 kB / 1.045 GB, free: 5.395 MB / 0.795 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.000145/0.5514, allocations: 157.8 kB / 1.045 GB, free: 5.23 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.5515, allocations: 31.62 kB / 1.045 GB, free: 5.199 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004616/0.5519, allocations: 197.9 kB / 1.046 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.552, allocations: 3.938 kB / 1.046 GB, free: 5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.552, allocations: 4 kB / 1.046 GB, free: 4.996 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004887/0.5525, allocations: 487.7 kB / 1.046 GB, free: 4.434 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.5529, allocations: 357.4 kB / 1.046 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5529, allocations: 0 / 1.046 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.5531, allocations: 31.97 kB / 1.046 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5531, allocations: 0 / 1.046 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.5531, allocations: 0 / 1.046 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.5531, allocations: 3.938 kB / 1.046 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5531, allocations: 0 / 1.046 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006179/0.5537, allocations: 293.7 kB / 1.047 GB, free: 3.695 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.5539, allocations: 120.8 kB / 1.047 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.5539, allocations: 15.88 kB / 1.047 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.5542, allocations: 15.92 kB / 1.047 GB, free: 3.527 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.5543, allocations: 23.97 kB / 1.047 GB, free: 3.504 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.5543, allocations: 4 kB / 1.047 GB, free: 3.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002509/0.5545, allocations: 251.2 kB / 1.047 GB, free: 3.258 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5545, allocations: 0 / 1.047 GB, free: 3.258 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003986/0.5549, allocations: 123.8 kB / 1.047 GB, free: 3.137 MB / 0.795 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.001068/0.556, allocations: 0.9104 MB / 1.048 GB, free: 2.199 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005001/0.5565, allocations: 228.9 kB / 1.048 GB, free: 1.965 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5565, allocations: 0 / 1.048 GB, free: 1.965 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.5567, allocations: 74.77 kB / 1.048 GB, free: 1.895 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/0.5577, allocations: 224.3 kB / 1.049 GB, free: 1.688 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.5619, allocations: 3.086 MB / 1.052 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.5622, allocations: 0.7879 MB / 1.052 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002498/0.5625, allocations: 59.27 kB / 1.053 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.5627, allocations: 119.4 kB / 1.053 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.5627, allocations: 3.938 kB / 1.053 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.5909, allocations: 10.11 MB / 1.063 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.169/7.76, allocations: 14.02 kB / 1.063 GB, free: 3.52 MB / 0.8106 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_10_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv","/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