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.00186/0.00186, allocations: 104 kB / 16.45 MB, free: 6.449 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.00283/0.00283, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.436/1.436, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.189/3.189, allocations: 0.505 GB / 0.8066 GB, free: 23.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.001995/0.001995, allocations: 71.25 kB / 1.172 GB, free: 17.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3202, allocations: 180.2 MB / 1.348 GB, free: 9.996 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01699/0.3372, allocations: 14.67 MB / 1.362 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005633/0.3428, allocations: 3.658 MB / 1.366 GB, free: 7.602 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003614/0.3432, allocations: 27.81 kB / 1.366 GB, free: 7.574 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005781/0.3437, allocations: 214.6 kB / 1.366 GB, free: 7.363 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.3451, allocations: 0.6181 MB / 1.366 GB, free: 6.742 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009512/0.3461, allocations: 391.5 kB / 1.367 GB, free: 6.363 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.3474, allocations: 1.087 MB / 1.368 GB, free: 5.273 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003954/0.3478, allocations: 272.5 kB / 1.368 GB, free: 5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.3489, allocations: 438.4 kB / 1.369 GB, free: 4.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004206/0.3493, allocations: 330.5 kB / 1.369 GB, free: 4.246 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.349e-05/0.3494, allocations: 32 kB / 1.369 GB, free: 4.215 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005889/0.35, allocations: 271.5 kB / 1.369 GB, free: 3.949 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.3501, allocations: 103.5 kB / 1.369 GB, free: 3.848 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.3503, allocations: 215 kB / 1.369 GB, free: 3.637 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000851/0.3512, allocations: 0.6227 MB / 1.37 GB, free: 3.012 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3512, allocations: 0 / 1.37 GB, free: 3.012 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.376e-06/0.3512, allocations: 3.984 kB / 1.37 GB, free: 3.008 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.3512, allocations: 0 / 1.37 GB, free: 3.008 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.001192/0.3524, allocations: 0.7507 MB / 1.371 GB, free: 2.203 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3524, allocations: 19.92 kB / 1.371 GB, free: 2.184 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.581e-05/0.3525, allocations: 66.72 kB / 1.371 GB, free: 2.109 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.3527, allocations: 48.66 kB / 1.371 GB, free: 2.062 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007562/0.3534, allocations: 471.9 kB / 1.371 GB, free: 1.559 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.3535, allocations: 20.69 kB / 1.371 GB, free: 1.535 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.3535, allocations: 28 kB / 1.371 GB, free: 1.508 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005995/0.3541, allocations: 314.1 kB / 1.372 GB, free: 1.18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3541, allocations: 8 kB / 1.372 GB, free: 1.172 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.3542, allocations: 8 kB / 1.372 GB, free: 1.164 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.3542, allocations: 8 kB / 1.372 GB, free: 1.156 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004846/0.3547, allocations: 190.1 kB / 1.372 GB, free: 0.9727 MB / 1.061 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.001923/0.3566, allocations: 1.481 MB / 1.373 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/0.357, allocations: 158.6 kB / 1.374 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.3572, allocations: 64.81 kB / 1.374 GB, free: 15.13 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.3574, allocations: 85.11 kB / 1.374 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003149/0.3577, allocations: 133.2 kB / 1.374 GB, free: 14.89 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.3577, allocations: 0 / 1.374 GB, free: 14.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0006724/0.3584, allocations: 233.2 kB / 1.374 GB, free: 14.66 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.3584, allocations: 59.39 kB / 1.374 GB, free: 14.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/0.3588, allocations: 349.6 kB / 1.374 GB, free: 14.24 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.3588, allocations: 29.7 kB / 1.374 GB, free: 14.21 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.359, allocations: 216.1 kB / 1.375 GB, free: 13.99 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.89e-05/0.3591, allocations: 63.52 kB / 1.375 GB, free: 13.93 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.935e-05/0.3592, allocations: 61.59 kB / 1.375 GB, free: 13.86 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3593, allocations: 338.8 kB / 1.375 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.3596, allocations: 71.94 kB / 1.375 GB, free: 13.45 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.3598, allocations: 157.3 kB / 1.375 GB, free: 13.27 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.3603, allocations: 240.9 kB / 1.376 GB, free: 12.99 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3603, allocations: 0 / 1.376 GB, free: 12.99 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006661/0.3609, allocations: 318.8 kB / 1.376 GB, free: 12.67 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.361, allocations: 29.7 kB / 1.376 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.361, allocations: 4 kB / 1.376 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.361, allocations: 7.938 kB / 1.376 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.3612, allocations: 52.22 kB / 1.376 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3613, allocations: 8 kB / 1.376 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.3615, allocations: 35.83 kB / 1.376 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.3615, allocations: 15.98 kB / 1.376 GB, free: 12.51 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.0001767/0.3617, allocations: 157.7 kB / 1.376 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.3618, allocations: 35.77 kB / 1.376 GB, free: 12.31 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/0.3623, allocations: 203.4 kB / 1.376 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3623, allocations: 3.938 kB / 1.376 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3623, allocations: 0 / 1.376 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005423/0.3628, allocations: 479.8 kB / 1.377 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.3633, allocations: 357.4 kB / 1.377 GB, free: 11.15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3633, allocations: 0 / 1.377 GB, free: 11.15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.3634, allocations: 27.97 kB / 1.377 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3634, allocations: 4 kB / 1.377 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.3635, allocations: 8 kB / 1.377 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.3635, allocations: 3.938 kB / 1.377 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3635, allocations: 3.938 kB / 1.377 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006536/0.3641, allocations: 288.7 kB / 1.378 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.3643, allocations: 120.9 kB / 1.378 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.3643, allocations: 4 kB / 1.378 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.3645, allocations: 27.91 kB / 1.378 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.3646, allocations: 15.98 kB / 1.378 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.3646, allocations: 11.98 kB / 1.378 GB, free: 10.61 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002782/0.3649, allocations: 247.2 kB / 1.378 GB, free: 10.37 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3649, allocations: 0 / 1.378 GB, free: 10.37 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004518/0.3654, allocations: 131.6 kB / 1.378 GB, free: 10.24 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.001235/0.3666, allocations: 0.917 MB / 1.379 GB, free: 9.293 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005477/0.3672, allocations: 219.1 kB / 1.379 GB, free: 9.066 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3672, allocations: 0.625 kB / 1.379 GB, free: 9.066 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.3674, allocations: 71.89 kB / 1.379 GB, free: 8.996 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009852/0.3683, allocations: 217.5 kB / 1.379 GB, free: 8.789 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/0.3729, allocations: 3.053 MB / 1.382 GB, free: 5.594 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.3734, allocations: 0.7956 MB / 1.383 GB, free: 4.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002506/0.3736, allocations: 63.25 kB / 1.383 GB, free: 4.707 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.3738, allocations: 119.4 kB / 1.383 GB, free: 4.59 MB / 1.076 GB Notification: Performance of SimCode: time 5.41e-07/0.3738, allocations: 0 / 1.383 GB, free: 4.59 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03974/0.4136, allocations: 10.25 MB / 1.393 GB, free: 10.53 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.526/8.939, allocations: 12.94 kB / 1.393 GB, free: 10.52 MB / 1.092 GB " [Timeout remaining time 291] (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: 15.53512964094989]