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.001945/0.001945, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002181/0.002181, allocations: 212.9 kB / 22.24 MB, free: 5.242 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.797 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.804/2.804, 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.0021/0.0021, allocations: 64.88 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3212, allocations: 170 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01907/0.3402, allocations: 13.49 MB / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005959/0.3462, allocations: 3.388 MB / 1.299 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000647/0.3468, allocations: 23.81 kB / 1.299 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008197/0.3476, allocations: 198.7 kB / 1.299 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.3501, allocations: 0.6181 MB / 1.3 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.3515, allocations: 409 kB / 1.3 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002175/0.3537, allocations: 1.115 MB / 1.301 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005861/0.3543, allocations: 256.5 kB / 1.302 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.3556, allocations: 414.9 kB / 1.302 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007742/0.3564, allocations: 302.6 kB / 1.302 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.3565, allocations: 36 kB / 1.302 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008876/0.3574, allocations: 223.5 kB / 1.303 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.3576, allocations: 103.5 kB / 1.303 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003381/0.358, allocations: 171.2 kB / 1.303 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.3591, allocations: 0.6032 MB / 1.303 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3591, allocations: 0 / 1.303 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3591, allocations: 4 kB / 1.303 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.369e-05/0.3591, allocations: 0 / 1.303 GB, free: 7.043 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.001492/0.3606, allocations: 0.6871 MB / 1.304 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.3607, allocations: 12.03 kB / 1.304 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.59e-05/0.3608, allocations: 62.72 kB / 1.304 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.361, allocations: 52.59 kB / 1.304 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009198/0.3619, allocations: 400.8 kB / 1.305 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.3619, allocations: 24.62 kB / 1.305 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.362, allocations: 24 kB / 1.305 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006922/0.3627, allocations: 416 kB / 1.305 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.3627, allocations: 0 / 1.305 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.3628, allocations: 12 kB / 1.305 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.3628, allocations: 12 kB / 1.305 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005136/0.3633, allocations: 193.8 kB / 1.305 GB, free: 5.059 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.001986/0.3653, allocations: 1.146 MB / 1.306 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.3657, allocations: 154.6 kB / 1.306 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.3659, allocations: 60.81 kB / 1.307 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.366, allocations: 8 kB / 1.307 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003742/0.3664, allocations: 234.1 kB / 1.307 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/0.3664, allocations: 0 / 1.307 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0006794/0.3671, allocations: 244 kB / 1.307 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.3671, allocations: 55.34 kB / 1.307 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.3676, allocations: 349.7 kB / 1.307 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.3676, allocations: 29.7 kB / 1.307 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.3678, allocations: 224 kB / 1.308 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.3679, allocations: 55.58 kB / 1.308 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.221e-05/0.368, allocations: 57.66 kB / 1.308 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3681, allocations: 338.8 kB / 1.308 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.3684, allocations: 105.6 kB / 1.308 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.3686, allocations: 180.8 kB / 1.308 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.3691, allocations: 237 kB / 1.309 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3691, allocations: 0 / 1.309 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006796/0.3698, allocations: 348.8 kB / 1.309 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.675e-05/0.3698, allocations: 33.7 kB / 1.309 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3698, allocations: 4 kB / 1.309 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.3699, allocations: 7.938 kB / 1.309 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.3701, allocations: 55.89 kB / 1.309 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3701, allocations: 4 kB / 1.309 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.3704, allocations: 39.77 kB / 1.309 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.3704, allocations: 16 kB / 1.309 GB, free: 0.8633 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.0001862/0.3706, allocations: 161.8 kB / 1.309 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/0.3707, allocations: 35.77 kB / 1.309 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004953/0.3712, allocations: 200.3 kB / 1.309 GB, free: 468 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3712, allocations: 3.938 kB / 1.309 GB, free: 464 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3712, allocations: 0 / 1.309 GB, free: 464 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005768/0.3718, allocations: 483.8 kB / 1.31 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.3722, allocations: 288.5 kB / 1.31 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3722, allocations: 4 kB / 1.31 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.3724, allocations: 27.98 kB / 1.31 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.3724, allocations: 7.984 kB / 1.31 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.3724, allocations: 0 / 1.31 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3724, allocations: 3.938 kB / 1.31 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.3724, allocations: 3.938 kB / 1.31 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000689/0.3731, allocations: 291.6 kB / 1.31 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.3733, allocations: 59.7 kB / 1.311 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/0.3733, allocations: 8 kB / 1.311 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.3735, allocations: 15.92 kB / 1.311 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.3736, allocations: 19.97 kB / 1.311 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.3736, allocations: 8 kB / 1.311 GB, free: 15.11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002939/0.3739, allocations: 251.2 kB / 1.311 GB, free: 14.87 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3739, allocations: 0 / 1.311 GB, free: 14.87 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004664/0.3744, allocations: 123.7 kB / 1.311 GB, free: 14.75 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.001235/0.3756, allocations: 0.9128 MB / 1.312 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005547/0.3762, allocations: 240.9 kB / 1.312 GB, free: 13.55 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3762, allocations: 0 / 1.312 GB, free: 13.55 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.3764, allocations: 71.88 kB / 1.312 GB, free: 13.48 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.3774, allocations: 219.3 kB / 1.312 GB, free: 13.28 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004899/0.3823, allocations: 3.178 MB / 1.315 GB, free: 9.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.3825, allocations: 185.8 kB / 1.316 GB, free: 9.727 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003039/0.3828, allocations: 75.11 kB / 1.316 GB, free: 9.656 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.383, allocations: 123.4 kB / 1.316 GB, free: 9.535 MB / 1.014 GB Notification: Performance of SimCode: time 8.21e-07/0.383, allocations: 0 / 1.316 GB, free: 9.535 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04779/0.4308, allocations: 11.56 MB / 1.327 GB, free: 14.29 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.95, allocations: 6.375 kB / 1.327 GB, free: 14.29 MB / 1.029 GB " [Timeout remaining time 286] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv --start-time 0 --stop-time 7200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 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.csv","/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] "Error: Could not read variable vol.T in file Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv. Warning: Get data of variable vol.T from file Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv failed! Error: Could not read variable expVes.port_a.p in file Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv. Warning: Get data of variable expVes.port_a.p from file Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.714347823988646]