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.001289/0.001289, 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.001399/0.001399, allocations: 217.9 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.339/1.339, allocations: 230.6 MB / 256.8 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.882/2.882, allocations: 0.5003 GB / 0.8061 GB, free: 26.72 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_latest_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.001808/0.001808, allocations: 63.44 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2846, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01541/0.3, allocations: 14.81 MB / 1.36 GB, free: 1.574 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005077/0.3051, allocations: 3.686 MB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003485/0.3054, allocations: 23.81 kB / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005446/0.306, allocations: 210.7 kB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.3072, allocations: 0.6337 MB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008091/0.308, allocations: 411.6 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001241/0.3093, allocations: 1.126 MB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004602/0.3097, allocations: 257 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.311, allocations: 444.8 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005604/0.3116, allocations: 330.5 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.3116, allocations: 32 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006965/0.3123, allocations: 279.5 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.3125, allocations: 107.5 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.3127, allocations: 214.9 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009811/0.3137, allocations: 0.6189 MB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3137, allocations: 0 / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3137, allocations: 4 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3137, allocations: 0 / 1.368 GB, free: 9.223 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.00113/0.3149, allocations: 0.6816 MB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3149, allocations: 12.03 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.741e-05/0.3149, allocations: 4.688 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.629e-05/0.315, allocations: 62.73 kB / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.3152, allocations: 56.64 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006875/0.3158, allocations: 400.8 kB / 1.369 GB, free: 7.949 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.3159, allocations: 24.38 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-05/0.3159, allocations: 28 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000549/0.3165, allocations: 305.3 kB / 1.369 GB, free: 7.578 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.3165, allocations: 3.984 kB / 1.369 GB, free: 7.574 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.3165, allocations: 15.94 kB / 1.369 GB, free: 7.559 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.3165, allocations: 8 kB / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.317, allocations: 197.8 kB / 1.37 GB, free: 7.359 MB / 1.061 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.001745/0.3187, allocations: 1.425 MB / 1.371 GB, free: 5.816 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.3191, allocations: 150.6 kB / 1.371 GB, free: 5.66 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.3193, allocations: 60.81 kB / 1.371 GB, free: 5.598 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.453e-05/0.3194, allocations: 8 kB / 1.371 GB, free: 5.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/0.3197, allocations: 131.2 kB / 1.371 GB, free: 5.449 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 4.618e-06/0.3197, allocations: 4 kB / 1.371 GB, free: 5.445 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0005935/0.3203, allocations: 244 kB / 1.372 GB, free: 5.203 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.3203, allocations: 55.41 kB / 1.372 GB, free: 5.137 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.3207, allocations: 349.7 kB / 1.372 GB, free: 4.785 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.3207, allocations: 25.7 kB / 1.372 GB, free: 4.754 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.3209, allocations: 224.1 kB / 1.372 GB, free: 4.531 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.3209, allocations: 51.58 kB / 1.372 GB, free: 4.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/0.321, allocations: 61.66 kB / 1.372 GB, free: 4.414 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3211, allocations: 342.8 kB / 1.373 GB, free: 4.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.3213, allocations: 71.89 kB / 1.373 GB, free: 4 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.3216, allocations: 149.3 kB / 1.373 GB, free: 3.82 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.322, allocations: 240.7 kB / 1.373 GB, free: 3.547 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.322, allocations: 0 / 1.373 GB, free: 3.547 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005778/0.3226, allocations: 320 kB / 1.373 GB, free: 3.223 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.3226, allocations: 31.42 kB / 1.373 GB, free: 3.188 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.3226, allocations: 4 kB / 1.373 GB, free: 3.184 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3226, allocations: 7.938 kB / 1.373 GB, free: 3.176 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.3228, allocations: 59.89 kB / 1.373 GB, free: 3.117 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3228, allocations: 8.297 kB / 1.374 GB, free: 3.109 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.3231, allocations: 39.77 kB / 1.374 GB, free: 3.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.3231, allocations: 12 kB / 1.374 GB, free: 3.059 MB / 1.061 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.0001576/0.3233, allocations: 157.8 kB / 1.374 GB, free: 2.895 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/0.3233, allocations: 35.77 kB / 1.374 GB, free: 2.859 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004408/0.3238, allocations: 200.3 kB / 1.374 GB, free: 2.66 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3238, allocations: 4 kB / 1.374 GB, free: 2.656 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3238, allocations: 4 kB / 1.374 GB, free: 2.652 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000501/0.3243, allocations: 487.6 kB / 1.374 GB, free: 2.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.3247, allocations: 320.5 kB / 1.375 GB, free: 1.734 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3247, allocations: 0 / 1.375 GB, free: 1.734 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.3248, allocations: 31.92 kB / 1.375 GB, free: 1.703 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3248, allocations: 0 / 1.375 GB, free: 1.703 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.3249, allocations: 11.92 kB / 1.375 GB, free: 1.691 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3249, allocations: 8 kB / 1.375 GB, free: 1.684 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3249, allocations: 0 / 1.375 GB, free: 1.684 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006005/0.3255, allocations: 286.3 kB / 1.375 GB, free: 1.387 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.3256, allocations: 43.83 kB / 1.375 GB, free: 1.344 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.3256, allocations: 3.938 kB / 1.375 GB, free: 1.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.3258, allocations: 27.97 kB / 1.375 GB, free: 1.312 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.3259, allocations: 19.97 kB / 1.375 GB, free: 1.293 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3259, allocations: 4 kB / 1.375 GB, free: 1.289 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000268/0.3262, allocations: 251.1 kB / 1.375 GB, free: 1.047 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3262, allocations: 0 / 1.375 GB, free: 1.047 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000406/0.3266, allocations: 131.6 kB / 1.375 GB, free: 0.918 MB / 1.061 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.001085/0.3277, allocations: 0.8932 MB / 1.376 GB, free: 15.99 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004743/0.3281, allocations: 238.5 kB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3282, allocations: 0 / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.3283, allocations: 64.58 kB / 1.377 GB, free: 15.69 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009151/0.3292, allocations: 210.1 kB / 1.377 GB, free: 15.49 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004067/0.3333, allocations: 3.073 MB / 1.38 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.3337, allocations: 0.7996 MB / 1.381 GB, free: 11.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002247/0.3339, allocations: 63.2 kB / 1.381 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.3341, allocations: 119.4 kB / 1.381 GB, free: 11.27 MB / 1.076 GB Notification: Performance of SimCode: time 5.11e-07/0.3341, allocations: 0 / 1.381 GB, free: 11.27 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.3672, allocations: 10.54 MB / 1.391 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.97, allocations: 5.953 kB / 1.391 GB, free: 0.9453 MB / 1.076 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: 17.045952400017995]