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.001541/0.001541, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001839/0.00184, allocations: 193.5 kB / 16.25 MB, free: 6.621 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.44/1.44, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.418/2.418, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.89 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7539/0.7559, allocations: 140.3 MB / 0.9491 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01504/0.771, allocations: 14.38 MB / 0.9631 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005925/0.777, allocations: 3.607 MB / 0.9666 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006368/0.7777, allocations: 21.78 kB / 0.9667 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006934/0.7784, allocations: 177.7 kB / 0.9668 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.78, allocations: 0.5504 MB / 0.9674 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.7811, allocations: 356.8 kB / 0.9677 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00154/0.7826, allocations: 1.101 MB / 0.9688 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000516/0.7832, allocations: 313.6 kB / 0.9691 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.7843, allocations: 387.6 kB / 0.9695 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004285/0.7847, allocations: 313.7 kB / 0.9698 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.91e-05/0.7848, allocations: 32.5 kB / 0.9698 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006382/0.7854, allocations: 265.5 kB / 0.97 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.7855, allocations: 87.8 kB / 0.9701 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.7858, allocations: 217.8 kB / 0.9703 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007902/0.7866, allocations: 0.5896 MB / 0.9709 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7866, allocations: 0 / 0.9709 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7866, allocations: 0 / 0.9709 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.7866, allocations: 1.094 kB / 0.9709 GB, free: 7.891 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.001231/0.7879, allocations: 0.7456 MB / 0.9716 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.7879, allocations: 9.719 kB / 0.9716 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.7881, allocations: 56.81 kB / 0.9717 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007806/0.7889, allocations: 485.5 kB / 0.9722 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.789, allocations: 23.06 kB / 0.9722 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/0.789, allocations: 26.5 kB / 0.9722 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006055/0.7897, allocations: 304.2 kB / 0.9725 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.7897, allocations: 5.344 kB / 0.9725 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.7897, allocations: 10.69 kB / 0.9725 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.7897, allocations: 12.06 kB / 0.9725 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/0.7902, allocations: 189.7 kB / 0.9727 GB, free: 6.445 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.001895/0.7922, allocations: 1.485 MB / 0.9742 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.7926, allocations: 158.1 kB / 0.9743 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.7928, allocations: 73.28 kB / 0.9744 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.793, allocations: 88.11 kB / 0.9745 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003024/0.7933, allocations: 122.4 kB / 0.9746 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.7933, allocations: 5.062 kB / 0.9746 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.000719/0.794, allocations: 232.9 kB / 0.9748 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.7941, allocations: 54.03 kB / 0.9749 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.7945, allocations: 338.5 kB / 0.9752 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.7945, allocations: 31.98 kB / 0.9752 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.7947, allocations: 220 kB / 0.9754 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.7947, allocations: 54.28 kB / 0.9755 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.214e-05/0.7948, allocations: 57.33 kB / 0.9755 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.795, allocations: 342.5 kB / 0.9759 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.7952, allocations: 69.14 kB / 0.9759 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.7954, allocations: 143.1 kB / 0.9761 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.7959, allocations: 242.2 kB / 0.9763 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.7959, allocations: 1.656 kB / 0.9763 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006207/0.7965, allocations: 315.3 kB / 0.9766 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.7966, allocations: 32.77 kB / 0.9766 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.7966, allocations: 2.219 kB / 0.9766 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.7966, allocations: 12.22 kB / 0.9766 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.7969, allocations: 54.19 kB / 0.9767 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.7969, allocations: 12.14 kB / 0.9767 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.7972, allocations: 42.05 kB / 0.9767 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.7972, allocations: 12.84 kB / 0.9768 GB, free: 3.027 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.0002132/0.7974, allocations: 158.6 kB / 0.9769 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.7975, allocations: 32.09 kB / 0.9769 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.798, allocations: 196.7 kB / 0.9771 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.798, allocations: 6.25 kB / 0.9771 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.798, allocations: 0 / 0.9771 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005/0.7985, allocations: 476.4 kB / 0.9776 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.799, allocations: 354.4 kB / 0.9779 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.799, allocations: 3.938 kB / 0.9779 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.7992, allocations: 35.78 kB / 0.978 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.7992, allocations: 4.969 kB / 0.978 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.7992, allocations: 5.438 kB / 0.978 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.7992, allocations: 9.094 kB / 0.978 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7993, allocations: 0 / 0.978 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/0.7999, allocations: 281 kB / 0.9782 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.8, allocations: 125.3 kB / 0.9784 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.8001, allocations: 9.562 kB / 0.9784 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.8004, allocations: 21.77 kB / 0.9784 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.8004, allocations: 14.5 kB / 0.9784 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.8005, allocations: 9.062 kB / 0.9784 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002435/0.8007, allocations: 238.1 kB / 0.9786 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8007, allocations: 0 / 0.9786 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004658/0.8012, allocations: 119.2 kB / 0.9788 GB, free: 1.391 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.0003343/0.8015, allocations: 181.4 kB / 0.9789 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005328/0.8021, allocations: 242.1 kB / 0.9792 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8021, allocations: 5.188 kB / 0.9792 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.8023, allocations: 70.62 kB / 0.9792 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009842/0.8033, allocations: 210.6 kB / 0.9794 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.8047, allocations: 0.8551 MB / 0.9803 GB, free: 344 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.8051, allocations: 0.7959 MB / 0.981 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000276/0.8054, allocations: 59.97 kB / 0.9811 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.911e-05/0.8055, allocations: 33.92 kB / 0.9811 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of SimCode: time 4.01e-07/0.8055, allocations: 4 kB / 0.9811 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of Templates: time 0.01282/0.8183, allocations: 6.799 MB / 0.9878 GB, free: 9.871 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