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.001432/0.001432, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001572/0.001572, allocations: 214.3 kB / 22.25 MB, free: 5.262 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.793 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.897/2.897, allocations: 476 MB / 0.7699 GB, free: 4.75 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: 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.002024/0.002024, allocations: 68.62 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.362, allocations: 169.9 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.0199/0.3819, allocations: 13.49 MB / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006601/0.3885, allocations: 3.39 MB / 1.299 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009491/0.3895, allocations: 27.75 kB / 1.3 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009933/0.3905, allocations: 202.7 kB / 1.3 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.393, allocations: 0.6259 MB / 1.3 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.3943, allocations: 403.9 kB / 1.301 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002087/0.3964, allocations: 1.11 MB / 1.302 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006325/0.397, allocations: 257.5 kB / 1.302 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.3985, allocations: 410.5 kB / 1.302 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007872/0.3993, allocations: 302.6 kB / 1.303 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.3994, allocations: 32 kB / 1.303 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008033/0.4002, allocations: 231.5 kB / 1.303 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.4004, allocations: 95.61 kB / 1.303 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.4007, allocations: 175.2 kB / 1.303 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.402, allocations: 0.5994 MB / 1.304 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.402, allocations: 3.938 kB / 1.304 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.402, allocations: 0 / 1.304 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.336e-05/0.402, allocations: 3.938 kB / 1.304 GB, free: 6.562 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.001814/0.4038, allocations: 0.6855 MB / 1.304 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.4039, allocations: 8.031 kB / 1.304 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003301/0.4042, allocations: 44.7 kB / 1.305 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.4053, allocations: 404.8 kB / 1.305 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.4054, allocations: 28.61 kB / 1.305 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.182e-05/0.4055, allocations: 24 kB / 1.305 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008154/0.4063, allocations: 412 kB / 1.305 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.4063, allocations: 0 / 1.305 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.4063, allocations: 16 kB / 1.305 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.4064, allocations: 8 kB / 1.305 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005276/0.4069, allocations: 193.8 kB / 1.306 GB, free: 4.656 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.002058/0.4089, allocations: 1.104 MB / 1.307 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/0.4094, allocations: 142.6 kB / 1.307 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.4096, allocations: 64.81 kB / 1.307 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.4097, allocations: 15.98 kB / 1.307 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003921/0.4101, allocations: 226.1 kB / 1.307 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 2.275e-06/0.4101, allocations: 4 kB / 1.307 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007365/0.4109, allocations: 231.6 kB / 1.307 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.4109, allocations: 71.2 kB / 1.307 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/0.4114, allocations: 324.5 kB / 1.308 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.4114, allocations: 33.7 kB / 1.308 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.4116, allocations: 220.4 kB / 1.308 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.253e-05/0.4117, allocations: 55.53 kB / 1.308 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.965e-05/0.4118, allocations: 61.64 kB / 1.308 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.412, allocations: 342.8 kB / 1.308 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.4122, allocations: 97.66 kB / 1.308 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/0.4126, allocations: 168.3 kB / 1.309 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/0.4132, allocations: 252.6 kB / 1.309 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4132, allocations: 0 / 1.309 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006969/0.4139, allocations: 343 kB / 1.309 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.454e-05/0.414, allocations: 37.64 kB / 1.309 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.414, allocations: 0 / 1.309 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.414, allocations: 4 kB / 1.309 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.4142, allocations: 63.91 kB / 1.309 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.4143, allocations: 11.92 kB / 1.309 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.4145, allocations: 31.83 kB / 1.309 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.4146, allocations: 8 kB / 1.309 GB, free: 0.5469 MB / 0.9981 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.0002044/0.4148, allocations: 161.9 kB / 1.309 GB, free: 388 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.778e-05/0.4148, allocations: 31.81 kB / 1.31 GB, free: 356 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.4153, allocations: 192.5 kB / 1.31 GB, free: 156 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4154, allocations: 0 / 1.31 GB, free: 156 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.4154, allocations: 11.86 kB / 1.31 GB, free: 144 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005838/0.4159, allocations: 486.7 kB / 1.31 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.4164, allocations: 253.1 kB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4164, allocations: 0 / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.4166, allocations: 35.97 kB / 1.31 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4166, allocations: 0 / 1.31 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.4166, allocations: 0 / 1.31 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.4166, allocations: 4 kB / 1.31 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4166, allocations: 0 / 1.31 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006789/0.4173, allocations: 284.6 kB / 1.311 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.4174, allocations: 55.77 kB / 1.311 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.4175, allocations: 4 kB / 1.311 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.4177, allocations: 23.91 kB / 1.311 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.4178, allocations: 23.91 kB / 1.311 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.4178, allocations: 7.984 kB / 1.311 GB, free: 14.86 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000399/0.4182, allocations: 227.1 kB / 1.311 GB, free: 14.63 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4182, allocations: 0 / 1.311 GB, free: 14.63 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004867/0.4187, allocations: 131.6 kB / 1.311 GB, free: 14.5 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.0003795/0.4191, allocations: 191.2 kB / 1.311 GB, free: 14.31 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000588/0.4197, allocations: 256.8 kB / 1.312 GB, free: 14.04 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4197, allocations: 0 / 1.312 GB, free: 14.04 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.4199, allocations: 59.95 kB / 1.312 GB, free: 13.98 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009477/0.4208, allocations: 202.3 kB / 1.312 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.4225, allocations: 0.7432 MB / 1.313 GB, free: 13.03 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.4227, allocations: 189.1 kB / 1.313 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003059/0.423, allocations: 63.25 kB / 1.313 GB, free: 12.76 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.557e-05/0.4231, allocations: 31.42 kB / 1.313 GB, free: 12.73 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/0.4231, allocations: 3.938 kB / 1.313 GB, free: 12.73 MB / 1.014 GB Notification: Performance of Templates: time 0.01539/0.4385, allocations: 7.675 MB / 1.32 GB, free: 5.234 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/jenkins/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: 9.902954051271081]