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.001221/0.001221, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.002017/0.002017, allocations: 219.4 kB / 22.26 MB, free: 5.211 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.331/1.331, allocations: 230.6 MB / 256 MB, free: 8 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.889/2.889, allocations: 0.505 GB / 0.8101 GB, free: 22.09 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.001838/0.001838, allocations: 72.25 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2937, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01552/0.3092, allocations: 14.79 MB / 1.367 GB, free: 9.621 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005057/0.3143, allocations: 3.685 MB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003361/0.3146, allocations: 35.75 kB / 1.371 GB, free: 5.895 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005582/0.3152, allocations: 218.6 kB / 1.371 GB, free: 5.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.3164, allocations: 0.6259 MB / 1.372 GB, free: 5.051 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007908/0.3172, allocations: 417.8 kB / 1.372 GB, free: 4.645 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0013/0.3185, allocations: 1.118 MB / 1.373 GB, free: 3.523 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004106/0.3189, allocations: 253 kB / 1.373 GB, free: 3.266 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.3201, allocations: 460.6 kB / 1.374 GB, free: 2.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004625/0.3205, allocations: 318.6 kB / 1.374 GB, free: 2.508 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.3206, allocations: 32 kB / 1.374 GB, free: 2.477 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006102/0.3212, allocations: 291.4 kB / 1.375 GB, free: 2.191 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.3213, allocations: 103.6 kB / 1.375 GB, free: 2.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.3215, allocations: 211 kB / 1.375 GB, free: 1.883 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008119/0.3223, allocations: 0.6189 MB / 1.375 GB, free: 1.262 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3223, allocations: 0 / 1.375 GB, free: 1.262 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3223, allocations: 0 / 1.375 GB, free: 1.262 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.3223, allocations: 0 / 1.375 GB, free: 1.262 MB / 1.061 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.001084/0.3234, allocations: 0.6855 MB / 1.376 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3235, allocations: 12.03 kB / 1.376 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.532e-05/0.3235, allocations: 58.73 kB / 1.376 GB, free: 472 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.3237, allocations: 56.64 kB / 1.376 GB, free: 416 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000733/0.3244, allocations: 404.8 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.3245, allocations: 28.61 kB / 1.377 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.3245, allocations: 28 kB / 1.377 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005592/0.3251, allocations: 305.3 kB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3251, allocations: 0 / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.3251, allocations: 12 kB / 1.377 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.3251, allocations: 15.92 kB / 1.377 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.3256, allocations: 189.8 kB / 1.377 GB, free: 15.39 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.001761/0.3273, allocations: 1.429 MB / 1.379 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.3277, allocations: 146.6 kB / 1.379 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.3279, allocations: 64.81 kB / 1.379 GB, free: 13.63 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.203e-05/0.328, allocations: 11.92 kB / 1.379 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.3283, allocations: 131.3 kB / 1.379 GB, free: 13.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.3283, allocations: 0 / 1.379 GB, free: 13.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0005962/0.3289, allocations: 239.3 kB / 1.379 GB, free: 13.24 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.3289, allocations: 55.41 kB / 1.379 GB, free: 13.18 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/0.3293, allocations: 349.7 kB / 1.38 GB, free: 12.83 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.3293, allocations: 33.64 kB / 1.38 GB, free: 12.79 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.3295, allocations: 224.1 kB / 1.38 GB, free: 12.57 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.3295, allocations: 55.58 kB / 1.38 GB, free: 12.52 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.797e-05/0.3296, allocations: 53.66 kB / 1.38 GB, free: 12.46 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3297, allocations: 346.8 kB / 1.38 GB, free: 12.11 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.3299, allocations: 63.95 kB / 1.38 GB, free: 12.05 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.3301, allocations: 157.3 kB / 1.38 GB, free: 11.86 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/0.3306, allocations: 241.2 kB / 1.381 GB, free: 11.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3306, allocations: 0 / 1.381 GB, free: 11.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005747/0.3311, allocations: 310.8 kB / 1.381 GB, free: 11.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.3312, allocations: 33.7 kB / 1.381 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3312, allocations: 4 kB / 1.381 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3312, allocations: 7.938 kB / 1.381 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.3314, allocations: 64.2 kB / 1.381 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3314, allocations: 4 kB / 1.381 GB, free: 11.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.3316, allocations: 35.77 kB / 1.381 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.3317, allocations: 12 kB / 1.381 GB, free: 11.11 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.0001541/0.3318, allocations: 161.7 kB / 1.381 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.3319, allocations: 35.77 kB / 1.381 GB, free: 10.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.3323, allocations: 200.4 kB / 1.381 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3323, allocations: 3.938 kB / 1.381 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3323, allocations: 4 kB / 1.381 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000487/0.3328, allocations: 489.5 kB / 1.382 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.3332, allocations: 316.5 kB / 1.382 GB, free: 9.777 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3332, allocations: 4 kB / 1.382 GB, free: 9.773 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.3334, allocations: 31.92 kB / 1.382 GB, free: 9.742 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3334, allocations: 8 kB / 1.382 GB, free: 9.734 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.3334, allocations: 3.984 kB / 1.382 GB, free: 9.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3334, allocations: 3.938 kB / 1.382 GB, free: 9.727 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3334, allocations: 3.984 kB / 1.382 GB, free: 9.723 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005651/0.334, allocations: 292.6 kB / 1.383 GB, free: 9.418 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.3341, allocations: 39.84 kB / 1.383 GB, free: 9.379 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.3341, allocations: 15.98 kB / 1.383 GB, free: 9.363 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.3343, allocations: 15.92 kB / 1.383 GB, free: 9.348 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.3344, allocations: 23.98 kB / 1.383 GB, free: 9.324 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.3344, allocations: 8 kB / 1.383 GB, free: 9.316 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002606/0.3347, allocations: 255.2 kB / 1.383 GB, free: 9.066 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3347, allocations: 0 / 1.383 GB, free: 9.066 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000397/0.3351, allocations: 127.7 kB / 1.383 GB, free: 8.941 MB / 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.001008/0.3361, allocations: 0.9077 MB / 1.384 GB, free: 8.004 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000458/0.3365, allocations: 219.6 kB / 1.384 GB, free: 7.777 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3365, allocations: 4.188 kB / 1.384 GB, free: 7.773 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.3367, allocations: 63.89 kB / 1.384 GB, free: 7.711 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008351/0.3375, allocations: 211.1 kB / 1.384 GB, free: 7.512 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/0.3415, allocations: 3.063 MB / 1.387 GB, free: 4.305 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.3418, allocations: 0.7956 MB / 1.388 GB, free: 3.48 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002089/0.3421, allocations: 67.22 kB / 1.388 GB, free: 3.414 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.3422, allocations: 119.3 kB / 1.388 GB, free: 3.297 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/0.3422, allocations: 0 / 1.388 GB, free: 3.297 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03781/0.38, allocations: 10.49 MB / 1.399 GB, free: 9.012 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.5, allocations: 5.25 kB / 1.399 GB, free: 9.008 MB / 1.092 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 & 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: 16.480118327999662]