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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001319/0.001319, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00156/0.00156, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.463/1.463, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 437 MB / 0.71 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 67.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8257/0.8271, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02198/0.8492, allocations: 14.38 MB / 1.031 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007905/0.8571, allocations: 3.62 MB / 1.034 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009103/0.8582, allocations: 11.94 kB / 1.034 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009969/0.8592, allocations: 179.1 kB / 1.035 GB, free: 492 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.8616, allocations: 0.5522 MB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.8631, allocations: 355.2 kB / 1.035 GB, free: 15.58 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002462/0.8656, allocations: 1.102 MB / 1.036 GB, free: 14.48 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008692/0.8665, allocations: 308.6 kB / 1.037 GB, free: 14.17 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.8682, allocations: 402 kB / 1.037 GB, free: 13.78 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007116/0.8689, allocations: 314.6 kB / 1.037 GB, free: 13.47 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.8691, allocations: 32 kB / 1.037 GB, free: 13.44 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.8701, allocations: 263.4 kB / 1.038 GB, free: 13.18 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.8703, allocations: 95.66 kB / 1.038 GB, free: 13.09 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004267/0.8708, allocations: 211 kB / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.872, allocations: 0.59 MB / 1.039 GB, free: 12.29 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.8721, allocations: 4 kB / 1.039 GB, free: 12.29 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8721, allocations: 0 / 1.039 GB, free: 12.29 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.8721, allocations: 0 / 1.039 GB, free: 12.29 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.001677/0.8738, allocations: 0.7457 MB / 1.039 GB, free: 11.49 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.8738, allocations: 8.031 kB / 1.039 GB, free: 11.48 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.8741, allocations: 44.47 kB / 1.039 GB, free: 11.44 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009856/0.8751, allocations: 487.8 kB / 1.04 GB, free: 10.92 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.8752, allocations: 20.69 kB / 1.04 GB, free: 10.89 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.872e-05/0.8753, allocations: 31.94 kB / 1.04 GB, free: 10.86 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008389/0.8761, allocations: 310.2 kB / 1.04 GB, free: 10.54 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.8761, allocations: 0 / 1.04 GB, free: 10.54 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.027e-05/0.8762, allocations: 12 kB / 1.04 GB, free: 10.53 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.8762, allocations: 4 kB / 1.04 GB, free: 10.53 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000694/0.8769, allocations: 190.1 kB / 1.04 GB, free: 10.34 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.002613/0.8796, allocations: 1.489 MB / 1.042 GB, free: 8.727 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006485/0.8802, allocations: 150.6 kB / 1.042 GB, free: 8.57 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.8805, allocations: 68.81 kB / 1.042 GB, free: 8.5 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.8807, allocations: 93.03 kB / 1.042 GB, free: 8.391 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004613/0.8812, allocations: 129.5 kB / 1.042 GB, free: 8.254 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 2.645e-06/0.8812, allocations: 0 / 1.042 GB, free: 8.254 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0009962/0.8822, allocations: 237.1 kB / 1.042 GB, free: 8.016 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.8823, allocations: 51.41 kB / 1.043 GB, free: 7.953 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005421/0.8829, allocations: 341.6 kB / 1.043 GB, free: 7.609 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.8829, allocations: 29.7 kB / 1.043 GB, free: 7.574 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.8831, allocations: 211.8 kB / 1.043 GB, free: 7.363 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.13e-05/0.8832, allocations: 51.3 kB / 1.043 GB, free: 7.312 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.8834, allocations: 61.59 kB / 1.043 GB, free: 7.246 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.8835, allocations: 346.8 kB / 1.044 GB, free: 6.898 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.8838, allocations: 67.89 kB / 1.044 GB, free: 6.832 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.8842, allocations: 149.3 kB / 1.044 GB, free: 6.652 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.8849, allocations: 244.3 kB / 1.044 GB, free: 6.375 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.8849, allocations: 0 / 1.044 GB, free: 6.375 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009785/0.8859, allocations: 312.3 kB / 1.044 GB, free: 6.059 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/0.8859, allocations: 37.69 kB / 1.044 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.886, allocations: 4 kB / 1.044 GB, free: 6.012 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.886, allocations: 7.938 kB / 1.044 GB, free: 6.004 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.8864, allocations: 55.91 kB / 1.044 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.8864, allocations: 4 kB / 1.044 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.8869, allocations: 43.98 kB / 1.044 GB, free: 5.902 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.8869, allocations: 8 kB / 1.044 GB, free: 5.895 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 (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.0002436/0.8872, allocations: 157.8 kB / 1.045 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.874e-05/0.8873, allocations: 31.62 kB / 1.045 GB, free: 5.699 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007302/0.888, allocations: 202.1 kB / 1.045 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.8881, allocations: 3.938 kB / 1.045 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8881, allocations: 0 / 1.045 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007121/0.8888, allocations: 483.8 kB / 1.045 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006732/0.8895, allocations: 353.4 kB / 1.046 GB, free: 4.543 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.8895, allocations: 4 kB / 1.046 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.8898, allocations: 31.92 kB / 1.046 GB, free: 4.508 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/0.8898, allocations: 3.984 kB / 1.046 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.8899, allocations: 4 kB / 1.046 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.8899, allocations: 11.88 kB / 1.046 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.8899, allocations: 4 kB / 1.046 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000935/0.8908, allocations: 283.9 kB / 1.046 GB, free: 4.191 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.891, allocations: 124.8 kB / 1.046 GB, free: 4.051 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.8911, allocations: 0 / 1.046 GB, free: 4.051 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.8915, allocations: 27.91 kB / 1.046 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.033e-05/0.8916, allocations: 15.98 kB / 1.046 GB, free: 4.008 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.8917, allocations: 11.98 kB / 1.046 GB, free: 3.996 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003791/0.8921, allocations: 235.2 kB / 1.046 GB, free: 3.766 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8921, allocations: 7.875 kB / 1.046 GB, free: 3.758 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007291/0.8928, allocations: 116 kB / 1.046 GB, free: 3.645 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 (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.0004674/0.8933, allocations: 187.1 kB / 1.047 GB, free: 3.453 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007952/0.8941, allocations: 235.4 kB / 1.047 GB, free: 3.211 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8941, allocations: 0 / 1.047 GB, free: 3.211 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.8944, allocations: 68.61 kB / 1.047 GB, free: 3.145 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.8959, allocations: 219.1 kB / 1.047 GB, free: 2.945 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.8981, allocations: 0.8636 MB / 1.048 GB, free: 2.051 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.8985, allocations: 0.7957 MB / 1.049 GB, free: 1.23 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004255/0.899, allocations: 67.17 kB / 1.049 GB, free: 1.168 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.8991, allocations: 31.44 kB / 1.049 GB, free: 1.137 MB / 0.795 GB Notification: Performance of SimCode: time 4.61e-07/0.8991, allocations: 0 / 1.049 GB, free: 1.137 MB / 0.795 GB Notification: Performance of Templates: time 0.01886/0.918, allocations: 6.786 MB / 1.055 GB, free: 10.46 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