Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001322/0.001322, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.568/2.568, allocations: 437.7 MB / 0.7117 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.000316, allocations: 8 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5703/0.5706, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01259/0.5833, allocations: 13.2 MB / 1.035 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004458/0.5878, allocations: 3.409 MB / 1.039 GB, free: 15.37 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003555/0.5881, allocations: 19.88 kB / 1.039 GB, free: 15.35 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004551/0.5886, allocations: 143.1 kB / 1.039 GB, free: 15.21 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.5896, allocations: 497.5 kB / 1.039 GB, free: 14.72 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007233/0.5904, allocations: 285.1 kB / 1.04 GB, free: 14.45 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001247/0.5916, allocations: 1.24 MB / 1.041 GB, free: 13.2 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003503/0.592, allocations: 250.6 kB / 1.041 GB, free: 12.95 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004059/0.5924, allocations: 306.7 kB / 1.041 GB, free: 12.65 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003316/0.5928, allocations: 286.7 kB / 1.042 GB, free: 12.37 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.5928, allocations: 12 kB / 1.042 GB, free: 12.36 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003735/0.5932, allocations: 147.7 kB / 1.042 GB, free: 12.21 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.5933, allocations: 71.66 kB / 1.042 GB, free: 12.14 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.5934, allocations: 105.5 kB / 1.042 GB, free: 12.04 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004435/0.5939, allocations: 428.5 kB / 1.042 GB, free: 11.62 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5939, allocations: 0 / 1.042 GB, free: 11.62 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5939, allocations: 0 / 1.042 GB, free: 11.62 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.5939, allocations: 0 / 1.042 GB, free: 11.62 MB / 0.795 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.00097/0.5949, allocations: 0.6872 MB / 1.043 GB, free: 10.88 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.5949, allocations: 11.97 kB / 1.043 GB, free: 10.86 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.5951, allocations: 43.53 kB / 1.043 GB, free: 10.82 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.5958, allocations: 466.6 kB / 1.043 GB, free: 10.33 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.5958, allocations: 16.56 kB / 1.043 GB, free: 10.31 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/0.5959, allocations: 35.84 kB / 1.043 GB, free: 10.28 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00055/0.5964, allocations: 318.2 kB / 1.044 GB, free: 9.949 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.5964, allocations: 0 / 1.044 GB, free: 9.949 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.5965, allocations: 15.95 kB / 1.044 GB, free: 9.934 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.5965, allocations: 8 kB / 1.044 GB, free: 9.926 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.597, allocations: 206.1 kB / 1.044 GB, free: 9.723 MB / 0.795 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.001645/0.5986, allocations: 1.474 MB / 1.045 GB, free: 8.121 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.599, allocations: 174.5 kB / 1.046 GB, free: 7.941 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.5992, allocations: 64.83 kB / 1.046 GB, free: 7.875 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.5994, allocations: 93.05 kB / 1.046 GB, free: 7.766 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.5997, allocations: 137.7 kB / 1.046 GB, free: 7.621 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.5997, allocations: 0 / 1.046 GB, free: 7.621 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0006066/0.6003, allocations: 249.1 kB / 1.046 GB, free: 7.371 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.6003, allocations: 59.41 kB / 1.046 GB, free: 7.301 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.6007, allocations: 337.6 kB / 1.046 GB, free: 6.961 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.6007, allocations: 29.7 kB / 1.047 GB, free: 6.926 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.6009, allocations: 211.8 kB / 1.047 GB, free: 6.711 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.6009, allocations: 55.2 kB / 1.047 GB, free: 6.656 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/0.601, allocations: 8 kB / 1.047 GB, free: 6.648 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6011, allocations: 338.8 kB / 1.047 GB, free: 6.309 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.6013, allocations: 71.95 kB / 1.047 GB, free: 6.238 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.6015, allocations: 153.3 kB / 1.047 GB, free: 6.055 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.6018, allocations: 125.6 kB / 1.047 GB, free: 5.926 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6018, allocations: 4 kB / 1.047 GB, free: 5.922 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005738/0.6024, allocations: 316.3 kB / 1.048 GB, free: 5.602 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.6024, allocations: 37.7 kB / 1.048 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6024, allocations: 0 / 1.048 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.6024, allocations: 4 kB / 1.048 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.6027, allocations: 68.2 kB / 1.048 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.6027, allocations: 11.92 kB / 1.048 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.603, allocations: 39.67 kB / 1.048 GB, free: 5.438 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.603, allocations: 12 kB / 1.048 GB, free: 5.426 MB / 0.795 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001549/0.6032, allocations: 161.7 kB / 1.048 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.6032, allocations: 35.58 kB / 1.048 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000446/0.6037, allocations: 214.5 kB / 1.048 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.6037, allocations: 4 kB / 1.048 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.6037, allocations: 0 / 1.048 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004579/0.6041, allocations: 491.8 kB / 1.049 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.6046, allocations: 353.4 kB / 1.049 GB, free: 4.047 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6046, allocations: 0 / 1.049 GB, free: 4.047 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.6048, allocations: 31.97 kB / 1.049 GB, free: 4.016 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.6048, allocations: 0 / 1.049 GB, free: 4.016 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.6048, allocations: 11.89 kB / 1.049 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.6048, allocations: 4 kB / 1.049 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6048, allocations: 0 / 1.049 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006016/0.6054, allocations: 302 kB / 1.049 GB, free: 3.688 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.6056, allocations: 128.8 kB / 1.05 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.6056, allocations: 0 / 1.05 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.6058, allocations: 31.92 kB / 1.05 GB, free: 3.512 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.6059, allocations: 19.97 kB / 1.05 GB, free: 3.492 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.6059, allocations: 4 kB / 1.05 GB, free: 3.488 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002288/0.6062, allocations: 239.2 kB / 1.05 GB, free: 3.254 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6062, allocations: 0 / 1.05 GB, free: 3.254 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000401/0.6066, allocations: 120 kB / 1.05 GB, free: 3.137 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002583/0.6069, allocations: 179 kB / 1.05 GB, free: 2.953 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004743/0.6073, allocations: 227.2 kB / 1.05 GB, free: 2.719 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6074, allocations: 0.625 kB / 1.05 GB, free: 2.719 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.6075, allocations: 83.89 kB / 1.05 GB, free: 2.637 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008769/0.6084, allocations: 204.3 kB / 1.051 GB, free: 2.445 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.6098, allocations: 0.9574 MB / 1.052 GB, free: 1.461 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.6101, allocations: 0.7923 MB / 1.052 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002529/0.6104, allocations: 55.27 kB / 1.052 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.26e-05/0.6105, allocations: 39.36 kB / 1.052 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.6105, allocations: 0 / 1.052 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of Templates: time 0.01073/0.6212, allocations: 6.326 MB / 1.059 GB, free: 10.33 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches