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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00795/0.00795, allocations: 99.31 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 188.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.692/2.692, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 64.14 kB / 1.054 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3721, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01965/0.3918, allocations: 14.44 MB / 1.221 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006908/0.3987, allocations: 3.643 MB / 1.225 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000983/0.3998, allocations: 19.88 kB / 1.225 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.4009, allocations: 202.7 kB / 1.225 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002256/0.4032, allocations: 0.5869 MB / 1.226 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.4046, allocations: 399.4 kB / 1.226 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001926/0.4066, allocations: 1.075 MB / 1.227 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006877/0.4073, allocations: 321.3 kB / 1.227 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.4087, allocations: 407.8 kB / 1.228 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007597/0.4095, allocations: 306.7 kB / 1.228 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.4096, allocations: 32 kB / 1.228 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009415/0.4106, allocations: 259.5 kB / 1.228 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.4107, allocations: 95.66 kB / 1.229 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003912/0.4111, allocations: 214.9 kB / 1.229 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.4125, allocations: 0.588 MB / 1.229 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.4125, allocations: 0 / 1.229 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.725e-06/0.4125, allocations: 0 / 1.229 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.4125, allocations: 4 kB / 1.229 GB, free: 3.551 MB / 0.9825 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.001681/0.4142, allocations: 0.7458 MB / 1.23 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.4143, allocations: 8.625 kB / 1.23 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.447e-05/0.4144, allocations: 58.73 kB / 1.23 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.4146, allocations: 52.36 kB / 1.23 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008606/0.4155, allocations: 467.6 kB / 1.231 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.4155, allocations: 24.67 kB / 1.231 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.4156, allocations: 31.94 kB / 1.231 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006073/0.4162, allocations: 310.2 kB / 1.231 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.4162, allocations: 0 / 1.231 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.4163, allocations: 12 kB / 1.231 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.4163, allocations: 4 kB / 1.231 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005244/0.4168, allocations: 202 kB / 1.231 GB, free: 1.543 MB / 0.9825 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.002338/0.4192, allocations: 1.481 MB / 1.233 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.4196, allocations: 150.6 kB / 1.233 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.4198, allocations: 76.81 kB / 1.233 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/0.42, allocations: 85.11 kB / 1.233 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/0.4203, allocations: 127.3 kB / 1.233 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 2.254e-06/0.4204, allocations: 0 / 1.233 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0006739/0.421, allocations: 237.1 kB / 1.233 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.4211, allocations: 55.39 kB / 1.233 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/0.4215, allocations: 349.7 kB / 1.234 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.4215, allocations: 33.7 kB / 1.234 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.4217, allocations: 215.7 kB / 1.234 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/0.4218, allocations: 55.14 kB / 1.234 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-05/0.4219, allocations: 49.7 kB / 1.234 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.422, allocations: 342.8 kB / 1.234 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.4222, allocations: 75.95 kB / 1.234 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.4225, allocations: 146.6 kB / 1.234 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.4229, allocations: 256.4 kB / 1.235 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4229, allocations: 0 / 1.235 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000632/0.4236, allocations: 314.7 kB / 1.235 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.4236, allocations: 35.27 kB / 1.235 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4236, allocations: 0 / 1.235 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.4236, allocations: 11.92 kB / 1.235 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.4239, allocations: 59.91 kB / 1.235 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.4239, allocations: 7.938 kB / 1.235 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.4242, allocations: 27.83 kB / 1.235 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.4242, allocations: 8 kB / 1.235 GB, free: 13.09 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.0001798/0.4244, allocations: 165.9 kB / 1.235 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.4245, allocations: 31.62 kB / 1.235 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004768/0.425, allocations: 195.5 kB / 1.236 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.425, allocations: 3.938 kB / 1.236 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.425, allocations: 4 kB / 1.236 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005076/0.4255, allocations: 487.7 kB / 1.236 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000417/0.4259, allocations: 353.3 kB / 1.236 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4259, allocations: 0 / 1.236 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.4261, allocations: 35.92 kB / 1.236 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4261, allocations: 0 / 1.236 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.4261, allocations: 0 / 1.236 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.4262, allocations: 7.938 kB / 1.236 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.4262, allocations: 3.984 kB / 1.236 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/0.4268, allocations: 280.6 kB / 1.237 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.4269, allocations: 124.7 kB / 1.237 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.427, allocations: 4 kB / 1.237 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.4272, allocations: 23.89 kB / 1.237 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.4273, allocations: 23.92 kB / 1.237 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.4273, allocations: 7.984 kB / 1.237 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00026/0.4276, allocations: 251.2 kB / 1.237 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4276, allocations: 0 / 1.237 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000426/0.428, allocations: 127.7 kB / 1.237 GB, free: 10.82 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.001146/0.4292, allocations: 0.9075 MB / 1.238 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005149/0.4297, allocations: 240.4 kB / 1.238 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4297, allocations: 3.938 kB / 1.238 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.4299, allocations: 63.91 kB / 1.238 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009689/0.4309, allocations: 211.8 kB / 1.239 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/0.4358, allocations: 3.052 MB / 1.242 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.4362, allocations: 0.7918 MB / 1.242 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003217/0.4366, allocations: 67.23 kB / 1.242 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.4368, allocations: 111.4 kB / 1.243 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/0.4368, allocations: 3.938 kB / 1.243 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6592/1.096, allocations: 10.35 MB / 1.253 GB, free: 37.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.974/10.07, allocations: 11.48 kB / 1.253 GB, free: 37.96 MB / 0.9981 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) 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) Reference file matches