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.001328/0.001328, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001466/0.001466, allocations: 220.5 kB / 23.01 MB, free: 4.609 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 8.039 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 2.812/2.812, allocations: 476.7 MB / 0.7714 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel") [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.002973/0.002973, allocations: 65.89 kB / 1.119 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3529, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.0184/0.3713, allocations: 14.79 MB / 1.299 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006316/0.3776, allocations: 3.674 MB / 1.303 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007791/0.3784, allocations: 23.81 kB / 1.303 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007702/0.3792, allocations: 214.7 kB / 1.303 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.3809, allocations: 0.6259 MB / 1.303 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.3821, allocations: 406.5 kB / 1.304 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.3839, allocations: 1.134 MB / 1.305 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005092/0.3844, allocations: 257.5 kB / 1.305 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.3856, allocations: 393.1 kB / 1.306 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005251/0.3862, allocations: 338.5 kB / 1.306 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.288e-05/0.3862, allocations: 32 kB / 1.306 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007761/0.387, allocations: 295.4 kB / 1.306 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.3871, allocations: 91.69 kB / 1.306 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002796/0.3874, allocations: 218.9 kB / 1.307 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.3885, allocations: 0.615 MB / 1.307 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3885, allocations: 0 / 1.307 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3885, allocations: 0 / 1.307 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.3886, allocations: 0 / 1.307 GB, free: 4.113 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.001289/0.3898, allocations: 0.6855 MB / 1.308 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3899, allocations: 12.03 kB / 1.308 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.3901, allocations: 48.66 kB / 1.308 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008313/0.3909, allocations: 408.7 kB / 1.308 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.3909, allocations: 24.8 kB / 1.308 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.391, allocations: 31.94 kB / 1.308 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.3917, allocations: 305.3 kB / 1.309 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.3917, allocations: 7.953 kB / 1.309 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.3917, allocations: 8 kB / 1.309 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.3917, allocations: 8 kB / 1.309 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005079/0.3922, allocations: 201.7 kB / 1.309 GB, free: 2.312 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.002151/0.3944, allocations: 1.417 MB / 1.31 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.3949, allocations: 146.6 kB / 1.31 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.395, allocations: 60.83 kB / 1.31 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.3951, allocations: 11.98 kB / 1.31 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003321/0.3955, allocations: 131.5 kB / 1.311 GB, free: 424 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.3955, allocations: 0 / 1.311 GB, free: 424 kB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0006705/0.3962, allocations: 232.3 kB / 1.311 GB, free: 188 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.3962, allocations: 67.28 kB / 1.311 GB, free: 108 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004411/0.3966, allocations: 349.6 kB / 1.311 GB, free: 15.76 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.3967, allocations: 33.7 kB / 1.311 GB, free: 15.72 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.3969, allocations: 220.1 kB / 1.311 GB, free: 15.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/0.3969, allocations: 51.59 kB / 1.311 GB, free: 15.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.324e-05/0.397, allocations: 57.64 kB / 1.311 GB, free: 15.39 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.3972, allocations: 346.8 kB / 1.312 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.3974, allocations: 71.95 kB / 1.312 GB, free: 14.97 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.3977, allocations: 146.6 kB / 1.312 GB, free: 14.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.3981, allocations: 245.2 kB / 1.312 GB, free: 14.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3981, allocations: 4 kB / 1.312 GB, free: 14.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006446/0.3988, allocations: 310.8 kB / 1.313 GB, free: 14.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.666e-05/0.3988, allocations: 37.69 kB / 1.313 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3988, allocations: 4 kB / 1.313 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.3989, allocations: 8.312 kB / 1.313 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.3991, allocations: 59.84 kB / 1.313 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.3991, allocations: 7.938 kB / 1.313 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.3994, allocations: 39.77 kB / 1.313 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.3994, allocations: 8 kB / 1.313 GB, free: 14.03 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.0001879/0.3996, allocations: 157.8 kB / 1.313 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.3997, allocations: 35.77 kB / 1.313 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/0.4002, allocations: 204.4 kB / 1.313 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.4002, allocations: 3.938 kB / 1.313 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4002, allocations: 0 / 1.313 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005802/0.4008, allocations: 487.7 kB / 1.314 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004943/0.4013, allocations: 324.5 kB / 1.314 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4013, allocations: 0 / 1.314 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.4014, allocations: 39.91 kB / 1.314 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4014, allocations: 0 / 1.314 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.4015, allocations: 0 / 1.314 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.4015, allocations: 3.938 kB / 1.314 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4015, allocations: 0 / 1.314 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006345/0.4021, allocations: 289.9 kB / 1.314 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.4022, allocations: 55.77 kB / 1.314 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/0.4023, allocations: 4 kB / 1.314 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.4025, allocations: 19.92 kB / 1.314 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.4026, allocations: 15.97 kB / 1.314 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.4026, allocations: 11.98 kB / 1.314 GB, free: 12.25 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002847/0.4029, allocations: 251.1 kB / 1.315 GB, free: 12.01 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4029, allocations: 0 / 1.315 GB, free: 12.01 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004686/0.4034, allocations: 127.7 kB / 1.315 GB, free: 11.88 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.0004011/0.4038, allocations: 190.9 kB / 1.315 GB, free: 11.68 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005313/0.4043, allocations: 219.2 kB / 1.315 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4043, allocations: 0 / 1.315 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.4045, allocations: 67.91 kB / 1.315 GB, free: 11.39 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009478/0.4054, allocations: 217.8 kB / 1.315 GB, free: 11.19 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.4071, allocations: 0.7713 MB / 1.316 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.4076, allocations: 0.7879 MB / 1.317 GB, free: 9.578 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.4077, allocations: 39.42 kB / 1.317 GB, free: 9.539 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.4077, allocations: 0 / 1.317 GB, free: 9.539 MB / 1.014 GB Notification: Performance of Templates: time 0.01031/0.418, allocations: 6.16 MB / 1.323 GB, free: 3.43 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 400] 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: 12.254029037983855]