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.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.001243/0.001243, allocations: 109.2 kB / 16.46 MB, free: 6.504 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.001283/0.001283, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.432/1.432, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.786/2.786, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.89 kB / 1.104 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8719/0.8738, allocations: 168.7 MB / 1.269 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02784/0.9016, allocations: 14.54 MB / 1.283 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.9126, allocations: 3.651 MB / 1.286 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.9137, allocations: 23.88 kB / 1.287 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.9149, allocations: 214.6 kB / 1.287 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00343/0.9184, allocations: 0.6064 MB / 1.287 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.9203, allocations: 398.3 kB / 1.288 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002723/0.9231, allocations: 1.083 MB / 1.289 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007523/0.9238, allocations: 278.8 kB / 1.289 GB, free: 368 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001845/0.9256, allocations: 403.4 kB / 1.289 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008003/0.9264, allocations: 322.5 kB / 1.29 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.383e-05/0.9265, allocations: 36 kB / 1.29 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.9277, allocations: 259.5 kB / 1.29 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.9279, allocations: 107.5 kB / 1.29 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003858/0.9283, allocations: 203.1 kB / 1.29 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.9298, allocations: 0.5916 MB / 1.291 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9298, allocations: 4 kB / 1.291 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.535e-06/0.9298, allocations: 7.938 kB / 1.291 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.9298, allocations: 0 / 1.291 GB, free: 14.45 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.002083/0.9319, allocations: 0.7569 MB / 1.292 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.9319, allocations: 8.031 kB / 1.292 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.932, allocations: 62.72 kB / 1.292 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003448/0.9324, allocations: 52.66 kB / 1.292 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.9337, allocations: 471.9 kB / 1.292 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.9337, allocations: 28.69 kB / 1.292 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.9338, allocations: 24 kB / 1.292 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.9349, allocations: 310.2 kB / 1.293 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.9349, allocations: 0 / 1.293 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.329e-05/0.9349, allocations: 12 kB / 1.293 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.794e-05/0.935, allocations: 8 kB / 1.293 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009277/0.9359, allocations: 202 kB / 1.293 GB, free: 12.42 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.003094/0.939, allocations: 1.478 MB / 1.294 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007916/0.9398, allocations: 150.6 kB / 1.294 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.9401, allocations: 64.83 kB / 1.294 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.9403, allocations: 85.09 kB / 1.294 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004709/0.9408, allocations: 123.3 kB / 1.295 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 3.466e-06/0.9408, allocations: 0 / 1.295 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.001184/0.942, allocations: 250.8 kB / 1.295 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/0.942, allocations: 55.41 kB / 1.295 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007001/0.9427, allocations: 345.7 kB / 1.295 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.239e-05/0.9428, allocations: 33.7 kB / 1.295 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.9431, allocations: 220.1 kB / 1.295 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.481e-05/0.9432, allocations: 51.59 kB / 1.296 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.9434, allocations: 53.66 kB / 1.296 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002541/0.9436, allocations: 346.8 kB / 1.296 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.944, allocations: 71.95 kB / 1.296 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004644/0.9444, allocations: 149.3 kB / 1.296 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008109/0.9452, allocations: 242.9 kB / 1.296 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.9453, allocations: 8 kB / 1.296 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00123/0.9465, allocations: 316.8 kB / 1.297 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.224e-05/0.9466, allocations: 33.7 kB / 1.297 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.9466, allocations: 4 kB / 1.297 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.9466, allocations: 3.938 kB / 1.297 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.9471, allocations: 59.91 kB / 1.297 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.612e-05/0.9471, allocations: 11.92 kB / 1.297 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005455/0.9476, allocations: 36.02 kB / 1.297 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.9477, allocations: 12 kB / 1.297 GB, free: 7.969 MB / 0.9981 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.0003207/0.948, allocations: 154.7 kB / 1.297 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.9481, allocations: 35.81 kB / 1.297 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008696/0.949, allocations: 188.5 kB / 1.297 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.949, allocations: 11.88 kB / 1.297 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.949, allocations: 0 / 1.297 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009842/0.95, allocations: 493.7 kB / 1.298 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008447/0.9509, allocations: 353.4 kB / 1.298 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.9509, allocations: 0 / 1.298 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.9512, allocations: 35.97 kB / 1.298 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.9512, allocations: 0 / 1.298 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.9512, allocations: 4 kB / 1.298 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-05/0.9512, allocations: 3.938 kB / 1.298 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9512, allocations: 0 / 1.298 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.9524, allocations: 288.7 kB / 1.298 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000285/0.9527, allocations: 128.8 kB / 1.298 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.182e-05/0.9527, allocations: 4 kB / 1.298 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004439/0.9532, allocations: 15.92 kB / 1.298 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.9533, allocations: 20.06 kB / 1.298 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.9533, allocations: 12 kB / 1.298 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005269/0.9539, allocations: 243.2 kB / 1.299 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9539, allocations: 0 / 1.299 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008689/0.9547, allocations: 127.8 kB / 1.299 GB, free: 5.703 MB / 0.9981 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.002057/0.9568, allocations: 0.9311 MB / 1.3 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009465/0.9577, allocations: 215.2 kB / 1.3 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.9577, allocations: 0 / 1.3 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.958, allocations: 64.52 kB / 1.3 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.9598, allocations: 221.8 kB / 1.3 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008159/0.9679, allocations: 3.081 MB / 1.303 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/0.9687, allocations: 0.7918 MB / 1.304 GB, free: 220 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005247/0.9692, allocations: 67.23 kB / 1.304 GB, free: 152 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/0.9695, allocations: 115.4 kB / 1.304 GB, free: 36 kB / 0.9981 GB Notification: Performance of SimCode: time 1.813e-06/0.9695, allocations: 0 / 1.304 GB, free: 36 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0463/1.016, allocations: 10.24 MB / 1.314 GB, free: 5.988 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.45/10.47, allocations: 10.12 kB / 1.314 GB, free: 5.98 MB / 1.014 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.53100374294445]