Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001124/0.001124, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001608/0.002733, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001114/0.001114, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001287/0.0024, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.979/0.979, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08454/1.064, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.8/1.8, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4825/2.283, allocations: 123.3 MB / 0.728 GB, free: 5.805 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.839e-05, allocations: 2.938 kB / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.006443/0.006462, allocations: 7.317 MB / 0.7365 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003553/0.01001, allocations: 2.524 MB / 0.7389 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003258/0.01034, allocations: 23.81 kB / 0.739 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.01068, allocations: 131.5 kB / 0.7391 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0009472/0.01163, allocations: 0.5255 MB / 0.7396 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006341/0.01226, allocations: 361.1 kB / 0.7399 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001144/0.01341, allocations: 1.083 MB / 0.741 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008573/0.01427, allocations: 302.7 kB / 0.7413 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008204/0.01509, allocations: 0.5835 MB / 0.7419 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.01545, allocations: 263.1 kB / 0.7421 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.01549, allocations: 32.94 kB / 0.7421 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.01579, allocations: 143.7 kB / 0.7423 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.125e-05/0.01587, allocations: 80.7 kB / 0.7423 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.01598, allocations: 119.8 kB / 0.7425 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.01646, allocations: 370.7 kB / 0.7428 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-05/0.01648, allocations: 4.875 kB / 0.7428 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.353e-06/0.01648, allocations: 0 / 0.7428 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.01649, allocations: 1.312 kB / 0.7428 GB, free: 6.734 MB / 0.7136 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.000825/0.01732, allocations: 0.7334 MB / 0.7435 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.01735, allocations: 8.031 kB / 0.7435 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.01755, allocations: 145.9 kB / 0.7437 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.01794, allocations: 306.7 kB / 0.744 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.01795, allocations: 20.88 kB / 0.744 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.018, allocations: 34.69 kB / 0.744 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.0183, allocations: 343.9 kB / 0.7444 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.01831, allocations: 0 / 0.7444 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.01833, allocations: 12 kB / 0.7444 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.01835, allocations: 11.98 kB / 0.7444 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.01847, allocations: 78.25 kB / 0.7445 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009392/0.01941, allocations: 0.9258 MB / 0.7454 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.01957, allocations: 82.47 kB / 0.7454 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.0196, allocations: 20.84 kB / 0.7455 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.936e-05/0.01966, allocations: 14.38 kB / 0.7455 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.01983, allocations: 196.7 kB / 0.7457 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.01983, allocations: 0 / 0.7457 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0001731/0.02, allocations: 109.5 kB / 0.7458 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.02004, allocations: 55.41 kB / 0.7458 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.02022, allocations: 306.2 kB / 0.7461 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.02024, allocations: 29.7 kB / 0.7461 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/0.02033, allocations: 197 kB / 0.7463 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.02036, allocations: 55.52 kB / 0.7464 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/0.02042, allocations: 49.67 kB / 0.7464 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.549e-05/0.0205, allocations: 343.4 kB / 0.7468 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-05/0.02055, allocations: 53.69 kB / 0.7468 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.351e-05/0.02062, allocations: 128.6 kB / 0.7469 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.02076, allocations: 178.6 kB / 0.7471 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.02076, allocations: 0.75 kB / 0.7471 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001961/0.02095, allocations: 213 kB / 0.7473 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.02099, allocations: 37.69 kB / 0.7473 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.021, allocations: 0 / 0.7473 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.02101, allocations: 4 kB / 0.7473 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.02119, allocations: 63.91 kB / 0.7474 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.0212, allocations: 4 kB / 0.7474 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.02132, allocations: 34.27 kB / 0.7474 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.02133, allocations: 12 kB / 0.7474 GB, free: 1.637 MB / 0.7136 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 9.721e-05/0.02143, allocations: 132.5 kB / 0.7476 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.02146, allocations: 23.97 kB / 0.7476 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.02161, allocations: 108.5 kB / 0.7477 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.02161, allocations: 0.9375 kB / 0.7477 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.02161, allocations: 0 / 0.7477 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001561/0.02177, allocations: 411 kB / 0.7481 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.02197, allocations: 176.5 kB / 0.7483 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.02197, allocations: 2.781 kB / 0.7483 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.02207, allocations: 35.97 kB / 0.7483 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.02214, allocations: 39.73 kB / 0.7483 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.02214, allocations: 3.938 kB / 0.7483 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.02215, allocations: 4 kB / 0.7483 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.02215, allocations: 4 kB / 0.7483 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.02215, allocations: 0 / 0.7483 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.02232, allocations: 158.5 kB / 0.7485 GB, free: 432 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.02235, allocations: 4 kB / 0.7485 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.314e-05/0.02244, allocations: 15.98 kB / 0.7485 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.02248, allocations: 11.97 kB / 0.7485 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.02249, allocations: 11.98 kB / 0.7485 GB, free: 388 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000105/0.0226, allocations: 107.5 kB / 0.7486 GB, free: 276 kB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.0226, allocations: 2.188 kB / 0.7486 GB, free: 276 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002415/0.02284, allocations: 115.8 kB / 0.7488 GB, free: 160 kB / 0.7136 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.0001827/0.02302, allocations: 130.3 kB / 0.7489 GB, free: 24 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001817/0.0232, allocations: 181.5 kB / 0.7491 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.02321, allocations: 8 kB / 0.7491 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.229e-05/0.02327, allocations: 45.75 kB / 0.7491 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.02371, allocations: 239.4 kB / 0.7493 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.02628, allocations: 0.5889 MB / 0.7499 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.063e-05/0.02633, allocations: 96.59 kB / 0.75 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001727/0.0265, allocations: 53.53 kB / 0.7501 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.02675, allocations: 178 kB / 0.7502 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/0.02675, allocations: 0.9062 kB / 0.7502 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of Templates: time 0.009874/0.03663, allocations: 7.533 MB / 0.7576 GB, free: 7.367 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel/Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1122374115511775]