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.001476/0.001476, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001659/0.001659, allocations: 222.8 kB / 23.03 MB, free: 4.945 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.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.04/3.04, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_12_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.001989/0.001989, allocations: 71.3 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3251, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01634/0.3414, allocations: 13.49 MB / 1.34 GB, free: 3.961 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005241/0.3466, allocations: 3.39 MB / 1.343 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003754/0.347, allocations: 23.81 kB / 1.343 GB, free: 0.5391 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006097/0.3476, allocations: 214.7 kB / 1.343 GB, free: 336 kB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.3491, allocations: 0.622 MB / 1.344 GB, free: 15.7 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008918/0.35, allocations: 406.6 kB / 1.344 GB, free: 15.31 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001406/0.3514, allocations: 1.131 MB / 1.345 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.3518, allocations: 264.9 kB / 1.346 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.3529, allocations: 454.2 kB / 1.346 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004517/0.3534, allocations: 322.5 kB / 1.346 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.068e-05/0.3534, allocations: 32 kB / 1.346 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.3539, allocations: 215.6 kB / 1.347 GB, free: 12.9 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.354, allocations: 103.5 kB / 1.347 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.3542, allocations: 179.2 kB / 1.347 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008271/0.3551, allocations: 0.6072 MB / 1.347 GB, free: 12.02 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3551, allocations: 0 / 1.347 GB, free: 12.02 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3551, allocations: 0 / 1.347 GB, free: 12.02 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3551, allocations: 0 / 1.347 GB, free: 12.02 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.001185/0.3563, allocations: 0.6855 MB / 1.348 GB, free: 11.29 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3563, allocations: 8.031 kB / 1.348 GB, free: 11.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.258e-05/0.3563, allocations: 8.688 kB / 1.348 GB, free: 11.28 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.977e-05/0.3564, allocations: 62.72 kB / 1.348 GB, free: 11.21 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.3566, allocations: 52.66 kB / 1.348 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007246/0.3573, allocations: 404.8 kB / 1.349 GB, free: 10.73 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.3573, allocations: 24.44 kB / 1.349 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.3574, allocations: 24 kB / 1.349 GB, free: 10.69 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006788/0.358, allocations: 412 kB / 1.349 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.3581, allocations: 7.953 kB / 1.349 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.3581, allocations: 8 kB / 1.349 GB, free: 10.22 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.3581, allocations: 8 kB / 1.349 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/0.3586, allocations: 201.8 kB / 1.349 GB, free: 10.02 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.001785/0.3604, allocations: 1.139 MB / 1.35 GB, free: 8.812 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.3608, allocations: 154.6 kB / 1.351 GB, free: 8.652 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.361, allocations: 68.81 kB / 1.351 GB, free: 8.582 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.875e-05/0.3611, allocations: 8 kB / 1.351 GB, free: 8.574 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003707/0.3615, allocations: 230.1 kB / 1.351 GB, free: 8.312 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 2.314e-06/0.3615, allocations: 0 / 1.351 GB, free: 8.312 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0006504/0.3621, allocations: 235 kB / 1.351 GB, free: 8.078 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.438e-05/0.3622, allocations: 59.41 kB / 1.351 GB, free: 8.008 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004056/0.3626, allocations: 353.6 kB / 1.352 GB, free: 7.66 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.3627, allocations: 29.7 kB / 1.352 GB, free: 7.625 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.3628, allocations: 228 kB / 1.352 GB, free: 7.398 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.3629, allocations: 47.59 kB / 1.352 GB, free: 7.352 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.86e-05/0.363, allocations: 53.66 kB / 1.352 GB, free: 7.293 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3631, allocations: 342.8 kB / 1.352 GB, free: 6.949 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.3634, allocations: 101.6 kB / 1.352 GB, free: 6.844 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.3636, allocations: 175 kB / 1.352 GB, free: 6.633 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004486/0.3641, allocations: 252.7 kB / 1.353 GB, free: 6.348 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3641, allocations: 4 kB / 1.353 GB, free: 6.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006454/0.3647, allocations: 337.5 kB / 1.353 GB, free: 5.996 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/0.3648, allocations: 33.69 kB / 1.353 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3648, allocations: 4 kB / 1.353 GB, free: 5.953 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.3648, allocations: 12.25 kB / 1.353 GB, free: 5.941 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.3651, allocations: 59.91 kB / 1.353 GB, free: 5.883 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3651, allocations: 4 kB / 1.353 GB, free: 5.879 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.3654, allocations: 35.77 kB / 1.353 GB, free: 5.844 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.3654, allocations: 8 kB / 1.353 GB, free: 5.836 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.0001825/0.3656, allocations: 158.3 kB / 1.353 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.3656, allocations: 39.77 kB / 1.353 GB, free: 5.633 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004756/0.3661, allocations: 204.3 kB / 1.354 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3661, allocations: 4 kB / 1.354 GB, free: 5.422 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3661, allocations: 0 / 1.354 GB, free: 5.422 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005265/0.3666, allocations: 494.3 kB / 1.354 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.3671, allocations: 280.6 kB / 1.354 GB, free: 4.539 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.3671, allocations: 0 / 1.354 GB, free: 4.539 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.3673, allocations: 35.91 kB / 1.354 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3673, allocations: 0 / 1.354 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.3673, allocations: 11.94 kB / 1.354 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.3673, allocations: 4 kB / 1.354 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3673, allocations: 0 / 1.354 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006309/0.3679, allocations: 280.7 kB / 1.355 GB, free: 4.195 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.368, allocations: 48.08 kB / 1.355 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.809e-05/0.3681, allocations: 7.938 kB / 1.355 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.3683, allocations: 15.98 kB / 1.355 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.3684, allocations: 15.97 kB / 1.355 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.3684, allocations: 11.98 kB / 1.355 GB, free: 4.098 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002761/0.3687, allocations: 251.1 kB / 1.355 GB, free: 3.852 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3687, allocations: 0 / 1.355 GB, free: 3.852 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004488/0.3691, allocations: 131.6 kB / 1.355 GB, free: 3.723 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.001213/0.3703, allocations: 0.9127 MB / 1.356 GB, free: 2.781 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005303/0.3709, allocations: 253.1 kB / 1.356 GB, free: 2.516 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3709, allocations: 3.938 kB / 1.356 GB, free: 2.512 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.3711, allocations: 63.95 kB / 1.356 GB, free: 2.449 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009609/0.372, allocations: 216.2 kB / 1.356 GB, free: 2.25 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004659/0.3767, allocations: 3.176 MB / 1.36 GB, free: 14.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.3769, allocations: 193.6 kB / 1.36 GB, free: 14.7 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002432/0.3771, allocations: 71.17 kB / 1.36 GB, free: 14.63 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.3773, allocations: 115.4 kB / 1.36 GB, free: 14.52 MB / 1.061 GB Notification: Performance of SimCode: time 1.152e-06/0.3773, allocations: 0 / 1.36 GB, free: 14.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/0.4134, allocations: 11.2 MB / 1.371 GB, free: 3.668 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.04, allocations: 16 kB / 1.371 GB, free: 3.652 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.5343063629698]