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.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.001572/0.001572, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00139/0.00139, allocations: 216.7 kB / 23.04 MB, free: 5.078 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.082/3.082, allocations: 476.7 MB / 0.7714 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_11_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.002086/0.002086, allocations: 67.16 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3845, allocations: 169.9 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01954/0.404, allocations: 14.78 MB / 1.299 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006856/0.4109, allocations: 3.672 MB / 1.302 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.412, allocations: 27.75 kB / 1.302 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009038/0.4129, allocations: 214.7 kB / 1.302 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.415, allocations: 0.6337 MB / 1.303 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.4163, allocations: 406.5 kB / 1.303 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001959/0.4183, allocations: 1.13 MB / 1.304 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005359/0.4188, allocations: 249.5 kB / 1.305 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.4203, allocations: 411.7 kB / 1.305 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007995/0.4211, allocations: 334.5 kB / 1.305 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.268e-05/0.4211, allocations: 32 kB / 1.305 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008344/0.422, allocations: 295.4 kB / 1.306 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.4221, allocations: 95.67 kB / 1.306 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003092/0.4224, allocations: 210.9 kB / 1.306 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.4237, allocations: 0.6189 MB / 1.307 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4237, allocations: 0 / 1.307 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4237, allocations: 4 kB / 1.307 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.4237, allocations: 0 / 1.307 GB, free: 4.59 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.001448/0.4252, allocations: 0.6855 MB / 1.307 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.4252, allocations: 8.031 kB / 1.307 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.688e-05/0.4253, allocations: 8.688 kB / 1.307 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.221e-05/0.4253, allocations: 62.72 kB / 1.307 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.4256, allocations: 48.66 kB / 1.307 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008486/0.4264, allocations: 408.7 kB / 1.308 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.4264, allocations: 28.44 kB / 1.308 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.293e-05/0.4265, allocations: 24 kB / 1.308 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006417/0.4271, allocations: 309.3 kB / 1.308 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.4272, allocations: 3.953 kB / 1.308 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/0.4272, allocations: 12 kB / 1.308 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.4272, allocations: 15.94 kB / 1.308 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000489/0.4277, allocations: 193.8 kB / 1.308 GB, free: 2.711 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.002034/0.4297, allocations: 1.414 MB / 1.31 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/0.4302, allocations: 154.6 kB / 1.31 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.4304, allocations: 64.81 kB / 1.31 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.4305, allocations: 7.938 kB / 1.31 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003202/0.4308, allocations: 131.5 kB / 1.31 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.843e-06/0.4308, allocations: 0 / 1.31 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007001/0.4315, allocations: 237.3 kB / 1.31 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.4316, allocations: 59.34 kB / 1.31 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004051/0.432, allocations: 349.6 kB / 1.311 GB, free: 152 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.432, allocations: 33.7 kB / 1.311 GB, free: 112 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.4322, allocations: 224 kB / 1.311 GB, free: 15.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.37e-05/0.4323, allocations: 55.53 kB / 1.311 GB, free: 15.83 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.586e-05/0.4324, allocations: 53.66 kB / 1.311 GB, free: 15.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4326, allocations: 350.8 kB / 1.311 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.4328, allocations: 71.95 kB / 1.311 GB, free: 15.35 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.4331, allocations: 142.6 kB / 1.312 GB, free: 15.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004669/0.4335, allocations: 241.2 kB / 1.312 GB, free: 14.91 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4335, allocations: 4 kB / 1.312 GB, free: 14.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000659/0.4342, allocations: 314.8 kB / 1.312 GB, free: 14.58 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/0.4342, allocations: 33.7 kB / 1.312 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.4342, allocations: 4 kB / 1.312 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.4343, allocations: 3.938 kB / 1.312 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.4345, allocations: 63.89 kB / 1.312 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.4345, allocations: 4 kB / 1.312 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.4348, allocations: 40.08 kB / 1.312 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.4348, allocations: 8 kB / 1.312 GB, free: 14.42 MB / 1.014 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.0001861/0.435, allocations: 161.8 kB / 1.312 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.4351, allocations: 35.77 kB / 1.312 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000517/0.4356, allocations: 207.4 kB / 1.313 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4356, allocations: 4 kB / 1.313 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4356, allocations: 4 kB / 1.313 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005991/0.4362, allocations: 483.7 kB / 1.313 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000486/0.4367, allocations: 320.5 kB / 1.313 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4367, allocations: 0 / 1.313 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.4369, allocations: 31.92 kB / 1.313 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4369, allocations: 0 / 1.313 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.4369, allocations: 15.92 kB / 1.314 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4369, allocations: 3.938 kB / 1.314 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4369, allocations: 4 kB / 1.314 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006701/0.4376, allocations: 280.6 kB / 1.314 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.4377, allocations: 47.77 kB / 1.314 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/0.4377, allocations: 11.94 kB / 1.314 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.438, allocations: 23.97 kB / 1.314 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.438, allocations: 19.91 kB / 1.314 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.4381, allocations: 8 kB / 1.314 GB, free: 12.63 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002912/0.4384, allocations: 247.2 kB / 1.314 GB, free: 12.39 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4384, allocations: 4 kB / 1.314 GB, free: 12.39 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004821/0.4388, allocations: 127.6 kB / 1.314 GB, free: 12.27 MB / 1.014 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.001295/0.4401, allocations: 0.9003 MB / 1.315 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000583/0.4407, allocations: 229.5 kB / 1.315 GB, free: 11.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4407, allocations: 0 / 1.315 GB, free: 11.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.4409, allocations: 68.52 kB / 1.315 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.442, allocations: 214.1 kB / 1.316 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004933/0.4469, allocations: 3.059 MB / 1.319 GB, free: 7.633 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.4474, allocations: 0.7957 MB / 1.319 GB, free: 6.809 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003283/0.4477, allocations: 59.25 kB / 1.319 GB, free: 6.75 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.4479, allocations: 119.4 kB / 1.32 GB, free: 6.633 MB / 1.014 GB Notification: Performance of SimCode: time 6.92e-07/0.4479, allocations: 7.875 kB / 1.32 GB, free: 6.625 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04223/0.4902, allocations: 10.51 MB / 1.33 GB, free: 12.37 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.92, allocations: 9.062 kB / 1.33 GB, free: 12.36 MB / 1.029 GB " [Timeout remaining time 286] (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/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: 20.239849072007928]