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.00128/0.00128, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001491/0.001491, allocations: 214.7 kB / 22.25 MB, free: 5.125 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.342/1.342, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 179] 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 2.966/2.966, allocations: 0.505 GB / 0.8101 GB, free: 22.11 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_latest_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.001928/0.001928, allocations: 66.97 kB / 1.177 GB, free: 17.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2885, allocations: 180.2 MB / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01668/0.3052, allocations: 14.79 MB / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005264/0.3105, allocations: 3.689 MB / 1.371 GB, free: 5.953 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004348/0.3109, allocations: 27.81 kB / 1.371 GB, free: 5.926 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006109/0.3115, allocations: 218.6 kB / 1.371 GB, free: 5.711 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.3129, allocations: 0.6259 MB / 1.372 GB, free: 5.082 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008993/0.3138, allocations: 409.9 kB / 1.372 GB, free: 4.684 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001394/0.3152, allocations: 1.128 MB / 1.373 GB, free: 3.555 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004549/0.3157, allocations: 257 kB / 1.373 GB, free: 3.293 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.3168, allocations: 442.3 kB / 1.374 GB, free: 2.863 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004763/0.3173, allocations: 326.5 kB / 1.374 GB, free: 2.543 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/0.3174, allocations: 32 kB / 1.374 GB, free: 2.512 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005433/0.3179, allocations: 287.5 kB / 1.375 GB, free: 2.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.318, allocations: 103.5 kB / 1.375 GB, free: 2.129 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.3183, allocations: 211 kB / 1.375 GB, free: 1.922 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008241/0.3191, allocations: 0.6227 MB / 1.375 GB, free: 1.297 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3191, allocations: 4 kB / 1.375 GB, free: 1.293 MB / 1.061 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3191, allocations: 0 / 1.375 GB, free: 1.293 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.3191, allocations: 0 / 1.375 GB, free: 1.293 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.001124/0.3202, allocations: 0.6855 MB / 1.376 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.3203, allocations: 8.031 kB / 1.376 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.332e-05/0.3203, allocations: 66.72 kB / 1.376 GB, free: 500 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.3205, allocations: 48.66 kB / 1.376 GB, free: 452 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007057/0.3212, allocations: 408.7 kB / 1.377 GB, free: 16 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.3212, allocations: 16.89 kB / 1.377 GB, free: 16 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.3213, allocations: 31.94 kB / 1.377 GB, free: 15.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000558/0.3218, allocations: 321.2 kB / 1.377 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3219, allocations: 0 / 1.377 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.3219, allocations: 12 kB / 1.377 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.3219, allocations: 4 kB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004413/0.3223, allocations: 189.8 kB / 1.377 GB, free: 15.43 MB / 1.076 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.00177/0.3241, allocations: 1.437 MB / 1.379 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.3245, allocations: 150.6 kB / 1.379 GB, free: 13.72 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.3247, allocations: 56.83 kB / 1.379 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.751e-05/0.3248, allocations: 11.98 kB / 1.379 GB, free: 13.65 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002769/0.3251, allocations: 127.3 kB / 1.379 GB, free: 13.51 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.3251, allocations: 0 / 1.379 GB, free: 13.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0006192/0.3257, allocations: 235.4 kB / 1.379 GB, free: 13.28 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.3257, allocations: 63.33 kB / 1.379 GB, free: 13.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/0.3261, allocations: 349.7 kB / 1.38 GB, free: 12.86 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.3261, allocations: 33.7 kB / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.3263, allocations: 224.1 kB / 1.38 GB, free: 12.6 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.3264, allocations: 47.59 kB / 1.38 GB, free: 12.55 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.96e-05/0.3264, allocations: 53.66 kB / 1.38 GB, free: 12.49 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3266, allocations: 346.8 kB / 1.38 GB, free: 12.14 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.3268, allocations: 63.95 kB / 1.38 GB, free: 12.08 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.327, allocations: 161.3 kB / 1.38 GB, free: 11.89 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.3274, allocations: 240.5 kB / 1.381 GB, free: 11.62 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3274, allocations: 4 kB / 1.381 GB, free: 11.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005817/0.328, allocations: 312.7 kB / 1.381 GB, free: 11.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.328, allocations: 33.69 kB / 1.381 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.328, allocations: 4 kB / 1.381 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.328, allocations: 4.312 kB / 1.381 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.3283, allocations: 67.84 kB / 1.381 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.3283, allocations: 4 kB / 1.381 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.3285, allocations: 35.77 kB / 1.381 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.3285, allocations: 8 kB / 1.381 GB, free: 11.14 MB / 1.076 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.0001653/0.3287, allocations: 161.7 kB / 1.381 GB, free: 10.97 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.3288, allocations: 35.77 kB / 1.381 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.3292, allocations: 200.4 kB / 1.381 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3292, allocations: 7.875 kB / 1.381 GB, free: 10.72 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3292, allocations: 4 kB / 1.381 GB, free: 10.72 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004975/0.3297, allocations: 494.1 kB / 1.382 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.3301, allocations: 316.5 kB / 1.382 GB, free: 9.801 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3301, allocations: 0 / 1.382 GB, free: 9.801 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.3303, allocations: 43.91 kB / 1.382 GB, free: 9.758 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3303, allocations: 0 / 1.382 GB, free: 9.758 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3303, allocations: 0 / 1.382 GB, free: 9.758 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.3303, allocations: 7.938 kB / 1.382 GB, free: 9.75 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3303, allocations: 0 / 1.382 GB, free: 9.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005876/0.3309, allocations: 288.7 kB / 1.383 GB, free: 9.449 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.331, allocations: 51.83 kB / 1.383 GB, free: 9.398 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.3311, allocations: 4 kB / 1.383 GB, free: 9.395 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.3313, allocations: 15.92 kB / 1.383 GB, free: 9.379 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.3313, allocations: 19.97 kB / 1.383 GB, free: 9.359 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.3314, allocations: 7.984 kB / 1.383 GB, free: 9.352 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002632/0.3316, allocations: 251.2 kB / 1.383 GB, free: 9.105 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3316, allocations: 0 / 1.383 GB, free: 9.105 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003963/0.332, allocations: 127.7 kB / 1.383 GB, free: 8.98 MB / 1.076 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.001077/0.3331, allocations: 0.9104 MB / 1.384 GB, free: 8.039 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004719/0.3336, allocations: 219.7 kB / 1.384 GB, free: 7.812 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3336, allocations: 4.062 kB / 1.384 GB, free: 7.809 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.3337, allocations: 67.89 kB / 1.384 GB, free: 7.742 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008841/0.3346, allocations: 213.8 kB / 1.384 GB, free: 7.539 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/0.3388, allocations: 3.068 MB / 1.387 GB, free: 4.332 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.3392, allocations: 0.7956 MB / 1.388 GB, free: 3.508 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002216/0.3394, allocations: 63.19 kB / 1.388 GB, free: 3.445 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.3396, allocations: 115.4 kB / 1.388 GB, free: 3.332 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/0.3396, allocations: 0 / 1.388 GB, free: 3.332 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03948/0.3791, allocations: 10.5 MB / 1.399 GB, free: 9.051 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.88, allocations: 2.234 kB / 1.399 GB, free: 9.051 MB / 1.092 GB " [Timeout remaining time 289] (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: 16.893924633972347]