Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.359/2.359, allocations: 443.5 MB / 0.7304 GB, free: 13.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 63.89 kB / 1.059 GB, free: 1.004 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2641, allocations: 160.7 MB / 1.216 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.0168/0.2809, allocations: 14.68 MB / 1.23 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005084/0.286, allocations: 3.667 MB / 1.233 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004478/0.2864, allocations: 15.94 kB / 1.233 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006143/0.2871, allocations: 218.7 kB / 1.234 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.2885, allocations: 0.6181 MB / 1.234 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009008/0.2894, allocations: 390.9 kB / 1.235 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001468/0.2908, allocations: 1.102 MB / 1.236 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004458/0.2913, allocations: 264.8 kB / 1.236 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.2923, allocations: 404.1 kB / 1.236 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000546/0.2929, allocations: 330.5 kB / 1.237 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.855e-05/0.2929, allocations: 32 kB / 1.237 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000561/0.2935, allocations: 263.5 kB / 1.237 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.2936, allocations: 95.66 kB / 1.237 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.2939, allocations: 218.9 kB / 1.237 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008473/0.2947, allocations: 0.5955 MB / 1.238 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2947, allocations: 0 / 1.238 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2947, allocations: 0 / 1.238 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.2947, allocations: 0 / 1.238 GB, free: 9.043 MB / 0.9825 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.001215/0.2959, allocations: 0.753 MB / 1.239 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.296, allocations: 12.03 kB / 1.239 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.351e-05/0.2961, allocations: 58.73 kB / 1.239 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.2962, allocations: 56.64 kB / 1.239 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007254/0.297, allocations: 467.9 kB / 1.239 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.297, allocations: 24.69 kB / 1.239 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.359e-05/0.297, allocations: 28 kB / 1.239 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005767/0.2976, allocations: 310.2 kB / 1.239 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.2976, allocations: 4 kB / 1.239 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.2977, allocations: 12 kB / 1.24 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.2977, allocations: 8 kB / 1.24 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004694/0.2982, allocations: 198 kB / 1.24 GB, free: 7.008 MB / 0.9825 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.001859/0.3, allocations: 1.485 MB / 1.241 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.3004, allocations: 150.6 kB / 1.241 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.3006, allocations: 56.83 kB / 1.241 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.3008, allocations: 89.09 kB / 1.241 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003143/0.3011, allocations: 127.2 kB / 1.242 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.794e-06/0.3011, allocations: 7.938 kB / 1.242 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0007107/0.3018, allocations: 239 kB / 1.242 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.3018, allocations: 55.41 kB / 1.242 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.3022, allocations: 349.6 kB / 1.242 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.3023, allocations: 29.7 kB / 1.242 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.3025, allocations: 224.1 kB / 1.242 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.07e-05/0.3025, allocations: 51.53 kB / 1.242 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.284e-05/0.3026, allocations: 57.66 kB / 1.243 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3028, allocations: 346.8 kB / 1.243 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.303, allocations: 71.89 kB / 1.243 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.3032, allocations: 146.9 kB / 1.243 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/0.3037, allocations: 245 kB / 1.243 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3037, allocations: 0 / 1.243 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006158/0.3043, allocations: 317 kB / 1.244 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.3043, allocations: 29.7 kB / 1.244 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.3043, allocations: 4 kB / 1.244 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3044, allocations: 7.938 kB / 1.244 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.3046, allocations: 63.89 kB / 1.244 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3046, allocations: 8.312 kB / 1.244 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.3048, allocations: 31.83 kB / 1.244 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.3049, allocations: 12 kB / 1.244 GB, free: 2.555 MB / 0.9825 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.0001635/0.305, allocations: 161.7 kB / 1.244 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/0.3051, allocations: 35.77 kB / 1.244 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000459/0.3055, allocations: 196.4 kB / 1.244 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3056, allocations: 7.938 kB / 1.244 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3056, allocations: 0 / 1.244 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005145/0.3061, allocations: 485.4 kB / 1.245 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.3065, allocations: 357.4 kB / 1.245 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3065, allocations: 3.984 kB / 1.245 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.3067, allocations: 31.92 kB / 1.245 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3067, allocations: 0 / 1.245 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3067, allocations: 0 / 1.245 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3067, allocations: 7.938 kB / 1.245 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3067, allocations: 7.938 kB / 1.245 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000605/0.3073, allocations: 276.8 kB / 1.245 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.3074, allocations: 128.9 kB / 1.245 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.3075, allocations: 4 kB / 1.245 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.3077, allocations: 23.91 kB / 1.245 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.3078, allocations: 15.98 kB / 1.245 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.3078, allocations: 12.08 kB / 1.245 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000257/0.308, allocations: 247.2 kB / 1.246 GB, free: 420 kB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.308, allocations: 0 / 1.246 GB, free: 420 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004099/0.3085, allocations: 131.6 kB / 1.246 GB, free: 288 kB / 0.9825 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.001156/0.3096, allocations: 0.9105 MB / 1.247 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004945/0.3101, allocations: 227 kB / 1.247 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3101, allocations: 0.625 kB / 1.247 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.3103, allocations: 67.97 kB / 1.247 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009079/0.3112, allocations: 211.8 kB / 1.247 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/0.3155, allocations: 3.07 MB / 1.25 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.3159, allocations: 0.7879 MB / 1.251 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002403/0.3161, allocations: 71.19 kB / 1.251 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.3163, allocations: 115.3 kB / 1.251 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/0.3163, allocations: 0 / 1.251 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.3542, allocations: 10.24 MB / 1.261 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/8.006, allocations: 15.27 kB / 1.261 GB, free: 0.5898 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv. Warning: Get data of variable vol.T from file Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv failed! Error: Could not read variable expVes.port_a.p in file Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv. Warning: Get data of variable expVes.port_a.p from file Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.764469526999164]