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.001575/0.001575, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001772/0.001772, allocations: 214 kB / 22.99 MB, free: 4.957 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.166/3.166, allocations: 0.49 GB / 0.7959 GB, free: 35.32 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.002054/0.002054, allocations: 67.88 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.307, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01691/0.3239, allocations: 13.52 MB / 1.34 GB, free: 3.383 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005467/0.3294, allocations: 3.402 MB / 1.344 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003955/0.3298, allocations: 23.81 kB / 1.344 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000641/0.3304, allocations: 202.7 kB / 1.344 GB, free: 15.75 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.332, allocations: 0.6259 MB / 1.344 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.333, allocations: 411.1 kB / 1.345 GB, free: 14.72 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001463/0.3344, allocations: 1.118 MB / 1.346 GB, free: 13.6 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000449/0.3349, allocations: 265 kB / 1.346 GB, free: 13.33 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.3361, allocations: 446.6 kB / 1.347 GB, free: 12.89 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004767/0.3365, allocations: 318.6 kB / 1.347 GB, free: 12.58 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.28e-05/0.3366, allocations: 36 kB / 1.347 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005812/0.3372, allocations: 223.5 kB / 1.347 GB, free: 12.33 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.3373, allocations: 95.61 kB / 1.347 GB, free: 12.23 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.3375, allocations: 179.2 kB / 1.347 GB, free: 12.06 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.3386, allocations: 0.6111 MB / 1.348 GB, free: 11.45 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3386, allocations: 0 / 1.348 GB, free: 11.45 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3386, allocations: 0 / 1.348 GB, free: 11.45 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.3386, allocations: 0 / 1.348 GB, free: 11.45 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.001318/0.3399, allocations: 0.6932 MB / 1.349 GB, free: 10.71 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3399, allocations: 8.031 kB / 1.349 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.3401, allocations: 48.66 kB / 1.349 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00089/0.341, allocations: 400.8 kB / 1.349 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.341, allocations: 20.88 kB / 1.349 GB, free: 10.22 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.78e-05/0.3411, allocations: 31.88 kB / 1.349 GB, free: 10.19 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000713/0.3418, allocations: 412 kB / 1.35 GB, free: 9.746 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.3418, allocations: 7.953 kB / 1.35 GB, free: 9.738 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.3419, allocations: 8 kB / 1.35 GB, free: 9.73 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.3419, allocations: 8 kB / 1.35 GB, free: 9.723 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/0.3424, allocations: 197.8 kB / 1.35 GB, free: 9.531 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.001783/0.3442, allocations: 1.085 MB / 1.351 GB, free: 8.391 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/0.3447, allocations: 150.6 kB / 1.351 GB, free: 8.234 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.3449, allocations: 60.81 kB / 1.351 GB, free: 8.172 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.345, allocations: 11.98 kB / 1.351 GB, free: 8.16 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003796/0.3454, allocations: 230.1 kB / 1.351 GB, free: 7.898 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.3454, allocations: 0 / 1.351 GB, free: 7.898 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0006954/0.3461, allocations: 243.2 kB / 1.351 GB, free: 7.656 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.3461, allocations: 59.34 kB / 1.352 GB, free: 7.586 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.3465, allocations: 336.4 kB / 1.352 GB, free: 7.25 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.3465, allocations: 29.7 kB / 1.352 GB, free: 7.215 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.3467, allocations: 220.4 kB / 1.352 GB, free: 6.996 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.028e-05/0.3468, allocations: 59.52 kB / 1.352 GB, free: 6.938 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.225e-05/0.3468, allocations: 53.66 kB / 1.352 GB, free: 6.879 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.347, allocations: 338.8 kB / 1.353 GB, free: 6.539 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.3472, allocations: 97.66 kB / 1.353 GB, free: 6.438 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.3475, allocations: 179.1 kB / 1.353 GB, free: 6.223 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004662/0.348, allocations: 248.6 kB / 1.353 GB, free: 5.941 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.348, allocations: 8 kB / 1.353 GB, free: 5.934 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006973/0.3487, allocations: 333.4 kB / 1.353 GB, free: 5.59 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.3487, allocations: 34.02 kB / 1.353 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3487, allocations: 8 kB / 1.353 GB, free: 5.543 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3488, allocations: 0 / 1.353 GB, free: 5.543 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.349, allocations: 59.91 kB / 1.353 GB, free: 5.484 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.349, allocations: 15.86 kB / 1.353 GB, free: 5.469 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.3493, allocations: 31.83 kB / 1.353 GB, free: 5.438 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.3493, allocations: 8 kB / 1.354 GB, free: 5.43 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.0001745/0.3495, allocations: 161.7 kB / 1.354 GB, free: 5.262 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.3495, allocations: 31.8 kB / 1.354 GB, free: 5.23 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005327/0.3501, allocations: 195 kB / 1.354 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.3501, allocations: 3.984 kB / 1.354 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.341e-06/0.3501, allocations: 3.938 kB / 1.354 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005634/0.3506, allocations: 491.6 kB / 1.354 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.3511, allocations: 245.1 kB / 1.355 GB, free: 4.191 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3511, allocations: 0 / 1.355 GB, free: 4.191 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.3513, allocations: 35.97 kB / 1.355 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3513, allocations: 0 / 1.355 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.3513, allocations: 8 kB / 1.355 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3513, allocations: 0 / 1.355 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3513, allocations: 0 / 1.355 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000695/0.352, allocations: 288.6 kB / 1.355 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.3521, allocations: 48.02 kB / 1.355 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.3522, allocations: 3.938 kB / 1.355 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.3524, allocations: 19.98 kB / 1.355 GB, free: 3.777 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.3525, allocations: 19.97 kB / 1.355 GB, free: 3.758 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.3525, allocations: 11.92 kB / 1.355 GB, free: 3.746 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002624/0.3528, allocations: 227.1 kB / 1.355 GB, free: 3.527 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3528, allocations: 0 / 1.355 GB, free: 3.527 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004593/0.3532, allocations: 131.6 kB / 1.355 GB, free: 3.398 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.0003311/0.3536, allocations: 187 kB / 1.356 GB, free: 3.207 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005675/0.3541, allocations: 262.7 kB / 1.356 GB, free: 2.934 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3541, allocations: 0 / 1.356 GB, free: 2.934 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.3543, allocations: 65.92 kB / 1.356 GB, free: 2.871 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009229/0.3553, allocations: 202.2 kB / 1.356 GB, free: 2.68 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.3567, allocations: 0.7303 MB / 1.357 GB, free: 1.922 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.3569, allocations: 196.9 kB / 1.357 GB, free: 1.707 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002179/0.3571, allocations: 59.25 kB / 1.357 GB, free: 1.652 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.3572, allocations: 39.42 kB / 1.357 GB, free: 1.613 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/0.3572, allocations: 0 / 1.357 GB, free: 1.613 MB / 1.045 GB Notification: Performance of Templates: time 0.01414/0.3714, allocations: 7.743 MB / 1.365 GB, free: 10.04 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 -s gbode -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: 8.69782850399497]