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.0008233/0.0008233, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001196/0.001196, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9031/0.9031, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.688/1.688, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.189e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.009397/0.009409, allocations: 13.42 MB / 0.9636 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003074/0.01248, allocations: 3.387 MB / 0.9669 GB, free: 2.598 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002407/0.01272, allocations: 23.81 kB / 0.9669 GB, free: 2.574 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.01318, allocations: 202.6 kB / 0.9671 GB, free: 2.375 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0008211/0.014, allocations: 0.6487 MB / 0.9677 GB, free: 1.723 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.01449, allocations: 409.2 kB / 0.9681 GB, free: 1.328 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0008355/0.01533, allocations: 1.109 MB / 0.9692 GB, free: 220 kB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003222/0.01565, allocations: 260.9 kB / 0.9695 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007967/0.01645, allocations: 0.5128 MB / 0.97 GB, free: 15.44 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.01672, allocations: 279.1 kB / 0.9702 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.01676, allocations: 32 kB / 0.9703 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.01704, allocations: 231.3 kB / 0.9705 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 7.998e-05/0.01712, allocations: 95.59 kB / 0.9706 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.01723, allocations: 147.6 kB / 0.9707 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0005536/0.01778, allocations: 0.6115 MB / 0.9713 GB, free: 14.06 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.01779, allocations: 0 / 0.9713 GB, free: 14.06 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.162e-06/0.01779, allocations: 4 kB / 0.9713 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.01779, allocations: 0 / 0.9713 GB, free: 14.05 MB / 0.9323 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.0008517/0.01865, allocations: 0.6815 MB / 0.972 GB, free: 13.34 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.01868, allocations: 8.031 kB / 0.972 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/0.01874, allocations: 62.73 kB / 0.972 GB, free: 13.26 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.01886, allocations: 56.64 kB / 0.9721 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.01939, allocations: 411.9 kB / 0.9725 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.01941, allocations: 20.88 kB / 0.9725 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.01944, allocations: 32.38 kB / 0.9725 GB, free: 12.72 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.01988, allocations: 416.2 kB / 0.9729 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.01989, allocations: 0 / 0.9729 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.01992, allocations: 12 kB / 0.9729 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.01993, allocations: 7.938 kB / 0.973 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.02021, allocations: 189.8 kB / 0.9731 GB, free: 12.06 MB / 0.9323 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.001109/0.02132, allocations: 1.139 MB / 0.9742 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.02161, allocations: 142.6 kB / 0.9744 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.372e-05/0.0217, allocations: 64.81 kB / 0.9744 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.798e-05/0.02179, allocations: 19.92 kB / 0.9745 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.02201, allocations: 226.4 kB / 0.9747 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.02202, allocations: 0 / 0.9747 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.000374/0.02239, allocations: 236.2 kB / 0.9749 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.02242, allocations: 55.41 kB / 0.975 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.02271, allocations: 361.5 kB / 0.9753 GB, free: 9.707 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.02273, allocations: 29.7 kB / 0.9753 GB, free: 9.672 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.02284, allocations: 224.1 kB / 0.9755 GB, free: 9.449 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.02288, allocations: 55.53 kB / 0.9756 GB, free: 9.395 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.02294, allocations: 53.7 kB / 0.9756 GB, free: 9.336 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.02303, allocations: 342.8 kB / 0.976 GB, free: 8.992 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.02315, allocations: 97.66 kB / 0.9761 GB, free: 8.891 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.02329, allocations: 179.5 kB / 0.9762 GB, free: 8.676 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.02354, allocations: 253 kB / 0.9765 GB, free: 8.391 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.02354, allocations: 0 / 0.9765 GB, free: 8.391 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003645/0.02391, allocations: 344.5 kB / 0.9768 GB, free: 8.035 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.02393, allocations: 33.69 kB / 0.9768 GB, free: 7.996 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.02394, allocations: 7.938 kB / 0.9769 GB, free: 7.988 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.02395, allocations: 4 kB / 0.9769 GB, free: 7.984 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.02408, allocations: 55.91 kB / 0.9769 GB, free: 7.93 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.02409, allocations: 4.312 kB / 0.9769 GB, free: 7.926 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.02421, allocations: 39.77 kB / 0.9769 GB, free: 7.887 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.02423, allocations: 12 kB / 0.977 GB, free: 7.875 MB / 0.9323 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.0001109/0.02434, allocations: 161.7 kB / 0.9771 GB, free: 7.707 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.02437, allocations: 31.81 kB / 0.9771 GB, free: 7.676 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.02464, allocations: 200.4 kB / 0.9773 GB, free: 7.473 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.02464, allocations: 4 kB / 0.9773 GB, free: 7.469 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.02464, allocations: 4 kB / 0.9773 GB, free: 7.465 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002827/0.02493, allocations: 483.7 kB / 0.9778 GB, free: 6.906 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.02519, allocations: 292.5 kB / 0.9781 GB, free: 6.578 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.02519, allocations: 4 kB / 0.9781 GB, free: 6.574 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.652e-05/0.02528, allocations: 35.91 kB / 0.9781 GB, free: 6.539 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.02528, allocations: 0 / 0.9781 GB, free: 6.539 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.02529, allocations: 0 / 0.9781 GB, free: 6.539 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.02529, allocations: 4 kB / 0.9781 GB, free: 6.535 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.02529, allocations: 3.984 kB / 0.9781 GB, free: 6.531 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.02572, allocations: 299.2 kB / 0.9784 GB, free: 6.223 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.0258, allocations: 43.83 kB / 0.9785 GB, free: 6.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.02583, allocations: 8 kB / 0.9785 GB, free: 6.172 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.02594, allocations: 11.98 kB / 0.9785 GB, free: 6.16 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.02598, allocations: 15.97 kB / 0.9785 GB, free: 6.145 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.026, allocations: 11.92 kB / 0.9785 GB, free: 6.133 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001653/0.02617, allocations: 251.1 kB / 0.9787 GB, free: 5.891 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.02617, allocations: 4 kB / 0.9787 GB, free: 5.887 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000269/0.02643, allocations: 127.7 kB / 0.9789 GB, free: 5.762 MB / 0.9323 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.0006643/0.0271, allocations: 0.905 MB / 0.9798 GB, free: 4.824 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.02739, allocations: 253.2 kB / 0.98 GB, free: 4.559 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.02739, allocations: 128 / 0.98 GB, free: 4.559 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 9.009e-05/0.02748, allocations: 59.97 kB / 0.9801 GB, free: 4.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.02801, allocations: 211.3 kB / 0.9803 GB, free: 4.305 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.03059, allocations: 3.104 MB / 0.9833 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.03071, allocations: 185.8 kB / 0.9835 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001531/0.03086, allocations: 79.16 kB / 0.9835 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.03098, allocations: 116.5 kB / 0.9836 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of SimCode: time 6.81e-07/0.03098, allocations: 0 / 0.9836 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.05264, allocations: 11.67 MB / 0.995 GB, free: 5.293 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.049/7.102, allocations: 0 / 0.995 GB, free: 5.293 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.1931630121544]