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.001294/0.001294, 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.001437/0.001437, allocations: 210.5 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.381/1.381, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 3.073/3.073, 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.001975/0.001975, allocations: 67.36 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3082, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01663/0.3248, allocations: 13.5 MB / 1.377 GB, free: 484 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005634/0.3304, allocations: 3.404 MB / 1.38 GB, free: 13.06 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004727/0.3309, allocations: 27.75 kB / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007073/0.3316, allocations: 198.7 kB / 1.38 GB, free: 12.84 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.3332, allocations: 0.6298 MB / 1.381 GB, free: 12.21 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008734/0.3341, allocations: 396.6 kB / 1.381 GB, free: 11.82 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001329/0.3354, allocations: 1.118 MB / 1.382 GB, free: 10.7 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004052/0.3358, allocations: 253 kB / 1.382 GB, free: 10.45 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.3369, allocations: 453 kB / 1.383 GB, free: 10 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004169/0.3373, allocations: 302.6 kB / 1.383 GB, free: 9.707 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.754e-05/0.3374, allocations: 32 kB / 1.383 GB, free: 9.676 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004502/0.3378, allocations: 219.5 kB / 1.383 GB, free: 9.461 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.338, allocations: 95.61 kB / 1.383 GB, free: 9.367 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.3382, allocations: 179.2 kB / 1.384 GB, free: 9.191 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000802/0.339, allocations: 0.615 MB / 1.384 GB, free: 8.574 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.339, allocations: 0 / 1.384 GB, free: 8.574 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.372e-06/0.339, allocations: 0 / 1.384 GB, free: 8.574 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.339, allocations: 4 kB / 1.384 GB, free: 8.57 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.00114/0.3401, allocations: 0.6777 MB / 1.385 GB, free: 7.855 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3402, allocations: 8.031 kB / 1.385 GB, free: 7.848 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.144e-05/0.3402, allocations: 62.72 kB / 1.385 GB, free: 7.777 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.3404, allocations: 52.66 kB / 1.385 GB, free: 7.727 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007359/0.3411, allocations: 420.6 kB / 1.385 GB, free: 7.293 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3412, allocations: 20.62 kB / 1.385 GB, free: 7.273 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.3412, allocations: 28 kB / 1.385 GB, free: 7.246 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000625/0.3418, allocations: 412.1 kB / 1.386 GB, free: 6.801 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.3418, allocations: 0 / 1.386 GB, free: 6.801 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.3419, allocations: 15.94 kB / 1.386 GB, free: 6.785 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.3419, allocations: 8 kB / 1.386 GB, free: 6.777 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004536/0.3424, allocations: 189.8 kB / 1.386 GB, free: 6.586 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.001689/0.344, allocations: 1.15 MB / 1.387 GB, free: 5.375 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.3445, allocations: 150.6 kB / 1.387 GB, free: 5.219 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.3446, allocations: 68.75 kB / 1.387 GB, free: 5.148 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.409e-05/0.3447, allocations: 8 kB / 1.387 GB, free: 5.141 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003394/0.3451, allocations: 234.3 kB / 1.388 GB, free: 4.875 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.462e-06/0.3451, allocations: 0 / 1.388 GB, free: 4.875 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0006197/0.3457, allocations: 235.8 kB / 1.388 GB, free: 4.641 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.3457, allocations: 55.41 kB / 1.388 GB, free: 4.574 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003741/0.3461, allocations: 353.6 kB / 1.388 GB, free: 4.227 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.3462, allocations: 33.7 kB / 1.388 GB, free: 4.188 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.3463, allocations: 220.1 kB / 1.388 GB, free: 3.969 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.3464, allocations: 63.5 kB / 1.389 GB, free: 3.906 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.664e-05/0.3465, allocations: 57.66 kB / 1.389 GB, free: 3.844 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3466, allocations: 342.8 kB / 1.389 GB, free: 3.5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.3468, allocations: 101.6 kB / 1.389 GB, free: 3.395 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.3471, allocations: 171.6 kB / 1.389 GB, free: 3.188 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.3475, allocations: 251 kB / 1.389 GB, free: 2.902 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3475, allocations: 0 / 1.389 GB, free: 2.902 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006206/0.3481, allocations: 347.1 kB / 1.39 GB, free: 2.547 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.3482, allocations: 37.64 kB / 1.39 GB, free: 2.504 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.3482, allocations: 0 / 1.39 GB, free: 2.504 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3482, allocations: 7.938 kB / 1.39 GB, free: 2.496 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.3484, allocations: 63.89 kB / 1.39 GB, free: 2.434 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3484, allocations: 4 kB / 1.39 GB, free: 2.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.3487, allocations: 36.14 kB / 1.39 GB, free: 2.395 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.3487, allocations: 11.94 kB / 1.39 GB, free: 2.383 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.0001661/0.3488, allocations: 161.8 kB / 1.39 GB, free: 2.215 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.3489, allocations: 35.75 kB / 1.39 GB, free: 2.18 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/0.3494, allocations: 192.5 kB / 1.39 GB, free: 1.984 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3494, allocations: 7.938 kB / 1.39 GB, free: 1.977 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3494, allocations: 0 / 1.39 GB, free: 1.977 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005149/0.3499, allocations: 491.7 kB / 1.391 GB, free: 1.41 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.3503, allocations: 284.6 kB / 1.391 GB, free: 1.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3503, allocations: 3.938 kB / 1.391 GB, free: 1.086 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.3504, allocations: 31.92 kB / 1.391 GB, free: 1.055 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.3504, allocations: 3.984 kB / 1.391 GB, free: 1.051 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.3504, allocations: 8 kB / 1.391 GB, free: 1.043 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.3505, allocations: 3.938 kB / 1.391 GB, free: 1.039 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3505, allocations: 0 / 1.391 GB, free: 1.039 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006013/0.3511, allocations: 291.5 kB / 1.391 GB, free: 0.7383 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.3512, allocations: 47.77 kB / 1.391 GB, free: 0.6914 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.3512, allocations: 4 kB / 1.391 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.3514, allocations: 27.86 kB / 1.391 GB, free: 0.6602 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.3515, allocations: 15.97 kB / 1.391 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.3515, allocations: 8 kB / 1.391 GB, free: 0.6367 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002601/0.3518, allocations: 251.2 kB / 1.392 GB, free: 400 kB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3518, allocations: 0 / 1.392 GB, free: 400 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004074/0.3522, allocations: 127.8 kB / 1.392 GB, free: 272 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.001102/0.3533, allocations: 0.9069 MB / 1.393 GB, free: 15.33 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004885/0.3538, allocations: 240.9 kB / 1.393 GB, free: 15.07 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3538, allocations: 0 / 1.393 GB, free: 15.07 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.354, allocations: 70.62 kB / 1.393 GB, free: 15.01 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009014/0.3549, allocations: 220.7 kB / 1.393 GB, free: 14.8 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.3592, allocations: 3.163 MB / 1.396 GB, free: 11.46 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.3594, allocations: 193.6 kB / 1.397 GB, free: 11.25 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002441/0.3596, allocations: 67.19 kB / 1.397 GB, free: 11.19 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.3598, allocations: 123.3 kB / 1.397 GB, free: 11.07 MB / 1.092 GB Notification: Performance of SimCode: time 4.2e-07/0.3598, allocations: 4 kB / 1.397 GB, free: 11.07 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04109/0.4009, allocations: 11.56 MB / 1.408 GB, free: 15.81 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.55, allocations: 9.5 kB / 1.408 GB, free: 15.81 MB / 1.107 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv --start-time 0 --stop-time 7200 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 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.csv","/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] "Error: Could not read variable vol.T in file Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv. Warning: Get data of variable vol.T from file Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv failed! Error: Could not read variable expVes.port_a.p in file Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv. Warning: Get data of variable expVes.port_a.p from file Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.89044816279784]