Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 222.5 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.58/1.58, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.017/3.017, allocations: 476.8 MB / 0.7715 GB, free: 3.914 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 64.75 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3577, allocations: 170 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02327/0.381, allocations: 13.47 MB / 1.297 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007229/0.3882, allocations: 3.391 MB / 1.301 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008223/0.3891, allocations: 23.81 kB / 1.301 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009541/0.39, allocations: 194.7 kB / 1.301 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.3922, allocations: 0.6376 MB / 1.301 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.3934, allocations: 397.8 kB / 1.302 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001988/0.3953, allocations: 1.127 MB / 1.303 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005656/0.3959, allocations: 257.1 kB / 1.303 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.3974, allocations: 419.2 kB / 1.303 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000655/0.398, allocations: 322.5 kB / 1.304 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.07e-05/0.3981, allocations: 32 kB / 1.304 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007166/0.3988, allocations: 227.5 kB / 1.304 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.399, allocations: 99.55 kB / 1.304 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002895/0.3993, allocations: 175.2 kB / 1.304 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.4005, allocations: 0.6033 MB / 1.305 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.4005, allocations: 8 kB / 1.305 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4005, allocations: 0 / 1.305 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.4005, allocations: 0 / 1.305 GB, free: 5.312 MB / 0.9981 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.001482/0.402, allocations: 0.6777 MB / 1.306 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.402, allocations: 12.03 kB / 1.306 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.478e-05/0.402, allocations: 8.688 kB / 1.306 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.4021, allocations: 62.66 kB / 1.306 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/0.4024, allocations: 60.64 kB / 1.306 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000868/0.4033, allocations: 396.8 kB / 1.306 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.4033, allocations: 32.42 kB / 1.306 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.218e-05/0.4034, allocations: 28 kB / 1.306 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007504/0.4041, allocations: 408.1 kB / 1.307 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.4041, allocations: 7.938 kB / 1.307 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.4042, allocations: 12 kB / 1.307 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.4042, allocations: 8 kB / 1.307 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.4047, allocations: 189.8 kB / 1.307 GB, free: 3.316 MB / 0.9981 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.001957/0.4067, allocations: 1.15 MB / 1.308 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/0.4071, allocations: 149.6 kB / 1.308 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.4073, allocations: 64.83 kB / 1.308 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.4075, allocations: 11.98 kB / 1.308 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004041/0.4079, allocations: 226.1 kB / 1.308 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 2.245e-06/0.4079, allocations: 0 / 1.308 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007017/0.4086, allocations: 240.2 kB / 1.309 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.4086, allocations: 59.41 kB / 1.309 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.409, allocations: 349.6 kB / 1.309 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.749e-05/0.4091, allocations: 37.7 kB / 1.309 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.4093, allocations: 220.1 kB / 1.309 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.532e-05/0.4093, allocations: 51.59 kB / 1.309 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.977e-05/0.4094, allocations: 53.69 kB / 1.309 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.4096, allocations: 346.8 kB / 1.31 GB, free: 240 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.4099, allocations: 97.66 kB / 1.31 GB, free: 136 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.4102, allocations: 172.3 kB / 1.31 GB, free: 15.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/0.4106, allocations: 254.5 kB / 1.31 GB, free: 15.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.4106, allocations: 0 / 1.31 GB, free: 15.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007105/0.4114, allocations: 340.6 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/0.4114, allocations: 37.7 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.4114, allocations: 3.938 kB / 1.31 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.4114, allocations: 7.938 kB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.4117, allocations: 60.22 kB / 1.311 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.4117, allocations: 11.92 kB / 1.311 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.412, allocations: 35.77 kB / 1.311 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.412, allocations: 8 kB / 1.311 GB, free: 15.12 MB / 1.014 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.000219/0.4122, allocations: 153.8 kB / 1.311 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.4123, allocations: 35.81 kB / 1.311 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005153/0.4128, allocations: 196.4 kB / 1.311 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.4128, allocations: 15.97 kB / 1.311 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4128, allocations: 0 / 1.311 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000598/0.4134, allocations: 487.6 kB / 1.311 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005439/0.414, allocations: 292.5 kB / 1.312 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.414, allocations: 0 / 1.312 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.4141, allocations: 31.98 kB / 1.312 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4141, allocations: 0 / 1.312 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.4142, allocations: 7.938 kB / 1.312 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.4142, allocations: 8 kB / 1.312 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.4142, allocations: 3.984 kB / 1.312 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006968/0.4149, allocations: 291.8 kB / 1.312 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.415, allocations: 43.83 kB / 1.312 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/0.4151, allocations: 11.94 kB / 1.312 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.4153, allocations: 15.97 kB / 1.312 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/0.4154, allocations: 15.97 kB / 1.312 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.4154, allocations: 12 kB / 1.312 GB, free: 13.37 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003213/0.4158, allocations: 247.2 kB / 1.312 GB, free: 13.13 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4158, allocations: 3.938 kB / 1.312 GB, free: 13.13 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005064/0.4163, allocations: 131.7 kB / 1.312 GB, free: 13 MB / 1.014 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.001316/0.4176, allocations: 0.9009 MB / 1.313 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005833/0.4182, allocations: 253.2 kB / 1.314 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.4182, allocations: 4 kB / 1.314 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.4184, allocations: 71.83 kB / 1.314 GB, free: 11.73 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.4194, allocations: 209.3 kB / 1.314 GB, free: 11.53 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005102/0.4245, allocations: 3.17 MB / 1.317 GB, free: 8.195 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.4247, allocations: 193.8 kB / 1.317 GB, free: 7.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003151/0.425, allocations: 63.12 kB / 1.317 GB, free: 7.922 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.4253, allocations: 123.4 kB / 1.317 GB, free: 7.801 MB / 1.014 GB Notification: Performance of SimCode: time 1.332e-06/0.4253, allocations: 0 / 1.317 GB, free: 7.801 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05569/0.4809, allocations: 11.2 MB / 1.328 GB, free: 12.96 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.24, allocations: 5.938 kB / 1.328 GB, free: 12.96 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.58227531099692]