Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 114.3 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 197.2 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.544/2.544, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.91 kB / 1.057 GB, free: 1.98 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3202, allocations: 160.7 MB / 1.214 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01824/0.3385, allocations: 14.55 MB / 1.228 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006065/0.3445, allocations: 3.655 MB / 1.232 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000666/0.3452, allocations: 23.88 kB / 1.232 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000757/0.346, allocations: 210.7 kB / 1.232 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.3477, allocations: 0.6103 MB / 1.233 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.3488, allocations: 402.8 kB / 1.233 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001583/0.3504, allocations: 1.087 MB / 1.234 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000462/0.3509, allocations: 276.8 kB / 1.234 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.352, allocations: 396.5 kB / 1.235 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005649/0.3526, allocations: 322.6 kB / 1.235 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.802e-05/0.3527, allocations: 36 kB / 1.235 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007331/0.3534, allocations: 271.5 kB / 1.235 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.3536, allocations: 91.62 kB / 1.235 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.3538, allocations: 215 kB / 1.236 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.3548, allocations: 0.5955 MB / 1.236 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3548, allocations: 0 / 1.236 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3548, allocations: 0 / 1.236 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.3548, allocations: 0 / 1.236 GB, free: 10.17 MB / 0.9825 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.001388/0.3562, allocations: 0.7608 MB / 1.237 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.3563, allocations: 8.031 kB / 1.237 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.3565, allocations: 52.66 kB / 1.237 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008855/0.3573, allocations: 475.8 kB / 1.237 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.3574, allocations: 20.94 kB / 1.237 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.95e-05/0.3574, allocations: 27.94 kB / 1.238 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006199/0.358, allocations: 314.2 kB / 1.238 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.3581, allocations: 0 / 1.238 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.3581, allocations: 12 kB / 1.238 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.3581, allocations: 8 kB / 1.238 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004882/0.3586, allocations: 190.1 kB / 1.238 GB, free: 8.211 MB / 0.9825 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.002102/0.3607, allocations: 1.493 MB / 1.239 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004594/0.3612, allocations: 153.2 kB / 1.24 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.3613, allocations: 60.83 kB / 1.24 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.3615, allocations: 85.09 kB / 1.24 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003296/0.3619, allocations: 131.3 kB / 1.24 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.3619, allocations: 0 / 1.24 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0006932/0.3625, allocations: 240 kB / 1.24 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.3626, allocations: 59.34 kB / 1.24 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.363, allocations: 349.6 kB / 1.24 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.3631, allocations: 37.7 kB / 1.241 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.3633, allocations: 212.1 kB / 1.241 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.833e-05/0.3634, allocations: 55.53 kB / 1.241 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-05/0.3635, allocations: 57.66 kB / 1.241 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3637, allocations: 342.8 kB / 1.241 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.3639, allocations: 67.95 kB / 1.241 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.3642, allocations: 146.4 kB / 1.241 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.3646, allocations: 256.6 kB / 1.242 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3646, allocations: 7.938 kB / 1.242 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006797/0.3653, allocations: 306.8 kB / 1.242 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/0.3654, allocations: 33.7 kB / 1.242 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3654, allocations: 320 / 1.242 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3654, allocations: 8 kB / 1.242 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.3657, allocations: 63.83 kB / 1.242 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.3657, allocations: 7.938 kB / 1.242 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.3659, allocations: 31.88 kB / 1.242 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.366, allocations: 12 kB / 1.242 GB, free: 3.746 MB / 0.9825 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.0002151/0.3662, allocations: 161.7 kB / 1.242 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.3663, allocations: 35.77 kB / 1.242 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.3668, allocations: 196.5 kB / 1.242 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.3668, allocations: 7.938 kB / 1.242 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3668, allocations: 0 / 1.242 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005583/0.3673, allocations: 486.8 kB / 1.243 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006023/0.3679, allocations: 353.3 kB / 1.243 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3679, allocations: 3.984 kB / 1.243 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.3681, allocations: 31.98 kB / 1.243 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3681, allocations: 0 / 1.243 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.3681, allocations: 8 kB / 1.243 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3681, allocations: 3.938 kB / 1.243 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3681, allocations: 0 / 1.243 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006607/0.3688, allocations: 284.7 kB / 1.244 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.3689, allocations: 128.9 kB / 1.244 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.369, allocations: 0 / 1.244 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.3692, allocations: 27.86 kB / 1.244 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/0.3693, allocations: 15.98 kB / 1.244 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.3693, allocations: 11.98 kB / 1.244 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002982/0.3696, allocations: 243.2 kB / 1.244 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3696, allocations: 0 / 1.244 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004902/0.3701, allocations: 123.7 kB / 1.244 GB, free: 1.484 MB / 0.9825 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.0003917/0.3705, allocations: 199.1 kB / 1.244 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005332/0.3711, allocations: 225.5 kB / 1.244 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3711, allocations: 3.938 kB / 1.244 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.3712, allocations: 64.52 kB / 1.245 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009516/0.3722, allocations: 203.5 kB / 1.245 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.3738, allocations: 0.7785 MB / 1.246 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.3743, allocations: 0.7879 MB / 1.246 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.3744, allocations: 43.36 kB / 1.246 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/0.3744, allocations: 0 / 1.246 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of Templates: time 0.0111/0.3855, allocations: 6.201 MB / 1.252 GB, free: 8.973 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.20771031989716]