Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008401/0.0008401, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007812/0.0007812, allocations: 177.9 kB / 23.22 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8848/0.8848, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.683/1.683, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.139e-05, allocations: 5.094 kB / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.009493/0.009514, allocations: 13.43 MB / 0.9953 GB, free: 4.621 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003077/0.01259, allocations: 3.389 MB / 0.9986 GB, free: 1.223 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.01283, allocations: 23.81 kB / 0.9986 GB, free: 1.199 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004509/0.01328, allocations: 206.6 kB / 0.9988 GB, free: 0.9961 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008516/0.01413, allocations: 0.637 MB / 0.9994 GB, free: 364 kB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006026/0.01473, allocations: 427.4 kB / 0.9999 GB, free: 15.94 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0008177/0.01555, allocations: 1.108 MB / 1.001 GB, free: 14.83 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.01584, allocations: 249 kB / 1.001 GB, free: 14.58 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000788/0.01662, allocations: 0.5636 MB / 1.002 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.01688, allocations: 279.1 kB / 1.002 GB, free: 13.74 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.01692, allocations: 36 kB / 1.002 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.01717, allocations: 219.5 kB / 1.002 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.944e-05/0.01725, allocations: 103.5 kB / 1.002 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.01736, allocations: 151.7 kB / 1.002 GB, free: 13.24 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005612/0.01792, allocations: 0.6114 MB / 1.003 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.01793, allocations: 0 / 1.003 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01793, allocations: 0 / 1.003 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.01793, allocations: 0 / 1.003 GB, free: 12.63 MB / 0.9636 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.0007816/0.01871, allocations: 0.6816 MB / 1.004 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.01875, allocations: 8.031 kB / 1.004 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.01887, allocations: 52.64 kB / 1.004 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.01937, allocations: 400 kB / 1.004 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.01939, allocations: 24.86 kB / 1.004 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.01943, allocations: 24.38 kB / 1.004 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.01982, allocations: 416.4 kB / 1.005 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.01984, allocations: 4 kB / 1.005 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.01986, allocations: 11.98 kB / 1.005 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.01987, allocations: 8 kB / 1.005 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.02014, allocations: 201.8 kB / 1.005 GB, free: 10.72 MB / 0.9636 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.0009988/0.02114, allocations: 1.089 MB / 1.006 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.02141, allocations: 154.6 kB / 1.006 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.942e-05/0.0215, allocations: 60.81 kB / 1.006 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.04e-05/0.02157, allocations: 8 kB / 1.006 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.02179, allocations: 234.1 kB / 1.006 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.02179, allocations: 0 / 1.006 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.0003707/0.02216, allocations: 229.3 kB / 1.007 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.02219, allocations: 63.28 kB / 1.007 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.02242, allocations: 328.5 kB / 1.007 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.02244, allocations: 29.7 kB / 1.007 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.02261, allocations: 224.3 kB / 1.007 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.02265, allocations: 55.53 kB / 1.007 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.02271, allocations: 57.7 kB / 1.007 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.0228, allocations: 346.7 kB / 1.008 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.02292, allocations: 97.66 kB / 1.008 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.02306, allocations: 183.5 kB / 1.008 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.02329, allocations: 245.3 kB / 1.008 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.02329, allocations: 0 / 1.008 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003519/0.02364, allocations: 344.5 kB / 1.008 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.02367, allocations: 38 kB / 1.008 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.02368, allocations: 4 kB / 1.008 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.02369, allocations: 4 kB / 1.008 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.02381, allocations: 55.91 kB / 1.009 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.02381, allocations: 4 kB / 1.009 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.02393, allocations: 27.88 kB / 1.009 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.02395, allocations: 16 kB / 1.009 GB, free: 6.617 MB / 0.9636 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.0001089/0.02406, allocations: 165.6 kB / 1.009 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.02409, allocations: 35.77 kB / 1.009 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.02434, allocations: 195.6 kB / 1.009 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.02434, allocations: 3.938 kB / 1.009 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.02435, allocations: 0 / 1.009 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002635/0.02461, allocations: 483.7 kB / 1.009 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.02483, allocations: 253.1 kB / 1.01 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.02483, allocations: 0 / 1.01 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-05/0.02492, allocations: 31.98 kB / 1.01 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.02492, allocations: 0 / 1.01 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.02493, allocations: 3.984 kB / 1.01 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.02493, allocations: 4 kB / 1.01 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.02493, allocations: 0 / 1.01 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.02529, allocations: 288.6 kB / 1.01 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/0.02536, allocations: 51.7 kB / 1.01 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.02539, allocations: 4 kB / 1.01 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.02549, allocations: 23.95 kB / 1.01 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.02553, allocations: 20.06 kB / 1.01 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.02555, allocations: 4 kB / 1.01 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000147/0.0257, allocations: 231 kB / 1.01 GB, free: 4.711 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.0257, allocations: 0 / 1.01 GB, free: 4.711 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000254/0.02595, allocations: 123.7 kB / 1.01 GB, free: 4.59 MB / 0.9636 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.0002199/0.02617, allocations: 199.5 kB / 1.011 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.02646, allocations: 255.6 kB / 1.011 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.02646, allocations: 0 / 1.011 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.428e-05/0.02656, allocations: 66.66 kB / 1.011 GB, free: 4.055 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.02703, allocations: 191.9 kB / 1.011 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008034/0.02783, allocations: 0.6805 MB / 1.012 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.02794, allocations: 181.1 kB / 1.012 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.028, allocations: 36.48 kB / 1.012 GB, free: 2.922 MB / 0.9636 GB Notification: Performance of SimCode: time 5.61e-07/0.028, allocations: 0 / 1.012 GB, free: 2.922 MB / 0.9636 GB Notification: Performance of Templates: time 0.005438/0.03344, allocations: 6.145 MB / 1.018 GB, free: 12.82 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.6880348939448595]