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.00208/0.00208, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002254/0.002254, allocations: 187.6 kB / 16.13 MB, free: 6.629 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.568/1.568, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.872/2.872, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001908, allocations: 63.91 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.631/0.6329, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01875/0.6517, allocations: 14.4 MB / 1.031 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007199/0.659, allocations: 3.671 MB / 1.034 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008666/0.6599, allocations: 11.94 kB / 1.034 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008193/0.6608, allocations: 171.1 kB / 1.034 GB, free: 472 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.6628, allocations: 0.5561 MB / 1.035 GB, free: 15.9 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.664, allocations: 349 kB / 1.035 GB, free: 15.56 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002205/0.6662, allocations: 1.466 MB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005252/0.6667, allocations: 268.4 kB / 1.037 GB, free: 13.83 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006864/0.6674, allocations: 326.5 kB / 1.037 GB, free: 13.51 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.6679, allocations: 302.6 kB / 1.038 GB, free: 13.21 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.758e-05/0.668, allocations: 16 kB / 1.038 GB, free: 13.2 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009119/0.6689, allocations: 251.4 kB / 1.038 GB, free: 12.95 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.6691, allocations: 83.61 kB / 1.038 GB, free: 12.87 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.6693, allocations: 191.1 kB / 1.038 GB, free: 12.68 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008568/0.6702, allocations: 0.5783 MB / 1.039 GB, free: 12.1 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6702, allocations: 0 / 1.039 GB, free: 12.1 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6702, allocations: 0 / 1.039 GB, free: 12.1 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.6702, allocations: 4 kB / 1.039 GB, free: 12.1 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.001503/0.6717, allocations: 0.7472 MB / 1.039 GB, free: 11.3 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.6718, allocations: 8.031 kB / 1.039 GB, free: 11.29 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002403/0.672, allocations: 48.47 kB / 1.039 GB, free: 11.24 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009183/0.673, allocations: 487.8 kB / 1.04 GB, free: 10.73 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.673, allocations: 24.69 kB / 1.04 GB, free: 10.7 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/0.6731, allocations: 24 kB / 1.04 GB, free: 10.68 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007313/0.6738, allocations: 306.2 kB / 1.04 GB, free: 10.36 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.6739, allocations: 3.938 kB / 1.04 GB, free: 10.35 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.6739, allocations: 12 kB / 1.04 GB, free: 10.34 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.6739, allocations: 12 kB / 1.04 GB, free: 10.33 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005134/0.6745, allocations: 190.1 kB / 1.04 GB, free: 10.14 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.002359/0.6768, allocations: 1.481 MB / 1.042 GB, free: 8.535 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004984/0.6773, allocations: 154.6 kB / 1.042 GB, free: 8.375 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.6775, allocations: 72.83 kB / 1.042 GB, free: 8.301 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002411/0.6778, allocations: 85.09 kB / 1.042 GB, free: 8.199 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000344/0.6782, allocations: 125.2 kB / 1.042 GB, free: 8.066 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 2.495e-06/0.6782, allocations: 0 / 1.042 GB, free: 8.066 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0007368/0.6789, allocations: 237 kB / 1.043 GB, free: 7.828 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.679, allocations: 59.41 kB / 1.043 GB, free: 7.758 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004389/0.6794, allocations: 341.6 kB / 1.043 GB, free: 7.414 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.6795, allocations: 25.7 kB / 1.043 GB, free: 7.383 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.6797, allocations: 215.8 kB / 1.043 GB, free: 7.164 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.6798, allocations: 51.3 kB / 1.043 GB, free: 7.113 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.6799, allocations: 53.61 kB / 1.043 GB, free: 7.055 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.6801, allocations: 342.8 kB / 1.044 GB, free: 6.711 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.6803, allocations: 75.89 kB / 1.044 GB, free: 6.637 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.6806, allocations: 149.3 kB / 1.044 GB, free: 6.457 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004784/0.6811, allocations: 249 kB / 1.044 GB, free: 6.176 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6811, allocations: 0 / 1.044 GB, free: 6.176 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006947/0.6818, allocations: 310.9 kB / 1.044 GB, free: 5.859 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.6819, allocations: 33.7 kB / 1.044 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.6819, allocations: 4 kB / 1.044 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.6819, allocations: 7.938 kB / 1.044 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.6822, allocations: 51.91 kB / 1.044 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.6822, allocations: 11.94 kB / 1.044 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.6825, allocations: 43.66 kB / 1.045 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.6826, allocations: 16.12 kB / 1.045 GB, free: 5.688 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.0002044/0.6828, allocations: 154.3 kB / 1.045 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/0.6829, allocations: 35.61 kB / 1.045 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005183/0.6834, allocations: 191.2 kB / 1.045 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.6834, allocations: 7.938 kB / 1.045 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6834, allocations: 0 / 1.045 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006024/0.684, allocations: 487.7 kB / 1.045 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005264/0.6846, allocations: 357.3 kB / 1.046 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6846, allocations: 0 / 1.046 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.6847, allocations: 27.98 kB / 1.046 GB, free: 4.309 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.6848, allocations: 0 / 1.046 GB, free: 4.309 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.6848, allocations: 7.984 kB / 1.046 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.6848, allocations: 7.938 kB / 1.046 GB, free: 4.293 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6848, allocations: 0 / 1.046 GB, free: 4.293 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006547/0.6855, allocations: 288.5 kB / 1.046 GB, free: 3.992 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.6856, allocations: 120.8 kB / 1.046 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.6857, allocations: 3.984 kB / 1.046 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.6859, allocations: 23.92 kB / 1.046 GB, free: 3.828 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.686, allocations: 15.97 kB / 1.046 GB, free: 3.812 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.686, allocations: 12 kB / 1.046 GB, free: 3.801 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002746/0.6863, allocations: 235.2 kB / 1.046 GB, free: 3.57 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6863, allocations: 0 / 1.046 GB, free: 3.57 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004704/0.6868, allocations: 116 kB / 1.047 GB, free: 3.457 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.000395/0.6872, allocations: 195 kB / 1.047 GB, free: 3.258 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005683/0.6878, allocations: 229.7 kB / 1.047 GB, free: 3.023 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6878, allocations: 0 / 1.047 GB, free: 3.023 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.688, allocations: 71.95 kB / 1.047 GB, free: 2.953 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.6891, allocations: 196.8 kB / 1.047 GB, free: 2.766 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.6909, allocations: 0.8626 MB / 1.048 GB, free: 1.875 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.6913, allocations: 0.7882 MB / 1.049 GB, free: 1.062 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003174/0.6916, allocations: 71.17 kB / 1.049 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.185e-05/0.6917, allocations: 31.44 kB / 1.049 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of SimCode: time 9.51e-07/0.6917, allocations: 0 / 1.049 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of Templates: time 0.01398/0.7057, allocations: 6.555 MB / 1.055 GB, free: 10.52 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=400 -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