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.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.001235/0.001235, allocations: 112.7 kB / 18.94 MB, free: 2.953 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.001377/0.001377, allocations: 188.7 kB / 22.23 MB, free: 5.137 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.335/1.335, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.984/2.984, allocations: 0.4893 GB / 0.7884 GB, free: 33.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_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: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 66.45 kB / 1.145 GB, free: 30.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3226, allocations: 174.9 MB / 1.316 GB, free: 9.734 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01593/0.3385, allocations: 14.69 MB / 1.33 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00545/0.3439, allocations: 3.689 MB / 1.334 GB, free: 7.285 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004569/0.3444, allocations: 23.81 kB / 1.334 GB, free: 7.262 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000625/0.345, allocations: 210.7 kB / 1.334 GB, free: 7.055 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.3465, allocations: 0.6298 MB / 1.335 GB, free: 6.422 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008942/0.3473, allocations: 414 kB / 1.335 GB, free: 6.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.3487, allocations: 1.122 MB / 1.336 GB, free: 4.891 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004022/0.3491, allocations: 264.9 kB / 1.337 GB, free: 4.625 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.3501, allocations: 447.7 kB / 1.337 GB, free: 4.191 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004103/0.3506, allocations: 326.5 kB / 1.337 GB, free: 3.871 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.372e-05/0.3506, allocations: 32 kB / 1.337 GB, free: 3.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006276/0.3512, allocations: 267.5 kB / 1.338 GB, free: 3.578 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.3514, allocations: 107.5 kB / 1.338 GB, free: 3.473 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.3516, allocations: 218.9 kB / 1.338 GB, free: 3.258 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009617/0.3526, allocations: 0.5916 MB / 1.338 GB, free: 2.664 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3526, allocations: 4 kB / 1.338 GB, free: 2.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3526, allocations: 0 / 1.338 GB, free: 2.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.3526, allocations: 0 / 1.338 GB, free: 2.66 MB / 1.029 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.001335/0.3539, allocations: 0.6777 MB / 1.339 GB, free: 1.945 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.354, allocations: 8.031 kB / 1.339 GB, free: 1.938 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.3542, allocations: 52.64 kB / 1.339 GB, free: 1.887 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008093/0.355, allocations: 404.8 kB / 1.34 GB, free: 1.469 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.355, allocations: 20.88 kB / 1.34 GB, free: 1.449 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.3551, allocations: 35.88 kB / 1.34 GB, free: 1.414 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006189/0.3557, allocations: 309.2 kB / 1.34 GB, free: 1.094 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.3557, allocations: 0 / 1.34 GB, free: 1.094 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.3558, allocations: 12 kB / 1.34 GB, free: 1.082 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.3558, allocations: 8 kB / 1.34 GB, free: 1.074 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/0.3562, allocations: 197.8 kB / 1.34 GB, free: 0.875 MB / 1.029 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.002052/0.3583, allocations: 1.425 MB / 1.342 GB, free: 15.34 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.3588, allocations: 150.6 kB / 1.342 GB, free: 15.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.359, allocations: 64.81 kB / 1.342 GB, free: 15.11 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.3591, allocations: 8 kB / 1.342 GB, free: 15.11 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003272/0.3594, allocations: 127.3 kB / 1.342 GB, free: 14.97 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.3594, allocations: 0 / 1.342 GB, free: 14.97 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0006825/0.3601, allocations: 231.1 kB / 1.342 GB, free: 14.74 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.3601, allocations: 67.28 kB / 1.342 GB, free: 14.66 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.3605, allocations: 349.6 kB / 1.342 GB, free: 14.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.3606, allocations: 29.7 kB / 1.342 GB, free: 14.28 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.3607, allocations: 232 kB / 1.343 GB, free: 14.05 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.553e-05/0.3608, allocations: 47.59 kB / 1.343 GB, free: 14 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.009e-05/0.3609, allocations: 49.7 kB / 1.343 GB, free: 13.95 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.361, allocations: 346.8 kB / 1.343 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.3612, allocations: 67.95 kB / 1.343 GB, free: 13.54 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.3615, allocations: 149.3 kB / 1.343 GB, free: 13.36 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.3619, allocations: 240.8 kB / 1.344 GB, free: 13.08 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3619, allocations: 4 kB / 1.344 GB, free: 13.08 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005754/0.3624, allocations: 316.5 kB / 1.344 GB, free: 12.76 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.3625, allocations: 29.7 kB / 1.344 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3625, allocations: 7.984 kB / 1.344 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3625, allocations: 4.312 kB / 1.344 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.3627, allocations: 71.84 kB / 1.344 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3627, allocations: 11.92 kB / 1.344 GB, free: 12.63 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.363, allocations: 35.77 kB / 1.344 GB, free: 12.59 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.363, allocations: 8 kB / 1.344 GB, free: 12.59 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.0001651/0.3632, allocations: 163.1 kB / 1.344 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/0.3632, allocations: 35.8 kB / 1.344 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.3637, allocations: 196.4 kB / 1.344 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3637, allocations: 7.875 kB / 1.344 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3637, allocations: 0 / 1.344 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004931/0.3642, allocations: 486 kB / 1.345 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.3646, allocations: 332.4 kB / 1.345 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3646, allocations: 0 / 1.345 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.3648, allocations: 27.98 kB / 1.345 GB, free: 11.22 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3648, allocations: 4 kB / 1.345 GB, free: 11.22 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3648, allocations: 0 / 1.345 GB, free: 11.22 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.3648, allocations: 7.938 kB / 1.345 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3648, allocations: 3.984 kB / 1.345 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005802/0.3654, allocations: 280.7 kB / 1.346 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.3655, allocations: 47.78 kB / 1.346 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.3655, allocations: 8 kB / 1.346 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.3658, allocations: 27.84 kB / 1.346 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.3658, allocations: 11.98 kB / 1.346 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.3658, allocations: 11.98 kB / 1.346 GB, free: 10.81 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002559/0.3661, allocations: 247.2 kB / 1.346 GB, free: 10.57 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3661, allocations: 0 / 1.346 GB, free: 10.57 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004102/0.3665, allocations: 127.7 kB / 1.346 GB, free: 10.44 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.0003186/0.3668, allocations: 190.9 kB / 1.346 GB, free: 10.24 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004987/0.3673, allocations: 215.2 kB / 1.346 GB, free: 10.02 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3673, allocations: 3.938 kB / 1.346 GB, free: 10.02 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.3675, allocations: 71.88 kB / 1.346 GB, free: 9.945 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008183/0.3683, allocations: 217.2 kB / 1.347 GB, free: 9.742 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.3696, allocations: 0.7471 MB / 1.347 GB, free: 8.969 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.37, allocations: 0.7918 MB / 1.348 GB, free: 8.148 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002123/0.3702, allocations: 63.25 kB / 1.348 GB, free: 8.086 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.294e-05/0.3703, allocations: 35.42 kB / 1.348 GB, free: 8.051 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.3703, allocations: 4 kB / 1.348 GB, free: 8.047 MB / 1.045 GB Notification: Performance of Templates: time 0.01286/0.3832, allocations: 7.339 MB / 1.355 GB, free: 0.8047 MB / 1.045 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/jenkins/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: 8.462390342727304]