Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001755/0.001755, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002463/0.002463, allocations: 212.4 kB / 22.24 MB, free: 5.262 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.717/2.717, allocations: 476 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [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.002111/0.002111, allocations: 65.14 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3099, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01965/0.3295, allocations: 13.49 MB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007671/0.3372, allocations: 3.378 MB / 1.299 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007772/0.338, allocations: 27.75 kB / 1.299 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009497/0.3389, allocations: 198.7 kB / 1.299 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.3413, allocations: 0.6259 MB / 1.3 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.3426, allocations: 403.5 kB / 1.3 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00206/0.3447, allocations: 1.11 MB / 1.301 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006538/0.3453, allocations: 265 kB / 1.302 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/0.3466, allocations: 403.1 kB / 1.302 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006285/0.3473, allocations: 306.6 kB / 1.302 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.434e-05/0.3474, allocations: 32 kB / 1.302 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007221/0.3481, allocations: 219.5 kB / 1.302 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.3483, allocations: 103.5 kB / 1.303 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.3486, allocations: 171.2 kB / 1.303 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.3498, allocations: 0.6127 MB / 1.303 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.3498, allocations: 3.984 kB / 1.303 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3498, allocations: 0 / 1.303 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.842e-05/0.3498, allocations: 0 / 1.303 GB, free: 7.082 MB / 0.9981 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.00147/0.3513, allocations: 0.6777 MB / 1.304 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3513, allocations: 12.03 kB / 1.304 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.095e-05/0.3514, allocations: 62.72 kB / 1.304 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002454/0.3517, allocations: 48.66 kB / 1.304 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009472/0.3526, allocations: 412.7 kB / 1.305 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.3526, allocations: 24.62 kB / 1.305 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.3527, allocations: 24 kB / 1.305 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007208/0.3534, allocations: 412 kB / 1.305 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.3534, allocations: 0 / 1.305 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.3535, allocations: 12 kB / 1.305 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.3535, allocations: 8 kB / 1.305 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005199/0.354, allocations: 193.8 kB / 1.305 GB, free: 5.105 MB / 0.9981 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.002026/0.356, allocations: 1.162 MB / 1.306 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.3565, allocations: 150.6 kB / 1.306 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.3567, allocations: 64.81 kB / 1.307 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.3568, allocations: 8 kB / 1.307 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003951/0.3572, allocations: 232.5 kB / 1.307 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.3572, allocations: 0 / 1.307 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007147/0.3579, allocations: 237.2 kB / 1.307 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.358, allocations: 55.41 kB / 1.307 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.3584, allocations: 357.6 kB / 1.307 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.3585, allocations: 29.7 kB / 1.307 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.3587, allocations: 216.1 kB / 1.308 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.002e-05/0.3588, allocations: 59.56 kB / 1.308 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.703e-05/0.3589, allocations: 53.66 kB / 1.308 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.3591, allocations: 346.8 kB / 1.308 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.3593, allocations: 97.66 kB / 1.308 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.3596, allocations: 176.8 kB / 1.308 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.3601, allocations: 244.8 kB / 1.309 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3601, allocations: 4 kB / 1.309 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007718/0.3609, allocations: 336.5 kB / 1.309 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/0.3609, allocations: 37.7 kB / 1.309 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3609, allocations: 7.984 kB / 1.309 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.3609, allocations: 7.938 kB / 1.309 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.3612, allocations: 56.22 kB / 1.309 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.3612, allocations: 4 kB / 1.309 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.3615, allocations: 39.77 kB / 1.309 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.3615, allocations: 12 kB / 1.309 GB, free: 0.9023 MB / 0.9981 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.0002045/0.3617, allocations: 153.8 kB / 1.309 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.238e-05/0.3618, allocations: 39.77 kB / 1.309 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005146/0.3623, allocations: 200.4 kB / 1.309 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3623, allocations: 3.938 kB / 1.309 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3623, allocations: 3.938 kB / 1.309 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005966/0.3629, allocations: 491 kB / 1.31 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004943/0.3634, allocations: 288.6 kB / 1.31 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3634, allocations: 0 / 1.31 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.3636, allocations: 35.97 kB / 1.31 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3636, allocations: 0 / 1.31 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3636, allocations: 0 / 1.31 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3636, allocations: 7.938 kB / 1.31 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3636, allocations: 0 / 1.31 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007048/0.3643, allocations: 296.5 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.3645, allocations: 51.77 kB / 1.311 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/0.3645, allocations: 8 kB / 1.311 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.3648, allocations: 15.92 kB / 1.311 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.3648, allocations: 19.97 kB / 1.311 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.3648, allocations: 11.98 kB / 1.311 GB, free: 15.15 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003105/0.3652, allocations: 247.2 kB / 1.311 GB, free: 14.91 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3652, allocations: 0 / 1.311 GB, free: 14.91 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005236/0.3657, allocations: 127.7 kB / 1.311 GB, free: 14.79 MB / 1.014 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.001393/0.3671, allocations: 0.9089 MB / 1.312 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006032/0.3677, allocations: 247.7 kB / 1.312 GB, free: 13.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3677, allocations: 0 / 1.312 GB, free: 13.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.3679, allocations: 70.98 kB / 1.312 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.3689, allocations: 216.3 kB / 1.312 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00538/0.3743, allocations: 3.184 MB / 1.315 GB, free: 9.965 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.3745, allocations: 189.8 kB / 1.316 GB, free: 9.758 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003605/0.3749, allocations: 63.17 kB / 1.316 GB, free: 9.699 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.3751, allocations: 123.4 kB / 1.316 GB, free: 9.578 MB / 1.014 GB Notification: Performance of SimCode: time 1.813e-06/0.3751, allocations: 0 / 1.316 GB, free: 9.578 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04643/0.4216, allocations: 11.56 MB / 1.327 GB, free: 14.33 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.69, allocations: 2.5 kB / 1.327 GB, free: 14.33 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.22286999365315]