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.0007985/0.0007985, 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.0007868/0.0007868, 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.8624/0.8624, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.717/1.717, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.008e-05, allocations: 4.812 kB / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.009928/0.009948, allocations: 13.42 MB / 1.013 GB, free: 72 kB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003733/0.01368, allocations: 3.399 MB / 1.016 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003602/0.01404, allocations: 27.75 kB / 1.016 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005054/0.01455, allocations: 198.6 kB / 1.016 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.01565, allocations: 0.6448 MB / 1.017 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006649/0.01632, allocations: 408.5 kB / 1.017 GB, free: 11.4 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0009491/0.01727, allocations: 1.118 MB / 1.018 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.01757, allocations: 256.9 kB / 1.019 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008663/0.01844, allocations: 0.5612 MB / 1.019 GB, free: 9.461 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.01872, allocations: 275.1 kB / 1.019 GB, free: 9.191 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.01875, allocations: 35.94 kB / 1.019 GB, free: 9.156 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003424/0.0191, allocations: 227.4 kB / 1.02 GB, free: 8.934 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 8.429e-05/0.01918, allocations: 99.55 kB / 1.02 GB, free: 8.836 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.0193, allocations: 147.7 kB / 1.02 GB, free: 8.691 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0005694/0.01987, allocations: 0.6076 MB / 1.021 GB, free: 8.082 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.01987, allocations: 0 / 1.021 GB, free: 8.082 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.924e-06/0.01987, allocations: 0 / 1.021 GB, free: 8.082 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.01988, allocations: 0 / 1.021 GB, free: 8.082 MB / 0.9792 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.0008082/0.02069, allocations: 0.6893 MB / 1.021 GB, free: 7.355 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.02072, allocations: 12.75 kB / 1.021 GB, free: 7.344 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.126e-05/0.02077, allocations: 66.72 kB / 1.021 GB, free: 7.27 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.0209, allocations: 44.7 kB / 1.021 GB, free: 7.227 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.02143, allocations: 412 kB / 1.022 GB, free: 6.797 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.02145, allocations: 20.88 kB / 1.022 GB, free: 6.773 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.02148, allocations: 24.38 kB / 1.022 GB, free: 6.75 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004294/0.02191, allocations: 416.2 kB / 1.022 GB, free: 6.301 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.02193, allocations: 3.938 kB / 1.022 GB, free: 6.297 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.02195, allocations: 12 kB / 1.022 GB, free: 6.285 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.02196, allocations: 4 kB / 1.022 GB, free: 6.281 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.02223, allocations: 197.8 kB / 1.022 GB, free: 6.09 MB / 0.9792 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.00113/0.02336, allocations: 1.143 MB / 1.023 GB, free: 4.883 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.02364, allocations: 154.6 kB / 1.024 GB, free: 4.723 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.833e-05/0.02373, allocations: 64.81 kB / 1.024 GB, free: 4.656 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-05/0.02381, allocations: 11.88 kB / 1.024 GB, free: 4.645 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.02402, allocations: 230.1 kB / 1.024 GB, free: 4.383 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.02402, allocations: 0 / 1.024 GB, free: 4.383 MB / 0.9792 GB Notification: Performance of matching and sorting (n=15): time 0.0003722/0.0244, allocations: 231.3 kB / 1.024 GB, free: 4.152 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.02443, allocations: 67.33 kB / 1.024 GB, free: 4.074 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.0248, allocations: 353.5 kB / 1.025 GB, free: 3.723 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.02482, allocations: 33.7 kB / 1.025 GB, free: 3.684 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.02493, allocations: 216.1 kB / 1.025 GB, free: 3.469 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.02496, allocations: 51.53 kB / 1.025 GB, free: 3.418 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.02502, allocations: 57.64 kB / 1.025 GB, free: 3.355 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.275e-05/0.0251, allocations: 342.8 kB / 1.025 GB, free: 3.012 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.02522, allocations: 97.66 kB / 1.025 GB, free: 2.91 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.02535, allocations: 179.1 kB / 1.025 GB, free: 2.695 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.02559, allocations: 250.9 kB / 1.026 GB, free: 2.41 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.02559, allocations: 0 / 1.026 GB, free: 2.41 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003327/0.02592, allocations: 338.6 kB / 1.026 GB, free: 2.062 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.02595, allocations: 34.02 kB / 1.026 GB, free: 2.023 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.02596, allocations: 8 kB / 1.026 GB, free: 2.016 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.02598, allocations: 4 kB / 1.026 GB, free: 2.012 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.0261, allocations: 59.89 kB / 1.026 GB, free: 1.953 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.02611, allocations: 11.92 kB / 1.026 GB, free: 1.941 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.02623, allocations: 35.72 kB / 1.026 GB, free: 1.906 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.02625, allocations: 15.98 kB / 1.026 GB, free: 1.891 MB / 0.9792 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.0001169/0.02637, allocations: 153.7 kB / 1.026 GB, free: 1.73 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.0264, allocations: 35.77 kB / 1.026 GB, free: 1.695 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.02667, allocations: 200.4 kB / 1.027 GB, free: 1.488 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.02667, allocations: 3.984 kB / 1.027 GB, free: 1.484 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.02668, allocations: 4 kB / 1.027 GB, free: 1.48 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002667/0.02694, allocations: 481.8 kB / 1.027 GB, free: 0.9258 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.0272, allocations: 296.5 kB / 1.027 GB, free: 0.5938 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.02721, allocations: 4 kB / 1.027 GB, free: 0.5898 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.44e-05/0.02729, allocations: 35.98 kB / 1.027 GB, free: 0.5547 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.0273, allocations: 0 / 1.027 GB, free: 0.5547 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.02731, allocations: 3.938 kB / 1.027 GB, free: 0.5508 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.02731, allocations: 7.938 kB / 1.027 GB, free: 0.543 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.02731, allocations: 0 / 1.027 GB, free: 0.543 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.02765, allocations: 288.6 kB / 1.028 GB, free: 248 kB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/0.02801, allocations: 47.77 kB / 1.028 GB, free: 200 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.02803, allocations: 0 / 1.028 GB, free: 200 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.02814, allocations: 27.97 kB / 1.028 GB, free: 172 kB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.02819, allocations: 15.97 kB / 1.028 GB, free: 156 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.02821, allocations: 7.938 kB / 1.028 GB, free: 148 kB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001789/0.02838, allocations: 247.2 kB / 1.028 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02838, allocations: 0 / 1.028 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003148/0.0287, allocations: 131.6 kB / 1.028 GB, free: 15.78 MB / 0.9948 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.0006786/0.02938, allocations: 0.903 MB / 1.029 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002901/0.02967, allocations: 256.8 kB / 1.029 GB, free: 14.58 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.02967, allocations: 0 / 1.029 GB, free: 14.58 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 9.324e-05/0.02976, allocations: 63.89 kB / 1.029 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.03029, allocations: 217.2 kB / 1.03 GB, free: 14.31 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.03292, allocations: 3.092 MB / 1.033 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.03303, allocations: 189.8 kB / 1.033 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001874/0.03322, allocations: 63.25 kB / 1.033 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.03334, allocations: 116.5 kB / 1.033 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of SimCode: time 4.81e-07/0.03334, allocations: 0 / 1.033 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.05596, allocations: 11.68 MB / 1.044 GB, free: 15.28 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.841/6.897, allocations: 7.5 kB / 1.044 GB, free: 15.28 MB / 1.01 GB " [Timeout remaining time 293] (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/jenkins/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: 10.901700806804001]