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.007807/0.007807, allocations: 99.77 kB / 15.73 MB, free: 6.023 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.001805/0.001805, allocations: 195.2 kB / 16.67 MB, free: 5.938 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.532/2.532, allocations: 437 MB / 0.7105 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.08 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9269/0.9281, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01528/0.9435, allocations: 14.45 MB / 1.181 GB, free: 5.352 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005374/0.9489, allocations: 3.649 MB / 1.184 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003906/0.9493, allocations: 19.88 kB / 1.184 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006781/0.95, allocations: 206.7 kB / 1.184 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.9515, allocations: 0.6142 MB / 1.185 GB, free: 0.8516 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009423/0.9524, allocations: 394.7 kB / 1.185 GB, free: 476 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001492/0.9539, allocations: 1.1 MB / 1.187 GB, free: 15.36 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004771/0.9544, allocations: 320.6 kB / 1.187 GB, free: 15.04 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.9554, allocations: 399.6 kB / 1.187 GB, free: 14.66 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.9559, allocations: 310.6 kB / 1.187 GB, free: 14.35 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.648e-05/0.956, allocations: 36 kB / 1.188 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005852/0.9566, allocations: 255.5 kB / 1.188 GB, free: 14.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.9567, allocations: 95.61 kB / 1.188 GB, free: 13.97 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.9569, allocations: 215 kB / 1.188 GB, free: 13.76 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008641/0.9578, allocations: 0.596 MB / 1.189 GB, free: 13.17 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.9578, allocations: 0 / 1.189 GB, free: 13.17 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.935e-06/0.9578, allocations: 0 / 1.189 GB, free: 13.17 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.9578, allocations: 0 / 1.189 GB, free: 13.17 MB / 0.92 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.001253/0.9591, allocations: 0.753 MB / 1.189 GB, free: 12.36 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.9592, allocations: 16.92 kB / 1.189 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.9594, allocations: 52.64 kB / 1.189 GB, free: 12.29 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007899/0.9602, allocations: 471.9 kB / 1.19 GB, free: 11.79 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.9602, allocations: 20.94 kB / 1.19 GB, free: 11.77 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.484e-05/0.9603, allocations: 27.94 kB / 1.19 GB, free: 11.74 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/0.9608, allocations: 310.2 kB / 1.19 GB, free: 11.42 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.9609, allocations: 4 kB / 1.19 GB, free: 11.42 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.9609, allocations: 12 kB / 1.19 GB, free: 11.41 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.9609, allocations: 8 kB / 1.19 GB, free: 11.4 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/0.9614, allocations: 190.1 kB / 1.19 GB, free: 11.21 MB / 0.92 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.001936/0.9634, allocations: 1.493 MB / 1.192 GB, free: 9.594 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.9639, allocations: 158.6 kB / 1.192 GB, free: 9.43 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.964, allocations: 68.81 kB / 1.192 GB, free: 9.359 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.9642, allocations: 81.11 kB / 1.192 GB, free: 9.262 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003194/0.9645, allocations: 127.3 kB / 1.192 GB, free: 9.125 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.9646, allocations: 0 / 1.192 GB, free: 9.125 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0006587/0.9652, allocations: 240.2 kB / 1.193 GB, free: 8.887 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.9653, allocations: 59.34 kB / 1.193 GB, free: 8.816 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004107/0.9657, allocations: 349.6 kB / 1.193 GB, free: 8.469 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.9657, allocations: 33.7 kB / 1.193 GB, free: 8.43 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.9659, allocations: 224.1 kB / 1.193 GB, free: 8.207 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.966, allocations: 55.58 kB / 1.193 GB, free: 8.152 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.963e-05/0.9661, allocations: 53.66 kB / 1.193 GB, free: 8.094 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.9663, allocations: 342.8 kB / 1.194 GB, free: 7.75 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.9665, allocations: 67.95 kB / 1.194 GB, free: 7.684 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.9667, allocations: 145.4 kB / 1.194 GB, free: 7.508 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/0.9672, allocations: 248.8 kB / 1.194 GB, free: 7.227 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.9672, allocations: 0 / 1.194 GB, free: 7.227 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006623/0.9679, allocations: 308.9 kB / 1.194 GB, free: 6.914 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.9679, allocations: 37.64 kB / 1.194 GB, free: 6.871 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.9679, allocations: 4 kB / 1.194 GB, free: 6.867 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.968, allocations: 7.938 kB / 1.194 GB, free: 6.859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.9682, allocations: 64.2 kB / 1.194 GB, free: 6.797 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.9682, allocations: 7.938 kB / 1.194 GB, free: 6.789 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.9684, allocations: 35.77 kB / 1.195 GB, free: 6.754 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.9685, allocations: 8 kB / 1.195 GB, free: 6.746 MB / 0.92 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.0001638/0.9686, allocations: 161.8 kB / 1.195 GB, free: 6.578 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.9687, allocations: 35.77 kB / 1.195 GB, free: 6.543 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004406/0.9691, allocations: 192.5 kB / 1.195 GB, free: 6.348 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.9692, allocations: 7.938 kB / 1.195 GB, free: 6.34 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.9692, allocations: 4 kB / 1.195 GB, free: 6.336 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004829/0.9697, allocations: 487.6 kB / 1.195 GB, free: 5.773 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.9701, allocations: 345.4 kB / 1.196 GB, free: 5.387 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.9701, allocations: 0 / 1.196 GB, free: 5.387 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.9702, allocations: 31.98 kB / 1.196 GB, free: 5.355 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.9703, allocations: 0 / 1.196 GB, free: 5.355 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.9703, allocations: 8 kB / 1.196 GB, free: 5.348 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.9703, allocations: 3.938 kB / 1.196 GB, free: 5.344 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9703, allocations: 0 / 1.196 GB, free: 5.344 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/0.971, allocations: 294.3 kB / 1.196 GB, free: 5.039 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.9711, allocations: 120.9 kB / 1.196 GB, free: 4.902 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.9712, allocations: 12 kB / 1.196 GB, free: 4.891 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.9714, allocations: 19.91 kB / 1.196 GB, free: 4.871 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.9715, allocations: 15.92 kB / 1.196 GB, free: 4.855 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.9715, allocations: 11.98 kB / 1.196 GB, free: 4.844 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002584/0.9718, allocations: 247.2 kB / 1.196 GB, free: 4.609 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9718, allocations: 0 / 1.196 GB, free: 4.609 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000561/0.9724, allocations: 127.7 kB / 1.197 GB, free: 4.484 MB / 0.92 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.0003953/0.9728, allocations: 199 kB / 1.197 GB, free: 4.277 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005021/0.9733, allocations: 235.1 kB / 1.197 GB, free: 4.035 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9733, allocations: 0 / 1.197 GB, free: 4.035 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.9735, allocations: 67.95 kB / 1.197 GB, free: 3.969 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008951/0.9744, allocations: 213 kB / 1.197 GB, free: 3.77 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.9758, allocations: 0.7418 MB / 1.198 GB, free: 3.004 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.9762, allocations: 0.7957 MB / 1.199 GB, free: 2.184 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002243/0.9764, allocations: 67.19 kB / 1.199 GB, free: 2.117 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.955e-05/0.9765, allocations: 39.42 kB / 1.199 GB, free: 2.078 MB / 0.92 GB Notification: Performance of SimCode: time 2.5e-07/0.9765, allocations: 0 / 1.199 GB, free: 2.078 MB / 0.92 GB Notification: Performance of Templates: time 0.01283/0.9893, allocations: 7.158 MB / 1.206 GB, free: 11.03 MB / 0.9356 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