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.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.001896/0.001896, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002235/0.002235, allocations: 215 kB / 20.13 MB, free: 2.949 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.429/1.429, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.862/2.862, allocations: 0.5003 GB / 0.8026 GB, free: 6.762 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_latest_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.001956/0.001956, allocations: 67.91 kB / 1.165 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.855/0.857, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01323/0.8702, allocations: 14.66 MB / 1.354 GB, free: 5.785 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004838/0.8751, allocations: 3.666 MB / 1.358 GB, free: 3.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005155/0.8756, allocations: 24 kB / 1.358 GB, free: 3.168 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006471/0.8762, allocations: 213.7 kB / 1.358 GB, free: 3.047 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.8776, allocations: 0.6158 MB / 1.359 GB, free: 2.684 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008857/0.8785, allocations: 399 kB / 1.359 GB, free: 2.465 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00125/0.8798, allocations: 1.09 MB / 1.36 GB, free: 1.953 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/0.8802, allocations: 264.5 kB / 1.361 GB, free: 1.828 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.8812, allocations: 445.6 kB / 1.361 GB, free: 1.633 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000393/0.8816, allocations: 326.6 kB / 1.361 GB, free: 1.492 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.596e-05/0.8817, allocations: 36.19 kB / 1.361 GB, free: 1.488 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006189/0.8823, allocations: 276.5 kB / 1.362 GB, free: 1.387 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.8824, allocations: 106.2 kB / 1.362 GB, free: 1.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.8826, allocations: 213.4 kB / 1.362 GB, free: 1.195 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008832/0.8835, allocations: 0.6154 MB / 1.362 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.8835, allocations: 0.875 kB / 1.362 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8835, allocations: 0 / 1.362 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.8835, allocations: 0.6875 kB / 1.362 GB, free: 0.9609 MB / 1.061 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.001069/0.8846, allocations: 0.7687 MB / 1.363 GB, free: 344 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.8846, allocations: 9.469 kB / 1.363 GB, free: 344 kB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.862e-05/0.8846, allocations: 7.719 kB / 1.363 GB, free: 340 kB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.337e-05/0.8847, allocations: 61.44 kB / 1.363 GB, free: 284 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.8849, allocations: 50.89 kB / 1.363 GB, free: 260 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000713/0.8856, allocations: 470.4 kB / 1.364 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.8856, allocations: 32.8 kB / 1.364 GB, free: 15.89 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/0.8857, allocations: 25.44 kB / 1.364 GB, free: 15.89 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006109/0.8863, allocations: 309.2 kB / 1.364 GB, free: 15.73 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.8863, allocations: 1.094 kB / 1.364 GB, free: 15.73 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/0.8863, allocations: 11.28 kB / 1.364 GB, free: 15.72 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.8864, allocations: 8.312 kB / 1.364 GB, free: 15.72 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005011/0.8869, allocations: 198.4 kB / 1.364 GB, free: 15.66 MB / 1.076 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.002012/0.8889, allocations: 1.485 MB / 1.366 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.8893, allocations: 144.9 kB / 1.366 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.8895, allocations: 62.16 kB / 1.366 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.8896, allocations: 89.92 kB / 1.366 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003025/0.8899, allocations: 126.2 kB / 1.366 GB, free: 14.21 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.8899, allocations: 0 / 1.366 GB, free: 14.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0006563/0.8906, allocations: 242.6 kB / 1.366 GB, free: 14.11 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.8906, allocations: 58.28 kB / 1.367 GB, free: 14.05 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003877/0.891, allocations: 344.4 kB / 1.367 GB, free: 13.87 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.8911, allocations: 30.83 kB / 1.367 GB, free: 13.84 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.8912, allocations: 220.5 kB / 1.367 GB, free: 13.65 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.813e-05/0.8913, allocations: 51.06 kB / 1.367 GB, free: 13.61 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.8914, allocations: 61.8 kB / 1.367 GB, free: 13.57 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002259/0.8916, allocations: 348.2 kB / 1.368 GB, free: 13.24 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.8918, allocations: 74.25 kB / 1.368 GB, free: 13.21 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.8922, allocations: 139.9 kB / 1.368 GB, free: 13.11 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.8926, allocations: 242.9 kB / 1.368 GB, free: 12.93 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8926, allocations: 1.156 kB / 1.368 GB, free: 12.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006887/0.8933, allocations: 317 kB / 1.368 GB, free: 12.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.8933, allocations: 36.48 kB / 1.368 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8933, allocations: 3.094 kB / 1.368 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.8933, allocations: 9.125 kB / 1.368 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.8936, allocations: 55.2 kB / 1.368 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.8936, allocations: 3.422 kB / 1.368 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.8938, allocations: 36.47 kB / 1.368 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.8939, allocations: 9.703 kB / 1.368 GB, free: 12.71 MB / 1.076 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.0001698/0.894, allocations: 161.4 kB / 1.369 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.8941, allocations: 36.53 kB / 1.369 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.8946, allocations: 209.1 kB / 1.369 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.8946, allocations: 1.438 kB / 1.369 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.8946, allocations: 0 / 1.369 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005573/0.8951, allocations: 492.6 kB / 1.369 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.8956, allocations: 345.2 kB / 1.37 GB, free: 11.72 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8956, allocations: 0 / 1.37 GB, free: 11.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.8958, allocations: 34.09 kB / 1.37 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.8958, allocations: 1.094 kB / 1.37 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.8958, allocations: 14.75 kB / 1.37 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8958, allocations: 0.5625 kB / 1.37 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8958, allocations: 1.156 kB / 1.37 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006524/0.8965, allocations: 284.7 kB / 1.37 GB, free: 11.56 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.8967, allocations: 126.7 kB / 1.37 GB, free: 11.44 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.8968, allocations: 10.27 kB / 1.37 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.897, allocations: 17.44 kB / 1.37 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.897, allocations: 12.39 kB / 1.37 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.8971, allocations: 11.98 kB / 1.37 GB, free: 11.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002859/0.8974, allocations: 258.2 kB / 1.37 GB, free: 11.28 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8974, allocations: 0 / 1.37 GB, free: 11.28 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000487/0.8978, allocations: 129.6 kB / 1.37 GB, free: 11.25 MB / 1.076 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.00122/0.8991, allocations: 0.8982 MB / 1.371 GB, free: 10.55 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005567/0.8996, allocations: 233.5 kB / 1.372 GB, free: 10.43 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8996, allocations: 2.047 kB / 1.372 GB, free: 10.43 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.8998, allocations: 64.23 kB / 1.372 GB, free: 10.42 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009862/0.9008, allocations: 216.9 kB / 1.372 GB, free: 10.36 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/0.9053, allocations: 3.065 MB / 1.375 GB, free: 8.297 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.9057, allocations: 0.7933 MB / 1.376 GB, free: 7.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002618/0.906, allocations: 62.39 kB / 1.376 GB, free: 7.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.9062, allocations: 113.7 kB / 1.376 GB, free: 7.496 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/0.9062, allocations: 0 / 1.376 GB, free: 7.496 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03783/0.944, allocations: 10.29 MB / 1.386 GB, free: 6.375 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.117/10.06, allocations: 16.62 kB / 1.386 GB, free: 6.371 MB / 1.076 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.340154316974804]