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.001363/0.001363, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001477/0.001477, allocations: 220.4 kB / 23 MB, free: 4.914 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 8.008 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 3.289/3.289, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 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: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_latest_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_latest_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.002095/0.002095, allocations: 62.44 kB / 1.187 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3492, allocations: 181.9 MB / 1.365 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01751/0.3667, allocations: 13.52 MB / 1.378 GB, free: 56 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006483/0.3732, allocations: 3.398 MB / 1.381 GB, free: 12.65 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006127/0.3738, allocations: 23.81 kB / 1.381 GB, free: 12.62 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007329/0.3745, allocations: 198.7 kB / 1.381 GB, free: 12.43 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.3762, allocations: 0.622 MB / 1.382 GB, free: 11.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.3773, allocations: 404.2 kB / 1.382 GB, free: 11.41 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001579/0.3788, allocations: 1.114 MB / 1.383 GB, free: 10.29 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000461/0.3793, allocations: 257 kB / 1.384 GB, free: 10.04 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.3806, allocations: 446.3 kB / 1.384 GB, free: 9.598 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000566/0.3812, allocations: 302.6 kB / 1.384 GB, free: 9.301 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.913e-05/0.3813, allocations: 32 kB / 1.384 GB, free: 9.27 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006015/0.3819, allocations: 223.5 kB / 1.385 GB, free: 9.051 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.382, allocations: 95.61 kB / 1.385 GB, free: 8.957 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.3822, allocations: 183.1 kB / 1.385 GB, free: 8.777 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009251/0.3832, allocations: 0.6072 MB / 1.385 GB, free: 8.168 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.3832, allocations: 4 kB / 1.385 GB, free: 8.164 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3832, allocations: 0 / 1.385 GB, free: 8.164 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.3832, allocations: 0 / 1.385 GB, free: 8.164 MB / 1.076 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.001264/0.3844, allocations: 0.6855 MB / 1.386 GB, free: 7.441 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3845, allocations: 8.031 kB / 1.386 GB, free: 7.434 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.3847, allocations: 48.66 kB / 1.386 GB, free: 7.387 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008525/0.3855, allocations: 408.7 kB / 1.387 GB, free: 6.965 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.3856, allocations: 24.88 kB / 1.387 GB, free: 6.941 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.916e-05/0.3856, allocations: 35.94 kB / 1.387 GB, free: 6.906 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000676/0.3863, allocations: 408.1 kB / 1.387 GB, free: 6.465 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.3863, allocations: 3.938 kB / 1.387 GB, free: 6.461 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.3864, allocations: 19.97 kB / 1.387 GB, free: 6.441 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.3864, allocations: 8 kB / 1.387 GB, free: 6.434 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004861/0.3869, allocations: 189.8 kB / 1.387 GB, free: 6.242 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.001752/0.3886, allocations: 1.092 MB / 1.388 GB, free: 5.102 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004698/0.3891, allocations: 150.6 kB / 1.388 GB, free: 4.945 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.3893, allocations: 60.81 kB / 1.389 GB, free: 4.883 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.3894, allocations: 11.98 kB / 1.389 GB, free: 4.871 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003701/0.3898, allocations: 232.3 kB / 1.389 GB, free: 4.609 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.704e-06/0.3898, allocations: 0 / 1.389 GB, free: 4.609 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0006577/0.3904, allocations: 229.4 kB / 1.389 GB, free: 4.379 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.3905, allocations: 59.28 kB / 1.389 GB, free: 4.309 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.3909, allocations: 332.4 kB / 1.389 GB, free: 3.973 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.3909, allocations: 29.7 kB / 1.389 GB, free: 3.938 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.3911, allocations: 228.3 kB / 1.39 GB, free: 3.711 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/0.3911, allocations: 51.53 kB / 1.39 GB, free: 3.66 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.419e-05/0.3912, allocations: 61.64 kB / 1.39 GB, free: 3.594 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3914, allocations: 338.8 kB / 1.39 GB, free: 3.254 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.3916, allocations: 105.7 kB / 1.39 GB, free: 3.145 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.3919, allocations: 175.6 kB / 1.39 GB, free: 2.934 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.3924, allocations: 252.3 kB / 1.391 GB, free: 2.648 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3924, allocations: 7.938 kB / 1.391 GB, free: 2.641 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007134/0.3931, allocations: 338.8 kB / 1.391 GB, free: 2.293 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/0.3931, allocations: 37.7 kB / 1.391 GB, free: 2.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3931, allocations: 4 kB / 1.391 GB, free: 2.246 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.3932, allocations: 4 kB / 1.391 GB, free: 2.242 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.3934, allocations: 51.91 kB / 1.391 GB, free: 2.191 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.3934, allocations: 19.8 kB / 1.391 GB, free: 2.172 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.3937, allocations: 31.83 kB / 1.391 GB, free: 2.141 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.3937, allocations: 12 kB / 1.391 GB, free: 2.129 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.0001855/0.3939, allocations: 165.8 kB / 1.391 GB, free: 1.957 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.3939, allocations: 31.8 kB / 1.391 GB, free: 1.926 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/0.3944, allocations: 186.9 kB / 1.391 GB, free: 1.738 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3944, allocations: 3.984 kB / 1.391 GB, free: 1.734 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3944, allocations: 7.938 kB / 1.391 GB, free: 1.727 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005644/0.395, allocations: 483.6 kB / 1.392 GB, free: 1.168 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.3954, allocations: 249.2 kB / 1.392 GB, free: 0.8945 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3954, allocations: 0 / 1.392 GB, free: 0.8945 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.3956, allocations: 31.97 kB / 1.392 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3956, allocations: 0 / 1.392 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.3956, allocations: 8 kB / 1.392 GB, free: 0.8555 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3956, allocations: 0 / 1.392 GB, free: 0.8555 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3956, allocations: 0 / 1.392 GB, free: 0.8555 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006767/0.3963, allocations: 301.1 kB / 1.392 GB, free: 0.5469 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.3964, allocations: 51.86 kB / 1.392 GB, free: 0.4961 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.3965, allocations: 7.984 kB / 1.392 GB, free: 500 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.3967, allocations: 15.98 kB / 1.392 GB, free: 484 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.3968, allocations: 15.97 kB / 1.392 GB, free: 468 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.3968, allocations: 11.92 kB / 1.393 GB, free: 456 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002843/0.3971, allocations: 227.1 kB / 1.393 GB, free: 232 kB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3971, allocations: 0 / 1.393 GB, free: 232 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004862/0.3975, allocations: 131.7 kB / 1.393 GB, free: 100 kB / 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.000347/0.3979, allocations: 183 kB / 1.393 GB, free: 15.91 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005562/0.3985, allocations: 256.8 kB / 1.393 GB, free: 15.64 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3985, allocations: 0 / 1.393 GB, free: 15.64 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.3986, allocations: 63.89 kB / 1.393 GB, free: 15.58 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009421/0.3996, allocations: 200.5 kB / 1.394 GB, free: 15.39 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.4012, allocations: 0.7682 MB / 1.394 GB, free: 14.58 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.4014, allocations: 192.9 kB / 1.394 GB, free: 14.38 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.4015, allocations: 35.36 kB / 1.394 GB, free: 14.34 MB / 1.092 GB Notification: Performance of SimCode: time 4.31e-07/0.4015, allocations: 0 / 1.394 GB, free: 14.34 MB / 1.092 GB Notification: Performance of Templates: time 0.01029/0.4117, allocations: 6.092 MB / 1.4 GB, free: 8.289 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 800] 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: 12.607724972069263]