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.001791/0.001791, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002219/0.002219, allocations: 216.2 kB / 22.24 MB, free: 5.258 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.052/3.052, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002076/0.002076, allocations: 71.75 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3491, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01606/0.3652, allocations: 13.5 MB / 1.339 GB, free: 3.941 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005352/0.3705, allocations: 3.405 MB / 1.342 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003646/0.3709, allocations: 27.81 kB / 1.342 GB, free: 0.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005818/0.3715, allocations: 202.7 kB / 1.343 GB, free: 308 kB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.3729, allocations: 0.6259 MB / 1.343 GB, free: 15.67 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008906/0.3738, allocations: 403.2 kB / 1.344 GB, free: 15.28 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001384/0.3751, allocations: 1.136 MB / 1.345 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004077/0.3755, allocations: 257 kB / 1.345 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.3767, allocations: 449.7 kB / 1.345 GB, free: 13.44 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004472/0.3771, allocations: 330.5 kB / 1.346 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.915e-05/0.3772, allocations: 32 kB / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004805/0.3777, allocations: 223.6 kB / 1.346 GB, free: 12.87 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.3778, allocations: 99.55 kB / 1.346 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.378, allocations: 171.2 kB / 1.346 GB, free: 12.6 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008431/0.3788, allocations: 0.6071 MB / 1.347 GB, free: 11.99 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3788, allocations: 4 kB / 1.347 GB, free: 11.99 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3788, allocations: 4 kB / 1.347 GB, free: 11.98 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3789, allocations: 0 / 1.347 GB, free: 11.98 MB / 1.045 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.001176/0.38, allocations: 0.6777 MB / 1.347 GB, free: 11.27 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3801, allocations: 12.03 kB / 1.347 GB, free: 11.26 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.65e-05/0.3801, allocations: 66.72 kB / 1.348 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.3803, allocations: 48.66 kB / 1.348 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007653/0.3811, allocations: 404.8 kB / 1.348 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.3811, allocations: 24.62 kB / 1.348 GB, free: 10.69 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.3812, allocations: 24 kB / 1.348 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006346/0.3818, allocations: 412 kB / 1.348 GB, free: 10.22 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.3818, allocations: 3.953 kB / 1.348 GB, free: 10.22 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.3819, allocations: 12 kB / 1.348 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.3819, allocations: 8 kB / 1.348 GB, free: 10.2 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000469/0.3823, allocations: 197.8 kB / 1.349 GB, free: 10.01 MB / 1.045 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.001763/0.3841, allocations: 1.143 MB / 1.35 GB, free: 8.797 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/0.3845, allocations: 154.6 kB / 1.35 GB, free: 8.637 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.3847, allocations: 60.81 kB / 1.35 GB, free: 8.574 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.705e-05/0.3848, allocations: 8 kB / 1.35 GB, free: 8.566 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003474/0.3852, allocations: 230.1 kB / 1.35 GB, free: 8.305 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.694e-06/0.3852, allocations: 0 / 1.35 GB, free: 8.305 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0006296/0.3858, allocations: 239.3 kB / 1.35 GB, free: 8.066 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.3858, allocations: 55.39 kB / 1.35 GB, free: 8 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.3862, allocations: 349.7 kB / 1.351 GB, free: 7.652 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.3863, allocations: 33.7 kB / 1.351 GB, free: 7.613 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.3864, allocations: 220.1 kB / 1.351 GB, free: 7.395 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.05e-05/0.3865, allocations: 63.45 kB / 1.351 GB, free: 7.332 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.475e-05/0.3866, allocations: 53.66 kB / 1.351 GB, free: 7.273 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3867, allocations: 338.8 kB / 1.351 GB, free: 6.934 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.387, allocations: 101.6 kB / 1.352 GB, free: 6.828 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.3872, allocations: 179 kB / 1.352 GB, free: 6.613 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.3877, allocations: 244.9 kB / 1.352 GB, free: 6.336 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3877, allocations: 0 / 1.352 GB, free: 6.336 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006125/0.3883, allocations: 345.5 kB / 1.352 GB, free: 5.98 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.3883, allocations: 34.02 kB / 1.352 GB, free: 5.941 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3883, allocations: 8 kB / 1.352 GB, free: 5.934 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3883, allocations: 7.938 kB / 1.352 GB, free: 5.926 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.3886, allocations: 59.89 kB / 1.352 GB, free: 5.867 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.3886, allocations: 4 kB / 1.352 GB, free: 5.863 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.3888, allocations: 31.83 kB / 1.352 GB, free: 5.832 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.3888, allocations: 16 kB / 1.352 GB, free: 5.816 MB / 1.045 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.0001815/0.389, allocations: 162.2 kB / 1.353 GB, free: 5.648 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.3891, allocations: 31.81 kB / 1.353 GB, free: 5.617 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004595/0.3895, allocations: 196.5 kB / 1.353 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3895, allocations: 3.938 kB / 1.353 GB, free: 5.414 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3895, allocations: 3.938 kB / 1.353 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005192/0.3901, allocations: 490.1 kB / 1.353 GB, free: 4.848 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.3905, allocations: 288.5 kB / 1.354 GB, free: 4.523 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3905, allocations: 4 kB / 1.354 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.3907, allocations: 31.92 kB / 1.354 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3907, allocations: 4 kB / 1.354 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.3907, allocations: 7.984 kB / 1.354 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.3907, allocations: 3.938 kB / 1.354 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3907, allocations: 0 / 1.354 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006418/0.3913, allocations: 284.7 kB / 1.354 GB, free: 4.176 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.3915, allocations: 51.73 kB / 1.354 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.3915, allocations: 3.984 kB / 1.354 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.3917, allocations: 27.91 kB / 1.354 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.3918, allocations: 19.97 kB / 1.354 GB, free: 4.074 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.3918, allocations: 7.938 kB / 1.354 GB, free: 4.066 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002757/0.3921, allocations: 251.2 kB / 1.354 GB, free: 3.824 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3921, allocations: 0 / 1.354 GB, free: 3.824 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004626/0.3926, allocations: 119.8 kB / 1.354 GB, free: 3.707 MB / 1.045 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.001196/0.3938, allocations: 0.9165 MB / 1.355 GB, free: 2.758 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005191/0.3943, allocations: 252.1 kB / 1.355 GB, free: 2.496 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3943, allocations: 0 / 1.355 GB, free: 2.496 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.3945, allocations: 63.89 kB / 1.356 GB, free: 2.434 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009621/0.3954, allocations: 223.2 kB / 1.356 GB, free: 2.227 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004699/0.4001, allocations: 3.163 MB / 1.359 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.4003, allocations: 193.6 kB / 1.359 GB, free: 14.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002573/0.4006, allocations: 71.17 kB / 1.359 GB, free: 14.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.4007, allocations: 119.4 kB / 1.359 GB, free: 14.5 MB / 1.061 GB Notification: Performance of SimCode: time 6.61e-07/0.4007, allocations: 0 / 1.359 GB, free: 14.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04213/0.4429, allocations: 11.65 MB / 1.371 GB, free: 3.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.52, allocations: 2.188 kB / 1.371 GB, free: 3.16 MB / 1.061 GB " [Timeout remaining time 288] (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/jenkins1/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: 17.93505052602268]