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.001244/0.001244, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001424/0.001424, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 3.209/3.209, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="cs",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.002157/0.002157, allocations: 61.86 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3365, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01837/0.3549, allocations: 13.5 MB / 1.358 GB, free: 2.383 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006573/0.3614, allocations: 3.396 MB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000837/0.3623, allocations: 31.75 kB / 1.362 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008184/0.3631, allocations: 194.8 kB / 1.362 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.3651, allocations: 0.6298 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.3664, allocations: 409.7 kB / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00202/0.3684, allocations: 1.13 MB / 1.364 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000575/0.369, allocations: 260.9 kB / 1.364 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.3705, allocations: 445.3 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006563/0.3712, allocations: 322.6 kB / 1.365 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.445e-05/0.3712, allocations: 36 kB / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006738/0.3719, allocations: 215.5 kB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.3721, allocations: 103.6 kB / 1.365 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003306/0.3724, allocations: 179.2 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.3736, allocations: 0.6111 MB / 1.366 GB, free: 10.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3737, allocations: 0 / 1.366 GB, free: 10.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3737, allocations: 0 / 1.366 GB, free: 10.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.3737, allocations: 0 / 1.366 GB, free: 10.45 MB / 1.061 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.001449/0.3751, allocations: 0.6777 MB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.3752, allocations: 8.031 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.397e-05/0.3752, allocations: 12.69 kB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.39e-05/0.3753, allocations: 58.73 kB / 1.367 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.3755, allocations: 52.64 kB / 1.367 GB, free: 9.594 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008771/0.3764, allocations: 412.6 kB / 1.367 GB, free: 9.168 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.3764, allocations: 24.44 kB / 1.367 GB, free: 9.145 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/0.3765, allocations: 24 kB / 1.367 GB, free: 9.121 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000762/0.3772, allocations: 416.1 kB / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.3772, allocations: 0 / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.82e-05/0.3773, allocations: 12 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/0.3774, allocations: 7.938 kB / 1.368 GB, free: 8.648 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005018/0.3779, allocations: 193.8 kB / 1.368 GB, free: 8.461 MB / 1.061 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.002088/0.3799, allocations: 1.139 MB / 1.369 GB, free: 7.254 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.3804, allocations: 150.6 kB / 1.369 GB, free: 7.098 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.3806, allocations: 64.83 kB / 1.369 GB, free: 7.031 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.3807, allocations: 15.92 kB / 1.369 GB, free: 7.016 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003951/0.3811, allocations: 226.1 kB / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 2.866e-06/0.3811, allocations: 0 / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0007329/0.3819, allocations: 243.6 kB / 1.37 GB, free: 6.516 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.3819, allocations: 59.41 kB / 1.37 GB, free: 6.445 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/0.3824, allocations: 345.7 kB / 1.37 GB, free: 6.098 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/0.3824, allocations: 33.7 kB / 1.37 GB, free: 6.059 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.3827, allocations: 220.1 kB / 1.37 GB, free: 5.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.3828, allocations: 59.52 kB / 1.37 GB, free: 5.781 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/0.3829, allocations: 53.66 kB / 1.371 GB, free: 5.723 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.383, allocations: 346.8 kB / 1.371 GB, free: 5.375 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.3833, allocations: 97.66 kB / 1.371 GB, free: 5.273 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.3836, allocations: 171.1 kB / 1.371 GB, free: 5.066 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.384, allocations: 256.8 kB / 1.371 GB, free: 4.777 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.384, allocations: 0 / 1.371 GB, free: 4.777 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007103/0.3847, allocations: 346.2 kB / 1.372 GB, free: 4.422 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.3848, allocations: 38.02 kB / 1.372 GB, free: 4.379 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3848, allocations: 0 / 1.372 GB, free: 4.379 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.3848, allocations: 11.92 kB / 1.372 GB, free: 4.367 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.3851, allocations: 59.91 kB / 1.372 GB, free: 4.309 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.3851, allocations: 4 kB / 1.372 GB, free: 4.305 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.3854, allocations: 35.77 kB / 1.372 GB, free: 4.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.3854, allocations: 11.98 kB / 1.372 GB, free: 4.258 MB / 1.061 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.000217/0.3856, allocations: 153.8 kB / 1.372 GB, free: 4.098 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.677e-05/0.3857, allocations: 39.77 kB / 1.372 GB, free: 4.059 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005216/0.3862, allocations: 204.3 kB / 1.372 GB, free: 3.855 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3862, allocations: 4 kB / 1.372 GB, free: 3.852 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3862, allocations: 3.984 kB / 1.372 GB, free: 3.848 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005837/0.3868, allocations: 479.7 kB / 1.373 GB, free: 3.293 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005654/0.3874, allocations: 284.6 kB / 1.373 GB, free: 2.973 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.3874, allocations: 3.984 kB / 1.373 GB, free: 2.969 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.3876, allocations: 35.92 kB / 1.373 GB, free: 2.934 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.3876, allocations: 0 / 1.373 GB, free: 2.934 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.3876, allocations: 11.94 kB / 1.373 GB, free: 2.922 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3876, allocations: 3.938 kB / 1.373 GB, free: 2.918 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.3876, allocations: 0 / 1.373 GB, free: 2.918 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007389/0.3883, allocations: 286.5 kB / 1.373 GB, free: 2.621 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.3885, allocations: 43.83 kB / 1.373 GB, free: 2.578 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/0.3886, allocations: 11.94 kB / 1.373 GB, free: 2.566 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.3888, allocations: 19.97 kB / 1.373 GB, free: 2.547 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.3889, allocations: 19.91 kB / 1.373 GB, free: 2.527 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.3889, allocations: 8 kB / 1.373 GB, free: 2.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003174/0.3892, allocations: 247.2 kB / 1.374 GB, free: 2.281 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3892, allocations: 4 kB / 1.374 GB, free: 2.277 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000539/0.3898, allocations: 131.6 kB / 1.374 GB, free: 2.148 MB / 1.061 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.001364/0.3912, allocations: 0.9029 MB / 1.375 GB, free: 1.219 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006033/0.3918, allocations: 256.8 kB / 1.375 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3918, allocations: 0 / 1.375 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.3919, allocations: 67.89 kB / 1.375 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.393, allocations: 212.9 kB / 1.375 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00533/0.3984, allocations: 3.169 MB / 1.378 GB, free: 13.34 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.3986, allocations: 193.6 kB / 1.378 GB, free: 13.14 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003288/0.3989, allocations: 63.25 kB / 1.378 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.3991, allocations: 119.4 kB / 1.379 GB, free: 12.96 MB / 1.076 GB Notification: Performance of SimCode: time 9.02e-07/0.3991, allocations: 7.875 kB / 1.379 GB, free: 12.95 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03933/0.4384, allocations: 11.2 MB / 1.39 GB, free: 2.055 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.25, allocations: 2.938 kB / 1.39 GB, free: 2.055 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.91915265400894]