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.001474/0.001474, allocations: 102.1 kB / 19.7 MB, free: 2.25 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.001674/0.001674, allocations: 219.7 kB / 23.01 MB, free: 5.082 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.315/1.315, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.895/2.895, allocations: 0.49 GB / 0.7958 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.00185/0.00185, allocations: 71.59 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2853, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01604/0.3013, allocations: 14.81 MB / 1.342 GB, free: 2.602 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00507/0.3064, allocations: 3.682 MB / 1.345 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003037/0.3067, allocations: 23.81 kB / 1.345 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005495/0.3072, allocations: 218.6 kB / 1.345 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.3085, allocations: 0.622 MB / 1.346 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008335/0.3093, allocations: 418.3 kB / 1.346 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001312/0.3106, allocations: 1.125 MB / 1.348 GB, free: 12.51 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003738/0.311, allocations: 257 kB / 1.348 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.312, allocations: 442.6 kB / 1.348 GB, free: 11.82 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000437/0.3124, allocations: 330.6 kB / 1.348 GB, free: 11.5 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.038e-05/0.3125, allocations: 36 kB / 1.349 GB, free: 11.46 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005049/0.313, allocations: 287.4 kB / 1.349 GB, free: 11.18 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.3131, allocations: 99.59 kB / 1.349 GB, free: 11.08 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002206/0.3133, allocations: 215 kB / 1.349 GB, free: 10.87 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008074/0.3141, allocations: 0.615 MB / 1.35 GB, free: 10.25 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.3141, allocations: 4 kB / 1.35 GB, free: 10.25 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3141, allocations: 0 / 1.35 GB, free: 10.25 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.3141, allocations: 0 / 1.35 GB, free: 10.25 MB / 1.045 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.001122/0.3153, allocations: 0.6869 MB / 1.35 GB, free: 9.527 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.3153, allocations: 8.031 kB / 1.35 GB, free: 9.52 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.3155, allocations: 60.59 kB / 1.35 GB, free: 9.461 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000717/0.3162, allocations: 408.7 kB / 1.351 GB, free: 9.035 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.3162, allocations: 16.88 kB / 1.351 GB, free: 9.02 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.3163, allocations: 35.89 kB / 1.351 GB, free: 8.984 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005663/0.3168, allocations: 313.2 kB / 1.351 GB, free: 8.66 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.3169, allocations: 4 kB / 1.351 GB, free: 8.656 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.3169, allocations: 8 kB / 1.351 GB, free: 8.648 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.3169, allocations: 8 kB / 1.351 GB, free: 8.641 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.3174, allocations: 193.8 kB / 1.351 GB, free: 8.453 MB / 1.045 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.001808/0.3192, allocations: 1.429 MB / 1.353 GB, free: 6.906 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.3196, allocations: 146.6 kB / 1.353 GB, free: 6.754 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.3197, allocations: 64.81 kB / 1.353 GB, free: 6.688 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.475e-05/0.3198, allocations: 8 kB / 1.353 GB, free: 6.68 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002786/0.3201, allocations: 131.3 kB / 1.353 GB, free: 6.539 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.3201, allocations: 0 / 1.353 GB, free: 6.539 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0006015/0.3207, allocations: 233.2 kB / 1.353 GB, free: 6.305 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.3208, allocations: 63.33 kB / 1.353 GB, free: 6.23 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.3211, allocations: 345.7 kB / 1.354 GB, free: 5.887 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.3212, allocations: 33.7 kB / 1.354 GB, free: 5.848 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.3213, allocations: 220.1 kB / 1.354 GB, free: 5.629 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.3214, allocations: 55.58 kB / 1.354 GB, free: 5.574 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.889e-05/0.3215, allocations: 57.59 kB / 1.354 GB, free: 5.512 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3216, allocations: 338.8 kB / 1.354 GB, free: 5.172 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.3218, allocations: 71.94 kB / 1.354 GB, free: 5.102 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.3221, allocations: 145.4 kB / 1.355 GB, free: 4.926 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.3225, allocations: 247.9 kB / 1.355 GB, free: 4.645 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3225, allocations: 0 / 1.355 GB, free: 4.645 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006097/0.3231, allocations: 312.4 kB / 1.355 GB, free: 4.328 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.3231, allocations: 29.7 kB / 1.355 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3231, allocations: 4.312 kB / 1.355 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3232, allocations: 8 kB / 1.355 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.3234, allocations: 59.84 kB / 1.355 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.3234, allocations: 7.938 kB / 1.355 GB, free: 4.215 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.3236, allocations: 35.77 kB / 1.355 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.3236, allocations: 15.98 kB / 1.355 GB, free: 4.164 MB / 1.045 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.0001647/0.3238, allocations: 153.8 kB / 1.355 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.3239, allocations: 35.77 kB / 1.355 GB, free: 3.969 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004546/0.3243, allocations: 202.8 kB / 1.356 GB, free: 3.766 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3243, allocations: 3.938 kB / 1.356 GB, free: 3.762 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3243, allocations: 0 / 1.356 GB, free: 3.762 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005137/0.3248, allocations: 491.6 kB / 1.356 GB, free: 3.195 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.3252, allocations: 324.5 kB / 1.356 GB, free: 2.836 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3253, allocations: 0 / 1.356 GB, free: 2.836 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.3254, allocations: 39.97 kB / 1.356 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3254, allocations: 0 / 1.356 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3254, allocations: 0 / 1.356 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.3254, allocations: 7.938 kB / 1.356 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3254, allocations: 4 kB / 1.356 GB, free: 2.785 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005949/0.326, allocations: 286.9 kB / 1.357 GB, free: 2.488 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.3261, allocations: 51.83 kB / 1.357 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.3262, allocations: 4 kB / 1.357 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.3264, allocations: 19.91 kB / 1.357 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.3265, allocations: 15.98 kB / 1.357 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.3265, allocations: 7.984 kB / 1.357 GB, free: 2.391 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002658/0.3267, allocations: 251.1 kB / 1.357 GB, free: 2.148 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3267, allocations: 0 / 1.357 GB, free: 2.148 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004376/0.3272, allocations: 135.6 kB / 1.357 GB, free: 2.016 MB / 1.045 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.0003063/0.3275, allocations: 191 kB / 1.357 GB, free: 1.816 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004891/0.328, allocations: 215.2 kB / 1.358 GB, free: 1.594 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.328, allocations: 4 kB / 1.358 GB, free: 1.59 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.3282, allocations: 63.89 kB / 1.358 GB, free: 1.527 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009014/0.3291, allocations: 209.2 kB / 1.358 GB, free: 1.332 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.3304, allocations: 0.7723 MB / 1.359 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.3309, allocations: 0.7956 MB / 1.359 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.507e-05/0.331, allocations: 43.38 kB / 1.359 GB, free: 15.66 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.331, allocations: 0 / 1.359 GB, free: 15.66 MB / 1.061 GB Notification: Performance of Templates: time 0.009244/0.3402, allocations: 6.172 MB / 1.365 GB, free: 9.543 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.799306942004478]