Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001476/0.001476, allocations: 108 kB / 15.6 MB, free: 132 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.001719/0.001719, allocations: 191 kB / 16.53 MB, free: 6.391 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001415, allocations: 59.91 kB / 0.8125 GB, free: 14.5 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7464/0.7478, allocations: 140.4 MB / 0.9496 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01776/0.7656, allocations: 14.45 MB / 0.9637 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006858/0.7725, allocations: 3.638 MB / 0.9672 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008164/0.7734, allocations: 19.91 kB / 0.9673 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009467/0.7744, allocations: 200.3 kB / 0.9674 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.7766, allocations: 0.5813 MB / 0.968 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.7777, allocations: 387.4 kB / 0.9684 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001636/0.7794, allocations: 1.085 MB / 0.9694 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005469/0.7799, allocations: 327.2 kB / 0.9698 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.7811, allocations: 382.9 kB / 0.9701 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004843/0.7816, allocations: 305.4 kB / 0.9704 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.283e-05/0.7817, allocations: 32.72 kB / 0.9704 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008282/0.7826, allocations: 261.6 kB / 0.9707 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.7827, allocations: 87.19 kB / 0.9708 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002851/0.783, allocations: 220.9 kB / 0.971 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.784, allocations: 0.58 MB / 0.9716 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.784, allocations: 0 / 0.9716 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.403e-06/0.784, allocations: 1.062 kB / 0.9716 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.7841, allocations: 0 / 0.9716 GB, free: 7.637 MB / 0.7325 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.001314/0.7854, allocations: 0.7494 MB / 0.9723 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.7854, allocations: 9.875 kB / 0.9723 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.7856, allocations: 53.25 kB / 0.9723 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007445/0.7864, allocations: 450.9 kB / 0.9728 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.7864, allocations: 23.69 kB / 0.9728 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.7865, allocations: 30.44 kB / 0.9728 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006456/0.7872, allocations: 309.2 kB / 0.9731 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.7872, allocations: 3.938 kB / 0.9731 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.7872, allocations: 11.34 kB / 0.9731 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.7873, allocations: 7.719 kB / 0.9731 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004896/0.7878, allocations: 190.2 kB / 0.9733 GB, free: 6.215 MB / 0.7325 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.001902/0.7897, allocations: 1.491 MB / 0.9748 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.7901, allocations: 158.3 kB / 0.9749 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.7903, allocations: 74.2 kB / 0.975 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.7905, allocations: 91.61 kB / 0.9751 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003251/0.7908, allocations: 128.4 kB / 0.9752 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 2.084e-06/0.7909, allocations: 0 / 0.9752 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0006843/0.7915, allocations: 229.3 kB / 0.9754 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.7916, allocations: 61.72 kB / 0.9755 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004054/0.792, allocations: 348.2 kB / 0.9758 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.7921, allocations: 27.95 kB / 0.9759 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.7922, allocations: 220.6 kB / 0.9761 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.7923, allocations: 49.98 kB / 0.9761 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-05/0.7924, allocations: 57.55 kB / 0.9762 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.7925, allocations: 342.1 kB / 0.9765 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.7927, allocations: 69.27 kB / 0.9766 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.793, allocations: 145 kB / 0.9767 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004696/0.7935, allocations: 249.3 kB / 0.9769 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7935, allocations: 3.938 kB / 0.9769 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006677/0.7942, allocations: 310.6 kB / 0.9772 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.7942, allocations: 32.95 kB / 0.9773 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.7942, allocations: 2.781 kB / 0.9773 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.7943, allocations: 3.375 kB / 0.9773 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.7945, allocations: 66.33 kB / 0.9773 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.7946, allocations: 8.312 kB / 0.9773 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.7949, allocations: 35.17 kB / 0.9774 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.7949, allocations: 13.16 kB / 0.9774 GB, free: 2.789 MB / 0.7325 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.0001902/0.7951, allocations: 159 kB / 0.9775 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.7952, allocations: 31.12 kB / 0.9776 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005127/0.7957, allocations: 201.2 kB / 0.9778 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.7957, allocations: 6.125 kB / 0.9778 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7957, allocations: 0 / 0.9778 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005038/0.7962, allocations: 476.7 kB / 0.9782 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.7967, allocations: 358 kB / 0.9786 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.7967, allocations: 3.984 kB / 0.9786 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.7969, allocations: 27.33 kB / 0.9786 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.7969, allocations: 4.844 kB / 0.9786 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.797, allocations: 6.094 kB / 0.9786 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.797, allocations: 4.719 kB / 0.9786 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.797, allocations: 0 / 0.9786 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006479/0.7976, allocations: 284.8 kB / 0.9789 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.7978, allocations: 121.9 kB / 0.979 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.7978, allocations: 5.281 kB / 0.979 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.7981, allocations: 32.22 kB / 0.979 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.7982, allocations: 15.11 kB / 0.979 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.7982, allocations: 8.734 kB / 0.9791 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002764/0.7985, allocations: 246.7 kB / 0.9793 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7985, allocations: 0 / 0.9793 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005371/0.7991, allocations: 122.6 kB / 0.9794 GB, free: 1.141 MB / 0.7325 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.0003957/0.7995, allocations: 206.3 kB / 0.9796 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005765/0.8, allocations: 239.9 kB / 0.9798 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8001, allocations: 1.062 kB / 0.9798 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.8003, allocations: 68.17 kB / 0.9799 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.8013, allocations: 216 kB / 0.9801 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.8029, allocations: 0.7337 MB / 0.9808 GB, free: 200 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.8033, allocations: 0.7914 MB / 0.9816 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002991/0.8037, allocations: 55.92 kB / 0.9816 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.981e-05/0.8037, allocations: 38.89 kB / 0.9817 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of SimCode: time 4.1e-07/0.8038, allocations: 0 / 0.9817 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of Templates: time 0.01397/0.8177, allocations: 7.145 MB / 0.9887 GB, free: 9.234 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches