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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 112 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002181/0.002181, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.906/2.906, allocations: 476.7 MB / 0.7629 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.89 kB / 1.107 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126/1.128, allocations: 168.7 MB / 1.271 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01788/1.146, allocations: 14.68 MB / 1.286 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00722/1.153, allocations: 3.677 MB / 1.289 GB, free: 10.66 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009841/1.154, allocations: 18.22 kB / 1.289 GB, free: 10.66 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009196/1.155, allocations: 213.5 kB / 1.29 GB, free: 10.54 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002855/1.158, allocations: 0.6143 MB / 1.29 GB, free: 10.17 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00147/1.159, allocations: 403.5 kB / 1.291 GB, free: 9.949 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002066/1.161, allocations: 1.085 MB / 1.292 GB, free: 9.441 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005611/1.162, allocations: 266.7 kB / 1.292 GB, free: 9.309 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/1.163, allocations: 404.6 kB / 1.292 GB, free: 9.133 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006204/1.164, allocations: 327.9 kB / 1.293 GB, free: 8.992 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.729e-05/1.164, allocations: 32.84 kB / 1.293 GB, free: 8.992 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008613/1.165, allocations: 266.4 kB / 1.293 GB, free: 8.891 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001617/1.165, allocations: 96.34 kB / 1.293 GB, free: 8.832 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003121/1.165, allocations: 223.4 kB / 1.293 GB, free: 8.699 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/1.167, allocations: 0.5917 MB / 1.294 GB, free: 8.469 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.167, allocations: 0.5625 kB / 1.294 GB, free: 8.469 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/1.167, allocations: 0 / 1.294 GB, free: 8.469 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.824e-05/1.167, allocations: 0 / 1.294 GB, free: 8.469 MB / 1.014 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.001487/1.168, allocations: 0.7518 MB / 1.295 GB, free: 7.855 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.168, allocations: 9.062 kB / 1.295 GB, free: 7.855 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.401e-05/1.168, allocations: 62.42 kB / 1.295 GB, free: 7.801 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/1.169, allocations: 62.77 kB / 1.295 GB, free: 7.766 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009153/1.169, allocations: 466.2 kB / 1.295 GB, free: 7.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/1.169, allocations: 26.47 kB / 1.295 GB, free: 7.418 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/1.17, allocations: 23.89 kB / 1.295 GB, free: 7.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006898/1.17, allocations: 308.8 kB / 1.295 GB, free: 7.254 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/1.17, allocations: 4.547 kB / 1.295 GB, free: 7.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/1.17, allocations: 14.94 kB / 1.295 GB, free: 7.238 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/1.17, allocations: 12.17 kB / 1.295 GB, free: 7.234 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/1.171, allocations: 190.9 kB / 1.296 GB, free: 7.18 MB / 1.014 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.002417/1.173, allocations: 1.48 MB / 1.297 GB, free: 5.988 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/1.174, allocations: 151.1 kB / 1.297 GB, free: 5.926 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/1.174, allocations: 63.38 kB / 1.297 GB, free: 5.898 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/1.174, allocations: 91.16 kB / 1.297 GB, free: 5.801 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003441/1.174, allocations: 130 kB / 1.298 GB, free: 5.727 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 3.036e-06/1.174, allocations: 4 kB / 1.298 GB, free: 5.723 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0007398/1.175, allocations: 231.5 kB / 1.298 GB, free: 5.629 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/1.175, allocations: 60 kB / 1.298 GB, free: 5.562 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004369/1.176, allocations: 349.2 kB / 1.298 GB, free: 5.383 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/1.176, allocations: 28.45 kB / 1.298 GB, free: 5.352 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/1.176, allocations: 218.3 kB / 1.298 GB, free: 5.172 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.523e-05/1.176, allocations: 63.28 kB / 1.298 GB, free: 5.121 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/1.176, allocations: 54.91 kB / 1.298 GB, free: 5.086 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001986/1.176, allocations: 340.2 kB / 1.299 GB, free: 4.762 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/1.177, allocations: 71.44 kB / 1.299 GB, free: 4.738 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/1.177, allocations: 148.7 kB / 1.299 GB, free: 4.621 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/1.177, allocations: 246.9 kB / 1.299 GB, free: 4.438 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.177, allocations: 1.156 kB / 1.299 GB, free: 4.438 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006786/1.178, allocations: 320.1 kB / 1.3 GB, free: 4.277 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/1.178, allocations: 33.64 kB / 1.3 GB, free: 4.246 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.178, allocations: 3.156 kB / 1.3 GB, free: 4.246 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/1.178, allocations: 7.969 kB / 1.3 GB, free: 4.242 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/1.178, allocations: 55.44 kB / 1.3 GB, free: 4.238 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/1.178, allocations: 13.55 kB / 1.3 GB, free: 4.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/1.179, allocations: 33.67 kB / 1.3 GB, free: 4.211 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/1.179, allocations: 13.84 kB / 1.3 GB, free: 4.207 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.000214/1.179, allocations: 160.8 kB / 1.3 GB, free: 4.062 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/1.179, allocations: 32.64 kB / 1.3 GB, free: 4.047 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005122/1.179, allocations: 199.4 kB / 1.3 GB, free: 3.953 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.179, allocations: 4.688 kB / 1.3 GB, free: 3.949 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.179, allocations: 0 / 1.3 GB, free: 3.949 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005828/1.18, allocations: 487.9 kB / 1.301 GB, free: 3.477 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006052/1.181, allocations: 355.5 kB / 1.301 GB, free: 3.219 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.181, allocations: 0 / 1.301 GB, free: 3.219 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/1.181, allocations: 28.38 kB / 1.301 GB, free: 3.219 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/1.181, allocations: 2.422 kB / 1.301 GB, free: 3.219 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/1.181, allocations: 10.08 kB / 1.301 GB, free: 3.211 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/1.181, allocations: 7.938 kB / 1.301 GB, free: 3.203 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.181, allocations: 1.125 kB / 1.301 GB, free: 3.203 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006729/1.182, allocations: 279.2 kB / 1.301 GB, free: 3.066 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/1.182, allocations: 134.5 kB / 1.301 GB, free: 2.938 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/1.182, allocations: 0.6562 kB / 1.301 GB, free: 2.938 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/1.182, allocations: 27.25 kB / 1.301 GB, free: 2.926 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/1.182, allocations: 12.38 kB / 1.301 GB, free: 2.926 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/1.182, allocations: 9.703 kB / 1.301 GB, free: 2.922 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002982/1.182, allocations: 247.1 kB / 1.302 GB, free: 2.793 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.182, allocations: 0 / 1.302 GB, free: 2.793 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005195/1.183, allocations: 120.7 kB / 1.302 GB, free: 2.77 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.001469/1.184, allocations: 0.9181 MB / 1.303 GB, free: 2.059 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006465/1.185, allocations: 220.2 kB / 1.303 GB, free: 1.949 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.185, allocations: 4.688 kB / 1.303 GB, free: 1.945 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/1.185, allocations: 68.27 kB / 1.303 GB, free: 1.926 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/1.186, allocations: 208.8 kB / 1.303 GB, free: 1.867 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/1.191, allocations: 3.085 MB / 1.306 GB, free: 15.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/1.192, allocations: 0.7976 MB / 1.307 GB, free: 15.09 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003213/1.192, allocations: 64.92 kB / 1.307 GB, free: 15.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/1.192, allocations: 119 kB / 1.307 GB, free: 14.99 MB / 1.029 GB Notification: Performance of SimCode: time 9.72e-07/1.192, allocations: 0 / 1.307 GB, free: 14.99 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04564/1.238, allocations: 10.25 MB / 1.317 GB, free: 13.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.347/10.58, allocations: 4.109 kB / 1.317 GB, free: 13.91 MB / 1.029 GB " [Timeout remaining time 289] (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 --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_2/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: 16.87104353698669]