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.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.001459/0.001459, 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.001626/0.001626, allocations: 209.3 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.337/1.337, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.975/2.975, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_latest_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.001946/0.001946, allocations: 75.55 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2978, allocations: 181.8 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01577/0.3136, allocations: 13.51 MB / 1.377 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005252/0.3188, allocations: 3.401 MB / 1.38 GB, free: 13.09 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004894/0.3193, allocations: 31.75 kB / 1.38 GB, free: 13.05 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006416/0.32, allocations: 190.8 kB / 1.38 GB, free: 12.87 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.3216, allocations: 0.6298 MB / 1.381 GB, free: 12.23 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009786/0.3226, allocations: 400.2 kB / 1.381 GB, free: 11.85 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001455/0.324, allocations: 1.114 MB / 1.382 GB, free: 10.73 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004243/0.3244, allocations: 256.9 kB / 1.382 GB, free: 10.47 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.3256, allocations: 452.9 kB / 1.383 GB, free: 10.03 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005079/0.3261, allocations: 306.6 kB / 1.383 GB, free: 9.727 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.94e-05/0.3262, allocations: 32 kB / 1.383 GB, free: 9.695 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004718/0.3266, allocations: 215.6 kB / 1.383 GB, free: 9.484 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.3267, allocations: 99.55 kB / 1.383 GB, free: 9.387 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.327, allocations: 175.2 kB / 1.384 GB, free: 9.215 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008419/0.3278, allocations: 0.6072 MB / 1.384 GB, free: 8.605 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3278, allocations: 0 / 1.384 GB, free: 8.605 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3278, allocations: 4 kB / 1.384 GB, free: 8.602 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.3278, allocations: 4 kB / 1.384 GB, free: 8.598 MB / 1.076 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.001168/0.329, allocations: 0.6816 MB / 1.385 GB, free: 7.879 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.329, allocations: 8.031 kB / 1.385 GB, free: 7.871 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.358e-05/0.3291, allocations: 66.72 kB / 1.385 GB, free: 7.797 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.3293, allocations: 48.66 kB / 1.385 GB, free: 7.75 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007624/0.33, allocations: 404.8 kB / 1.385 GB, free: 7.332 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.3301, allocations: 28.56 kB / 1.385 GB, free: 7.305 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-05/0.3301, allocations: 31.94 kB / 1.385 GB, free: 7.273 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006429/0.3308, allocations: 408.1 kB / 1.386 GB, free: 6.832 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.3308, allocations: 0 / 1.386 GB, free: 6.832 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.3308, allocations: 12 kB / 1.386 GB, free: 6.82 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.3308, allocations: 8 kB / 1.386 GB, free: 6.812 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.3313, allocations: 197.8 kB / 1.386 GB, free: 6.613 MB / 1.076 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.001762/0.3331, allocations: 1.15 MB / 1.387 GB, free: 5.402 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.3335, allocations: 146.6 kB / 1.387 GB, free: 5.25 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.3337, allocations: 64.81 kB / 1.387 GB, free: 5.184 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.3338, allocations: 12 kB / 1.387 GB, free: 5.172 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000355/0.3342, allocations: 238.3 kB / 1.388 GB, free: 4.902 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.3342, allocations: 0 / 1.388 GB, free: 4.902 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0006469/0.3348, allocations: 231.8 kB / 1.388 GB, free: 4.672 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.3349, allocations: 55.39 kB / 1.388 GB, free: 4.605 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.3353, allocations: 349.7 kB / 1.388 GB, free: 4.262 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.3353, allocations: 33.7 kB / 1.388 GB, free: 4.223 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.3355, allocations: 224.1 kB / 1.388 GB, free: 4 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.3355, allocations: 63.45 kB / 1.389 GB, free: 3.938 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.692e-05/0.3356, allocations: 57.64 kB / 1.389 GB, free: 3.875 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3358, allocations: 338.8 kB / 1.389 GB, free: 3.535 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.336, allocations: 109.6 kB / 1.389 GB, free: 3.422 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.3363, allocations: 175.6 kB / 1.389 GB, free: 3.211 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.3367, allocations: 248.9 kB / 1.389 GB, free: 2.93 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3367, allocations: 0 / 1.389 GB, free: 2.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000628/0.3373, allocations: 347.1 kB / 1.39 GB, free: 2.574 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.3374, allocations: 36.2 kB / 1.39 GB, free: 2.535 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3374, allocations: 4 kB / 1.39 GB, free: 2.531 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3374, allocations: 7.938 kB / 1.39 GB, free: 2.523 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.3376, allocations: 59.89 kB / 1.39 GB, free: 2.465 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3377, allocations: 4.312 kB / 1.39 GB, free: 2.461 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.3379, allocations: 35.83 kB / 1.39 GB, free: 2.426 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.3379, allocations: 12 kB / 1.39 GB, free: 2.414 MB / 1.076 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.00017/0.3381, allocations: 161.7 kB / 1.39 GB, free: 2.246 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.3382, allocations: 31.81 kB / 1.39 GB, free: 2.215 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.3386, allocations: 200.3 kB / 1.39 GB, free: 2.012 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.3386, allocations: 3.938 kB / 1.39 GB, free: 2.008 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3386, allocations: 4 kB / 1.39 GB, free: 2.004 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005196/0.3392, allocations: 487.7 kB / 1.391 GB, free: 1.441 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.3396, allocations: 284.6 kB / 1.391 GB, free: 1.121 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3396, allocations: 4 kB / 1.391 GB, free: 1.117 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.3397, allocations: 27.92 kB / 1.391 GB, free: 1.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3397, allocations: 4 kB / 1.391 GB, free: 1.086 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.3397, allocations: 7.984 kB / 1.391 GB, free: 1.078 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3398, allocations: 3.938 kB / 1.391 GB, free: 1.074 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3398, allocations: 0 / 1.391 GB, free: 1.074 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006219/0.3404, allocations: 287 kB / 1.391 GB, free: 0.7773 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.3405, allocations: 51.77 kB / 1.391 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.3406, allocations: 3.984 kB / 1.391 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.3408, allocations: 19.92 kB / 1.391 GB, free: 0.7031 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.3408, allocations: 19.97 kB / 1.391 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.3409, allocations: 11.94 kB / 1.391 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002714/0.3411, allocations: 251.1 kB / 1.392 GB, free: 436 kB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3411, allocations: 4 kB / 1.392 GB, free: 432 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004297/0.3416, allocations: 123.8 kB / 1.392 GB, free: 308 kB / 1.076 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.00114/0.3427, allocations: 0.905 MB / 1.393 GB, free: 15.36 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005134/0.3432, allocations: 253.3 kB / 1.393 GB, free: 15.1 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3432, allocations: 128 / 1.393 GB, free: 15.1 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.3434, allocations: 66.48 kB / 1.393 GB, free: 15.04 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009248/0.3443, allocations: 215 kB / 1.393 GB, free: 14.84 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004392/0.3487, allocations: 3.171 MB / 1.396 GB, free: 11.49 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.3489, allocations: 193.6 kB / 1.397 GB, free: 11.28 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002498/0.3491, allocations: 71.17 kB / 1.397 GB, free: 11.21 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.3493, allocations: 115.4 kB / 1.397 GB, free: 11.11 MB / 1.092 GB Notification: Performance of SimCode: time 4.91e-07/0.3493, allocations: 4 kB / 1.397 GB, free: 11.1 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04183/0.3912, allocations: 11.56 MB / 1.408 GB, free: 15.84 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.89, allocations: 7.359 kB / 1.408 GB, free: 15.84 MB / 1.107 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/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: 16.95884331688285]