Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001395/0.001395, allocations: 76.41 kB / 20.23 MB, free: 4.203 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.001576/0.001576, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.518/1.518, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.862/2.862, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 4.703 kB / 0.7864 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.223e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02761/0.02764, allocations: 13.42 MB / 0.7995 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.009241/0.03688, allocations: 3.385 MB / 0.8028 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007656/0.03765, allocations: 27.75 kB / 0.8028 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009994/0.03865, allocations: 202.6 kB / 0.803 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002617/0.04126, allocations: 0.6425 MB / 0.8036 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.04288, allocations: 416.7 kB / 0.804 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002383/0.04526, allocations: 1.102 MB / 0.8051 GB, free: 9.668 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006722/0.04593, allocations: 261.1 kB / 0.8053 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.0478, allocations: 0.532 MB / 0.8059 GB, free: 8.891 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007118/0.04852, allocations: 279.1 kB / 0.8061 GB, free: 8.617 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 9.189e-05/0.04861, allocations: 32 kB / 0.8062 GB, free: 8.586 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008799/0.04949, allocations: 223.3 kB / 0.8064 GB, free: 8.367 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.04969, allocations: 99.58 kB / 0.8065 GB, free: 8.27 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003351/0.05002, allocations: 151.6 kB / 0.8066 GB, free: 8.121 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.0514, allocations: 0.6231 MB / 0.8072 GB, free: 7.496 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.05141, allocations: 0 / 0.8072 GB, free: 7.496 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.503e-06/0.05141, allocations: 0 / 0.8072 GB, free: 7.496 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.05142, allocations: 0 / 0.8072 GB, free: 7.496 MB / 0.7605 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.001879/0.0533, allocations: 0.6699 MB / 0.8079 GB, free: 6.785 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.05335, allocations: 12.03 kB / 0.8079 GB, free: 6.773 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003671/0.05372, allocations: 76.58 kB / 0.808 GB, free: 6.699 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.05496, allocations: 431.9 kB / 0.8084 GB, free: 6.254 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/0.055, allocations: 24.88 kB / 0.8084 GB, free: 6.23 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.05511, allocations: 32.36 kB / 0.8084 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.05618, allocations: 412.4 kB / 0.8088 GB, free: 5.754 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.0562, allocations: 0 / 0.8088 GB, free: 5.754 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.554e-05/0.05625, allocations: 12 kB / 0.8088 GB, free: 5.742 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.05628, allocations: 4 kB / 0.8088 GB, free: 5.738 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008477/0.05713, allocations: 193.8 kB / 0.809 GB, free: 5.551 MB / 0.7605 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.002777/0.0599, allocations: 1.104 MB / 0.8101 GB, free: 4.391 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007332/0.06064, allocations: 146.6 kB / 0.8102 GB, free: 4.238 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.06094, allocations: 64.81 kB / 0.8103 GB, free: 4.172 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.06108, allocations: 16 kB / 0.8103 GB, free: 4.156 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006221/0.0617, allocations: 234.1 kB / 0.8105 GB, free: 3.891 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 2.264e-06/0.0617, allocations: 0 / 0.8105 GB, free: 3.891 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.001051/0.06275, allocations: 229.3 kB / 0.8108 GB, free: 3.66 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/0.06283, allocations: 55.41 kB / 0.8108 GB, free: 3.594 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006598/0.06349, allocations: 332.4 kB / 0.8111 GB, free: 3.262 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.146e-05/0.06356, allocations: 33.7 kB / 0.8112 GB, free: 3.223 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.06386, allocations: 220.4 kB / 0.8114 GB, free: 3.004 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.37e-05/0.06395, allocations: 55.53 kB / 0.8114 GB, free: 2.949 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.06411, allocations: 57.66 kB / 0.8115 GB, free: 2.887 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002874/0.0644, allocations: 342.8 kB / 0.8118 GB, free: 2.543 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.06479, allocations: 101.6 kB / 0.8119 GB, free: 2.438 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005429/0.06533, allocations: 175 kB / 0.8121 GB, free: 2.227 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007463/0.06608, allocations: 241.1 kB / 0.8123 GB, free: 1.953 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.06608, allocations: 4 kB / 0.8123 GB, free: 1.949 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001154/0.06724, allocations: 357 kB / 0.8126 GB, free: 1.582 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.288e-05/0.0673, allocations: 33.7 kB / 0.8127 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.06731, allocations: 7.938 kB / 0.8127 GB, free: 1.535 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/0.06734, allocations: 4 kB / 0.8127 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.06773, allocations: 56.2 kB / 0.8127 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.06774, allocations: 8 kB / 0.8127 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.06812, allocations: 31.83 kB / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.06817, allocations: 16 kB / 0.8128 GB, free: 1.422 MB / 0.7605 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.0002854/0.06845, allocations: 161.7 kB / 0.8129 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.06855, allocations: 31.81 kB / 0.813 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007082/0.06926, allocations: 198.6 kB / 0.8132 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.06927, allocations: 4 kB / 0.8132 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.06927, allocations: 0 / 0.8132 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008531/0.07013, allocations: 487.7 kB / 0.8136 GB, free: 468 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005795/0.0707, allocations: 245.1 kB / 0.8139 GB, free: 192 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.07071, allocations: 3.984 kB / 0.8139 GB, free: 188 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.07096, allocations: 31.92 kB / 0.8139 GB, free: 156 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.07097, allocations: 0 / 0.8139 GB, free: 156 kB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.07099, allocations: 4 kB / 0.8139 GB, free: 152 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.07099, allocations: 4 kB / 0.8139 GB, free: 148 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.07099, allocations: 4 kB / 0.8139 GB, free: 144 kB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.072, allocations: 289.5 kB / 0.8142 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.07218, allocations: 51.77 kB / 0.8142 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.07224, allocations: 0 / 0.8142 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.07257, allocations: 19.97 kB / 0.8143 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/0.07267, allocations: 19.97 kB / 0.8143 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.0727, allocations: 4 kB / 0.8143 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004008/0.0731, allocations: 235 kB / 0.8145 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.0731, allocations: 0 / 0.8145 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007323/0.07383, allocations: 127.7 kB / 0.8146 GB, free: 15.39 MB / 0.7761 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.0004915/0.07432, allocations: 203 kB / 0.8148 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007779/0.0751, allocations: 254.9 kB / 0.8151 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.0751, allocations: 0 / 0.8151 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.07539, allocations: 63.2 kB / 0.8151 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.07678, allocations: 215.3 kB / 0.8153 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.07901, allocations: 0.6646 MB / 0.816 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.07933, allocations: 181.1 kB / 0.8161 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000362/0.07969, allocations: 55.25 kB / 0.8162 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.07982, allocations: 36.48 kB / 0.8162 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.07982, allocations: 0 / 0.8162 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of Templates: time 0.02297/0.1028, allocations: 7.207 MB / 0.8233 GB, free: 6.648 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.273617781931534]