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.001876/0.001876, allocations: 107.2 kB / 16.45 MB, free: 6.508 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.002098/0.002098, allocations: 196.6 kB / 19.41 MB, free: 3.672 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.447/1.447, allocations: 225.6 MB / 247.8 MB, free: 13.97 MB / 206.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.752/2.752, allocations: 443.5 MB / 0.7287 GB, free: 13.31 MB / 0.5919 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.002035/0.002035, allocations: 67.89 kB / 1.056 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8414/0.8434, allocations: 160.7 MB / 1.213 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01826/0.8617, allocations: 14.55 MB / 1.227 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006153/0.8678, allocations: 3.656 MB / 1.231 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006094/0.8684, allocations: 19.78 kB / 1.231 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007018/0.8691, allocations: 216.2 kB / 1.231 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.8708, allocations: 0.6157 MB / 1.231 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.8719, allocations: 391.6 kB / 1.232 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001659/0.8735, allocations: 1.09 MB / 1.233 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005157/0.874, allocations: 278.2 kB / 1.233 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.8753, allocations: 399.1 kB / 1.234 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005375/0.8758, allocations: 322.6 kB / 1.234 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.632e-05/0.8759, allocations: 32 kB / 1.234 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007032/0.8766, allocations: 267.5 kB / 1.234 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.8767, allocations: 95.61 kB / 1.234 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.877, allocations: 211 kB / 1.234 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009938/0.878, allocations: 0.5955 MB / 1.235 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.878, allocations: 4 kB / 1.235 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.442e-06/0.878, allocations: 7.875 kB / 1.235 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.878, allocations: 0 / 1.235 GB, free: 1.5 MB / 0.9356 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.001373/0.8794, allocations: 0.7569 MB / 1.236 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.8794, allocations: 12.58 kB / 1.236 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.372e-05/0.8795, allocations: 62.73 kB / 1.236 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.8797, allocations: 48.66 kB / 1.236 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000876/0.8806, allocations: 475.8 kB / 1.236 GB, free: 56 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.8806, allocations: 28.69 kB / 1.236 GB, free: 24 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.8807, allocations: 24 kB / 1.236 GB, free: 0 / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006481/0.8813, allocations: 306.2 kB / 1.237 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.8813, allocations: 0 / 1.237 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.8814, allocations: 15.94 kB / 1.237 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.8814, allocations: 12 kB / 1.237 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005118/0.8819, allocations: 194 kB / 1.237 GB, free: 15.47 MB / 0.9512 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.002198/0.8841, allocations: 1.489 MB / 1.238 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/0.8846, allocations: 146.6 kB / 1.239 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.8848, allocations: 64.77 kB / 1.239 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.8849, allocations: 93.09 kB / 1.239 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003078/0.8852, allocations: 119.3 kB / 1.239 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.823e-06/0.8852, allocations: 0 / 1.239 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0006949/0.8859, allocations: 244.3 kB / 1.239 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.886, allocations: 55.41 kB / 1.239 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004599/0.8864, allocations: 353.6 kB / 1.239 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.8865, allocations: 25.7 kB / 1.239 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.8867, allocations: 220.1 kB / 1.24 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.8867, allocations: 51.59 kB / 1.24 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.8868, allocations: 57.66 kB / 1.24 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.887, allocations: 346.8 kB / 1.24 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.8872, allocations: 67.95 kB / 1.24 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.8875, allocations: 149.4 kB / 1.24 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/0.888, allocations: 245 kB / 1.241 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.888, allocations: 4 kB / 1.241 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006718/0.8886, allocations: 313.2 kB / 1.241 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.8887, allocations: 33.7 kB / 1.241 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.8887, allocations: 4 kB / 1.241 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.8887, allocations: 7.938 kB / 1.241 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.889, allocations: 55.89 kB / 1.241 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.889, allocations: 4 kB / 1.241 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.8892, allocations: 44.02 kB / 1.241 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.8893, allocations: 19.94 kB / 1.241 GB, free: 11.01 MB / 0.9512 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.0001913/0.8895, allocations: 157.8 kB / 1.241 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/0.8895, allocations: 35.77 kB / 1.241 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005275/0.8901, allocations: 192.5 kB / 1.241 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.8901, allocations: 7.875 kB / 1.241 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.8901, allocations: 4 kB / 1.241 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005698/0.8906, allocations: 479.7 kB / 1.242 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.8911, allocations: 349.4 kB / 1.242 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.8912, allocations: 7.922 kB / 1.242 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.8913, allocations: 27.98 kB / 1.242 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.8913, allocations: 4 kB / 1.242 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.8914, allocations: 4 kB / 1.242 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.8914, allocations: 3.938 kB / 1.242 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8914, allocations: 4 kB / 1.242 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006715/0.892, allocations: 283.7 kB / 1.242 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.8922, allocations: 128.9 kB / 1.243 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/0.8923, allocations: 7.938 kB / 1.243 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.8925, allocations: 23.91 kB / 1.243 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.8926, allocations: 19.98 kB / 1.243 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.8926, allocations: 8.078 kB / 1.243 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003039/0.8929, allocations: 247.2 kB / 1.243 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8929, allocations: 0 / 1.243 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004672/0.8934, allocations: 119.7 kB / 1.243 GB, free: 8.758 MB / 0.9512 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.001317/0.8947, allocations: 0.9243 MB / 1.244 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005679/0.8953, allocations: 219.2 kB / 1.244 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8953, allocations: 4.625 kB / 1.244 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.8955, allocations: 63.91 kB / 1.244 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.8965, allocations: 212.2 kB / 1.244 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/0.9015, allocations: 3.072 MB / 1.247 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.902, allocations: 0.7918 MB / 1.248 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003067/0.9023, allocations: 67.19 kB / 1.248 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.9025, allocations: 123.3 kB / 1.248 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of SimCode: time 8.32e-07/0.9025, allocations: 0 / 1.248 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04087/0.9434, allocations: 10.24 MB / 1.258 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.533/10.48, allocations: 1.562 kB / 1.258 GB, free: 9.055 MB / 0.9669 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.462573994882405]