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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001508/0.001508, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001092/0.001092, allocations: 195.5 kB / 17.29 MB, free: 5.516 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.43/2.43, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.23 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2814, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.0146/0.296, allocations: 14.45 MB / 1.041 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004987/0.3011, allocations: 3.647 MB / 1.044 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00048/0.3016, allocations: 19.88 kB / 1.044 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000613/0.3022, allocations: 206.7 kB / 1.045 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.3037, allocations: 0.583 MB / 1.045 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009136/0.3046, allocations: 398.2 kB / 1.046 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001259/0.3059, allocations: 1.083 MB / 1.047 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004164/0.3063, allocations: 313.1 kB / 1.047 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009015/0.3072, allocations: 390.5 kB / 1.047 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003762/0.3076, allocations: 302.7 kB / 1.048 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.829e-05/0.3077, allocations: 32 kB / 1.048 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005378/0.3082, allocations: 259.5 kB / 1.048 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.3084, allocations: 99.66 kB / 1.048 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.3086, allocations: 214.9 kB / 1.048 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007133/0.3093, allocations: 0.5958 MB / 1.049 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3093, allocations: 0 / 1.049 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3093, allocations: 3.938 kB / 1.049 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.3093, allocations: 4 kB / 1.049 GB, free: 11.44 MB / 0.8262 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.001108/0.3105, allocations: 0.738 MB / 1.049 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3105, allocations: 8.031 kB / 1.049 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.3107, allocations: 52.45 kB / 1.05 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007454/0.3114, allocations: 463.6 kB / 1.05 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.3115, allocations: 20.94 kB / 1.05 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.3115, allocations: 27.94 kB / 1.05 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005547/0.3121, allocations: 318.2 kB / 1.05 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.3121, allocations: 3.984 kB / 1.05 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.3122, allocations: 12 kB / 1.05 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.3122, allocations: 8 kB / 1.05 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.3127, allocations: 194.1 kB / 1.051 GB, free: 9.5 MB / 0.8262 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.00173/0.3144, allocations: 1.477 MB / 1.052 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.3148, allocations: 154.6 kB / 1.052 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.315, allocations: 72.81 kB / 1.052 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.3152, allocations: 85.11 kB / 1.052 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.3155, allocations: 126.4 kB / 1.052 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.3155, allocations: 0 / 1.052 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0006111/0.3161, allocations: 233.1 kB / 1.053 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.3161, allocations: 63.34 kB / 1.053 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.3165, allocations: 349.6 kB / 1.053 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.3165, allocations: 33.7 kB / 1.053 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.3167, allocations: 219.7 kB / 1.053 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.3167, allocations: 47.36 kB / 1.053 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.35e-05/0.3168, allocations: 53.61 kB / 1.053 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.317, allocations: 338.8 kB / 1.054 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.3172, allocations: 75.95 kB / 1.054 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.3174, allocations: 149.8 kB / 1.054 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.3178, allocations: 246.2 kB / 1.054 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3178, allocations: 4 kB / 1.054 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005944/0.3184, allocations: 310.8 kB / 1.054 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.3185, allocations: 36.05 kB / 1.054 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.3185, allocations: 7.922 kB / 1.054 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3185, allocations: 4 kB / 1.054 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.3187, allocations: 67.84 kB / 1.055 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3188, allocations: 4 kB / 1.055 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.319, allocations: 39.67 kB / 1.055 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.3191, allocations: 8 kB / 1.055 GB, free: 5.043 MB / 0.8262 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.0001739/0.3192, allocations: 173.7 kB / 1.055 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.3193, allocations: 31.62 kB / 1.055 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.3198, allocations: 196.4 kB / 1.055 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3198, allocations: 7.938 kB / 1.055 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3198, allocations: 0 / 1.055 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004655/0.3203, allocations: 487.7 kB / 1.055 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.3207, allocations: 353.3 kB / 1.056 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3207, allocations: 0 / 1.056 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.3209, allocations: 31.98 kB / 1.056 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3209, allocations: 0 / 1.056 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.321, allocations: 4 kB / 1.056 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.321, allocations: 3.938 kB / 1.056 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.321, allocations: 7.922 kB / 1.056 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006625/0.3216, allocations: 287.8 kB / 1.056 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.3218, allocations: 124.7 kB / 1.056 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/0.3219, allocations: 4 kB / 1.056 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.3221, allocations: 19.91 kB / 1.056 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/0.3222, allocations: 15.98 kB / 1.056 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.3222, allocations: 11.98 kB / 1.056 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002662/0.3225, allocations: 247.2 kB / 1.056 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3225, allocations: 0 / 1.056 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004674/0.323, allocations: 128 kB / 1.057 GB, free: 2.77 MB / 0.8262 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.0004106/0.3234, allocations: 195 kB / 1.057 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000514/0.3239, allocations: 227.6 kB / 1.057 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3239, allocations: 4.125 kB / 1.057 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.3241, allocations: 71.88 kB / 1.057 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009934/0.3251, allocations: 213 kB / 1.057 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.3267, allocations: 0.7309 MB / 1.058 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.3271, allocations: 0.7879 MB / 1.059 GB, free: 500 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002532/0.3274, allocations: 67.19 kB / 1.059 GB, free: 436 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.3274, allocations: 39.42 kB / 1.059 GB, free: 396 kB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.3275, allocations: 0 / 1.059 GB, free: 396 kB / 0.8262 GB Notification: Performance of Templates: time 0.01227/0.3397, allocations: 7.13 MB / 1.066 GB, free: 9.355 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (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 & ./Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) 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) Reference file matches