Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007598/0.0007598, 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.0007733/0.0007733, 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.8559/0.8559, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.65/1.65, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.318e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.009821/0.009844, allocations: 13.44 MB / 0.9941 GB, free: 5.137 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003468/0.01331, allocations: 3.389 MB / 0.9974 GB, free: 1.738 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.0136, allocations: 23.81 kB / 0.9974 GB, free: 1.715 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004623/0.01406, allocations: 206.5 kB / 0.9976 GB, free: 1.512 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009524/0.01502, allocations: 0.6488 MB / 0.9982 GB, free: 0.8594 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.01559, allocations: 417.5 kB / 0.9986 GB, free: 464 kB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.01675, allocations: 1.106 MB / 0.9997 GB, free: 15.34 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.01708, allocations: 256.9 kB / 0.9999 GB, free: 15.08 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008/0.01788, allocations: 0.5571 MB / 1 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.01816, allocations: 271.1 kB / 1.001 GB, free: 14.26 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.01819, allocations: 32 kB / 1.001 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.01849, allocations: 227.4 kB / 1.001 GB, free: 14 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.779e-05/0.01857, allocations: 103.6 kB / 1.001 GB, free: 13.9 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.01869, allocations: 147.6 kB / 1.001 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005424/0.01923, allocations: 0.6114 MB / 1.002 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.01923, allocations: 4 kB / 1.002 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01923, allocations: 4 kB / 1.002 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.01924, allocations: 0 / 1.002 GB, free: 13.14 MB / 0.9636 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.0007822/0.02002, allocations: 0.6795 MB / 1.002 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.02005, allocations: 12.03 kB / 1.003 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.625e-05/0.0201, allocations: 58.73 kB / 1.003 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.02022, allocations: 52.64 kB / 1.003 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.02073, allocations: 407.9 kB / 1.003 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.02076, allocations: 20.88 kB / 1.003 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.02079, allocations: 28.38 kB / 1.003 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.02119, allocations: 416.2 kB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.0212, allocations: 0 / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.02122, allocations: 12 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.02124, allocations: 11.94 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.0215, allocations: 193.8 kB / 1.004 GB, free: 11.16 MB / 0.9636 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.001066/0.02257, allocations: 1.147 MB / 1.005 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.02284, allocations: 150.1 kB / 1.005 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.381e-05/0.02292, allocations: 56.83 kB / 1.005 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.052e-05/0.023, allocations: 19.92 kB / 1.005 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.02325, allocations: 236.7 kB / 1.005 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.02326, allocations: 0 / 1.005 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.0003543/0.02361, allocations: 229.3 kB / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.02364, allocations: 55.41 kB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.02388, allocations: 357.6 kB / 1.006 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.0239, allocations: 29.7 kB / 1.006 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.024, allocations: 232 kB / 1.006 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.02403, allocations: 55.58 kB / 1.006 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.02409, allocations: 53.66 kB / 1.006 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.02417, allocations: 350.7 kB / 1.007 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.02428, allocations: 97.66 kB / 1.007 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.02441, allocations: 171.1 kB / 1.007 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.02473, allocations: 243 kB / 1.007 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.02473, allocations: 0 / 1.007 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003282/0.02506, allocations: 343.1 kB / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.02509, allocations: 41.69 kB / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.02509, allocations: 4 kB / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.02511, allocations: 4 kB / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.02522, allocations: 51.91 kB / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.02523, allocations: 12.3 kB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.02535, allocations: 43.7 kB / 1.007 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.02537, allocations: 12 kB / 1.007 GB, free: 6.957 MB / 0.9636 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.0001052/0.02547, allocations: 157.8 kB / 1.008 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.0255, allocations: 31.81 kB / 1.008 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.02576, allocations: 208.3 kB / 1.008 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.02576, allocations: 0 / 1.008 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.02576, allocations: 4 kB / 1.008 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002505/0.02601, allocations: 490.7 kB / 1.008 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.02625, allocations: 284.6 kB / 1.009 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.02626, allocations: 4 kB / 1.009 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.981e-05/0.02634, allocations: 35.91 kB / 1.009 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.02634, allocations: 4 kB / 1.009 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.02635, allocations: 0 / 1.009 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.02635, allocations: 0 / 1.009 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.02635, allocations: 0 / 1.009 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.02668, allocations: 292.6 kB / 1.009 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/0.02675, allocations: 47.83 kB / 1.009 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.02677, allocations: 0 / 1.009 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.02687, allocations: 19.92 kB / 1.009 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.02692, allocations: 19.97 kB / 1.009 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.02693, allocations: 11.92 kB / 1.009 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001535/0.02708, allocations: 251.1 kB / 1.009 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.02708, allocations: 7.938 kB / 1.009 GB, free: 4.969 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002625/0.02735, allocations: 119.8 kB / 1.009 GB, free: 4.852 MB / 0.9636 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.0009555/0.0283, allocations: 0.9089 MB / 1.01 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.02857, allocations: 255.5 kB / 1.011 GB, free: 3.648 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.02857, allocations: 0 / 1.011 GB, free: 3.648 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.855e-05/0.02866, allocations: 64.02 kB / 1.011 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.02915, allocations: 210.5 kB / 1.011 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.03155, allocations: 3.105 MB / 1.014 GB, free: 112 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.03166, allocations: 181.9 kB / 1.014 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001427/0.03181, allocations: 71.11 kB / 1.014 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.03191, allocations: 116.4 kB / 1.014 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of SimCode: time 2.81e-07/0.03191, allocations: 0 / 1.014 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.05327, allocations: 11.68 MB / 1.026 GB, free: 4.391 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/6.912, allocations: 3.984 kB / 1.026 GB, free: 4.387 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv. Warning: Get data of variable vol.T from file Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv failed! Error: Could not read variable expVes.port_a.p in file Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv. Warning: Get data of variable expVes.port_a.p from file Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.834333316422999]