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.001419/0.001419, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.00151/0.00151, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.461/1.461, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.785/2.785, allocations: 476.7 MB / 0.7672 GB, free: 5.195 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.003172/0.003172, allocations: 75.89 kB / 1.112 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8616/0.8648, allocations: 169.9 MB / 1.278 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01951/0.8843, allocations: 14.65 MB / 1.293 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006142/0.8904, allocations: 3.657 MB / 1.296 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005648/0.891, allocations: 23.81 kB / 1.296 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006692/0.8916, allocations: 210.7 kB / 1.296 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.8932, allocations: 0.6181 MB / 1.297 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.8942, allocations: 403.3 kB / 1.297 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00176/0.896, allocations: 1.087 MB / 1.298 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004448/0.8964, allocations: 261.1 kB / 1.299 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.8975, allocations: 398.5 kB / 1.299 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004413/0.898, allocations: 326.5 kB / 1.299 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.769e-05/0.898, allocations: 36 kB / 1.299 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006631/0.8987, allocations: 287.4 kB / 1.3 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.8988, allocations: 95.62 kB / 1.3 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.899, allocations: 218.9 kB / 1.3 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009296/0.9, allocations: 0.6111 MB / 1.301 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.9, allocations: 0 / 1.301 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.113e-06/0.9, allocations: 0 / 1.301 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.9, allocations: 0 / 1.301 GB, free: 6.445 MB / 0.9981 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.001277/0.9013, allocations: 0.7608 MB / 1.301 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.9013, allocations: 11.97 kB / 1.301 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.561e-05/0.9014, allocations: 62.72 kB / 1.301 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.9016, allocations: 52.66 kB / 1.301 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007773/0.9023, allocations: 471.9 kB / 1.302 GB, free: 5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.9024, allocations: 28.44 kB / 1.302 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/0.9024, allocations: 24 kB / 1.302 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006302/0.9031, allocations: 310.2 kB / 1.302 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.9031, allocations: 0 / 1.302 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.9031, allocations: 12 kB / 1.302 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.9031, allocations: 12 kB / 1.302 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/0.9036, allocations: 198 kB / 1.302 GB, free: 4.41 MB / 0.9981 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.002204/0.9058, allocations: 1.485 MB / 1.304 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.9063, allocations: 146.6 kB / 1.304 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.9065, allocations: 60.83 kB / 1.304 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.9067, allocations: 85.09 kB / 1.304 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003244/0.907, allocations: 137.8 kB / 1.304 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/0.907, allocations: 0 / 1.304 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.000707/0.9077, allocations: 233.3 kB / 1.305 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.9078, allocations: 55.41 kB / 1.305 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004256/0.9082, allocations: 353.6 kB / 1.305 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.9083, allocations: 33.7 kB / 1.305 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.9084, allocations: 220.1 kB / 1.305 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.794e-05/0.9085, allocations: 51.59 kB / 1.305 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.977e-05/0.9086, allocations: 49.69 kB / 1.305 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.9088, allocations: 342.8 kB / 1.306 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.909, allocations: 75.89 kB / 1.306 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.9093, allocations: 150.6 kB / 1.306 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/0.9097, allocations: 249.4 kB / 1.306 GB, free: 452 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9097, allocations: 0 / 1.306 GB, free: 452 kB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006506/0.9104, allocations: 310.8 kB / 1.306 GB, free: 128 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/0.9104, allocations: 40.34 kB / 1.306 GB, free: 84 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.9104, allocations: 4 kB / 1.306 GB, free: 80 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.9104, allocations: 7.938 kB / 1.306 GB, free: 72 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.9107, allocations: 59.91 kB / 1.306 GB, free: 12 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.9107, allocations: 4 kB / 1.306 GB, free: 8 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.911, allocations: 35.77 kB / 1.306 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.911, allocations: 8 kB / 1.306 GB, free: 15.96 MB / 1.014 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.0001788/0.9112, allocations: 157.8 kB / 1.307 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.9112, allocations: 35.81 kB / 1.307 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/0.9118, allocations: 210.8 kB / 1.307 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.9118, allocations: 0 / 1.307 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.9118, allocations: 4 kB / 1.307 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006062/0.9124, allocations: 483.7 kB / 1.307 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.9129, allocations: 353.4 kB / 1.308 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9129, allocations: 4 kB / 1.308 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.9131, allocations: 35.91 kB / 1.308 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9131, allocations: 0 / 1.308 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.9131, allocations: 3.938 kB / 1.308 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.9131, allocations: 4 kB / 1.308 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9131, allocations: 4 kB / 1.308 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008115/0.9139, allocations: 288.6 kB / 1.308 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.914, allocations: 128.9 kB / 1.308 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.9141, allocations: 7.938 kB / 1.308 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.9143, allocations: 15.97 kB / 1.308 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.9144, allocations: 15.98 kB / 1.308 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.9144, allocations: 11.98 kB / 1.308 GB, free: 14.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002933/0.9147, allocations: 251.1 kB / 1.308 GB, free: 13.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9147, allocations: 0 / 1.308 GB, free: 13.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004505/0.9152, allocations: 123.8 kB / 1.309 GB, free: 13.68 MB / 1.014 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.00133/0.9165, allocations: 0.9118 MB / 1.309 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005548/0.9171, allocations: 227.4 kB / 1.31 GB, free: 12.51 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.9171, allocations: 0 / 1.31 GB, free: 12.51 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.9173, allocations: 59.95 kB / 1.31 GB, free: 12.45 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.9184, allocations: 222 kB / 1.31 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004763/0.9231, allocations: 3.065 MB / 1.313 GB, free: 9.039 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.9236, allocations: 0.7918 MB / 1.314 GB, free: 8.223 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002633/0.9239, allocations: 63.19 kB / 1.314 GB, free: 8.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.9241, allocations: 115.4 kB / 1.314 GB, free: 8.047 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/0.9241, allocations: 0 / 1.314 GB, free: 8.047 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04255/0.9666, allocations: 10.25 MB / 1.324 GB, free: 14 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.379/10.35, allocations: 8.047 kB / 1.324 GB, free: 13.99 MB / 1.029 GB " [Timeout remaining time 290] (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/jenkins1/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: 16.469646932091564]