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.001321/0.001321, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 196 kB / 16.79 MB, free: 6.809 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.4/1.4, allocations: 222.9 MB / 240.5 MB, free: 4.59 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.729/2.729, allocations: 437 MB / 0.7106 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 71.89 kB / 0.8692 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6858/0.6873, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01787/0.7053, allocations: 14.4 MB / 1.031 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005378/0.7107, allocations: 3.663 MB / 1.035 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00059/0.7113, allocations: 19.88 kB / 1.035 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006502/0.712, allocations: 167.1 kB / 1.035 GB, free: 472 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.7136, allocations: 0.5523 MB / 1.036 GB, free: 15.9 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009233/0.7145, allocations: 351.2 kB / 1.036 GB, free: 15.56 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001574/0.7161, allocations: 1.461 MB / 1.037 GB, free: 14.1 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004096/0.7165, allocations: 272.4 kB / 1.038 GB, free: 13.83 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004767/0.717, allocations: 326.5 kB / 1.038 GB, free: 13.51 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.7174, allocations: 302.6 kB / 1.038 GB, free: 13.21 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.961e-05/0.7174, allocations: 16 kB / 1.038 GB, free: 13.2 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005814/0.718, allocations: 255.3 kB / 1.039 GB, free: 12.95 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.996e-05/0.7181, allocations: 83.67 kB / 1.039 GB, free: 12.87 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.7183, allocations: 198.9 kB / 1.039 GB, free: 12.67 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005075/0.7189, allocations: 453 kB / 1.039 GB, free: 12.23 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7189, allocations: 4 kB / 1.039 GB, free: 12.23 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.21e-07/0.7189, allocations: 0 / 1.039 GB, free: 12.23 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.862e-06/0.7189, allocations: 0 / 1.039 GB, free: 12.23 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.001233/0.7201, allocations: 0.7457 MB / 1.04 GB, free: 11.43 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.7202, allocations: 8.031 kB / 1.04 GB, free: 11.42 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.7204, allocations: 48.45 kB / 1.04 GB, free: 11.37 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007503/0.7211, allocations: 479.8 kB / 1.04 GB, free: 10.86 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.7212, allocations: 24.67 kB / 1.04 GB, free: 10.84 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.425e-05/0.7212, allocations: 31.98 kB / 1.041 GB, free: 10.8 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005875/0.7218, allocations: 302.2 kB / 1.041 GB, free: 10.49 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.7219, allocations: 4 kB / 1.041 GB, free: 10.49 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/0.7219, allocations: 15.98 kB / 1.041 GB, free: 10.47 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.7219, allocations: 4 kB / 1.041 GB, free: 10.47 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.7224, allocations: 202 kB / 1.041 GB, free: 10.27 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.001829/0.7243, allocations: 1.469 MB / 1.042 GB, free: 8.676 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.7247, allocations: 154.6 kB / 1.043 GB, free: 8.516 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.7249, allocations: 72.81 kB / 1.043 GB, free: 8.441 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.7251, allocations: 85.09 kB / 1.043 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002922/0.7254, allocations: 129.8 kB / 1.043 GB, free: 8.203 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.833e-06/0.7254, allocations: 0 / 1.043 GB, free: 8.203 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0006365/0.726, allocations: 241.1 kB / 1.043 GB, free: 7.961 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.7261, allocations: 51.41 kB / 1.043 GB, free: 7.898 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.7264, allocations: 337.6 kB / 1.043 GB, free: 7.559 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.7264, allocations: 29.7 kB / 1.043 GB, free: 7.523 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.7266, allocations: 211.8 kB / 1.044 GB, free: 7.309 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.735e-05/0.7267, allocations: 55.23 kB / 1.044 GB, free: 7.254 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.7268, allocations: 61.55 kB / 1.044 GB, free: 7.188 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.727, allocations: 346.8 kB / 1.044 GB, free: 6.84 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.7273, allocations: 67.95 kB / 1.044 GB, free: 6.773 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.7276, allocations: 145.3 kB / 1.044 GB, free: 6.598 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.7281, allocations: 244.8 kB / 1.045 GB, free: 6.32 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7281, allocations: 0 / 1.045 GB, free: 6.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000607/0.7287, allocations: 314.6 kB / 1.045 GB, free: 6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.7287, allocations: 41.62 kB / 1.045 GB, free: 5.953 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.7288, allocations: 4 kB / 1.045 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.7288, allocations: 7.938 kB / 1.045 GB, free: 5.941 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.729, allocations: 55.91 kB / 1.045 GB, free: 5.887 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.729, allocations: 4 kB / 1.045 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.7293, allocations: 43.95 kB / 1.045 GB, free: 5.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.7294, allocations: 11.98 kB / 1.045 GB, free: 5.828 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.0001716/0.7295, allocations: 157.8 kB / 1.045 GB, free: 5.664 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.7296, allocations: 31.62 kB / 1.045 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004639/0.7301, allocations: 198.4 kB / 1.045 GB, free: 5.438 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.7301, allocations: 7.938 kB / 1.045 GB, free: 5.43 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.7301, allocations: 4 kB / 1.045 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000518/0.7306, allocations: 483.8 kB / 1.046 GB, free: 4.867 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00042/0.7311, allocations: 353.3 kB / 1.046 GB, free: 4.473 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7311, allocations: 0 / 1.046 GB, free: 4.473 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.7313, allocations: 39.91 kB / 1.046 GB, free: 4.434 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.7313, allocations: 0 / 1.046 GB, free: 4.434 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.7313, allocations: 0 / 1.046 GB, free: 4.434 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.7313, allocations: 7.938 kB / 1.046 GB, free: 4.426 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.7313, allocations: 4 kB / 1.046 GB, free: 4.422 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006151/0.7319, allocations: 281.7 kB / 1.047 GB, free: 4.129 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.7321, allocations: 120.8 kB / 1.047 GB, free: 3.992 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.7321, allocations: 4 kB / 1.047 GB, free: 3.988 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.7324, allocations: 27.91 kB / 1.047 GB, free: 3.961 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/0.7325, allocations: 15.92 kB / 1.047 GB, free: 3.945 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.7325, allocations: 11.98 kB / 1.047 GB, free: 3.934 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002372/0.7327, allocations: 235.1 kB / 1.047 GB, free: 3.703 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7327, allocations: 0 / 1.047 GB, free: 3.703 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004245/0.7332, allocations: 124 kB / 1.047 GB, free: 3.582 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.0003428/0.7335, allocations: 183.1 kB / 1.047 GB, free: 3.395 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005037/0.734, allocations: 227.6 kB / 1.047 GB, free: 3.16 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7341, allocations: 4 kB / 1.047 GB, free: 3.156 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.7342, allocations: 71.89 kB / 1.048 GB, free: 3.086 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000964/0.7352, allocations: 211.4 kB / 1.048 GB, free: 2.891 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.7367, allocations: 0.8866 MB / 1.049 GB, free: 1.969 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.7371, allocations: 0.7921 MB / 1.049 GB, free: 1.152 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.26e-05/0.7372, allocations: 31.44 kB / 1.049 GB, free: 1.121 MB / 0.795 GB Notification: Performance of SimCode: time 4.31e-07/0.7372, allocations: 0 / 1.049 GB, free: 1.121 MB / 0.795 GB Notification: Performance of Templates: time 0.008875/0.7461, allocations: 5.946 MB / 1.055 GB, free: 11.23 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches