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.001957/0.001957, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002077/0.002077, allocations: 165.3 kB / 23.55 MB, free: 0.8711 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.548/1.548, allocations: 177.1 MB / 203.9 MB, free: 5.617 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 3.013/3.013, allocations: 359 MB / 0.6048 GB, free: 10.97 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.423e-06/1.423e-06, allocations: 0 / 0.7863 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.798e-05, allocations: 5.719 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02148/0.02151, allocations: 14.89 MB / 0.8009 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.006777/0.02829, allocations: 3.698 MB / 0.8045 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005379/0.02882, allocations: 23.81 kB / 0.8045 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0007612/0.02959, allocations: 202.6 kB / 0.8047 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.03132, allocations: 0.6448 MB / 0.8054 GB, free: 9.348 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.03236, allocations: 410.9 kB / 0.8057 GB, free: 8.945 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001661/0.03402, allocations: 1.102 MB / 0.8068 GB, free: 7.84 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000713/0.03474, allocations: 269.1 kB / 0.8071 GB, free: 7.578 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.03606, allocations: 0.532 MB / 0.8076 GB, free: 7.055 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005155/0.03658, allocations: 279.1 kB / 0.8079 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 7.393e-05/0.03665, allocations: 32 kB / 0.8079 GB, free: 6.75 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005847/0.03724, allocations: 227.4 kB / 0.8081 GB, free: 6.527 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.03738, allocations: 103.5 kB / 0.8082 GB, free: 6.426 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.03761, allocations: 143.7 kB / 0.8083 GB, free: 6.285 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.03866, allocations: 0.623 MB / 0.809 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.03866, allocations: 0 / 0.809 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.82e-07/0.03866, allocations: 0 / 0.809 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.03867, allocations: 0 / 0.809 GB, free: 5.66 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.001472/0.04014, allocations: 0.8046 MB / 0.8097 GB, free: 4.809 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.04017, allocations: 8.031 kB / 0.8098 GB, free: 4.801 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002544/0.04043, allocations: 80.59 kB / 0.8098 GB, free: 4.723 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008518/0.04128, allocations: 418.8 kB / 0.8102 GB, free: 4.289 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.04131, allocations: 20.88 kB / 0.8102 GB, free: 4.27 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.345e-05/0.04137, allocations: 24.38 kB / 0.8103 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007318/0.04211, allocations: 434.5 kB / 0.8107 GB, free: 3.773 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.04213, allocations: 7.984 kB / 0.8107 GB, free: 3.766 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.04216, allocations: 8 kB / 0.8107 GB, free: 3.758 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.04218, allocations: 8 kB / 0.8107 GB, free: 3.75 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000467/0.04265, allocations: 169.8 kB / 0.8109 GB, free: 3.586 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.04484, allocations: 1.434 MB / 0.8123 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/0.04528, allocations: 139.1 kB / 0.8124 GB, free: 1.941 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.04545, allocations: 59.66 kB / 0.8125 GB, free: 1.879 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.04555, allocations: 15.92 kB / 0.8125 GB, free: 1.863 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003987/0.04595, allocations: 239.8 kB / 0.8127 GB, free: 1.59 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.04595, allocations: 0 / 0.8127 GB, free: 1.59 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0006249/0.04657, allocations: 201.4 kB / 0.8129 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.04663, allocations: 59.34 kB / 0.813 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.04716, allocations: 434.2 kB / 0.8134 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.0472, allocations: 33.7 kB / 0.8134 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.04745, allocations: 283.1 kB / 0.8137 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.447e-05/0.04753, allocations: 59.53 kB / 0.8137 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.04764, allocations: 63.36 kB / 0.8138 GB, free: 436 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003854/0.04803, allocations: 0.5469 MB / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.04824, allocations: 85.67 kB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.04855, allocations: 198.2 kB / 0.8146 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/0.04906, allocations: 268.2 kB / 0.8148 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.04906, allocations: 7.938 kB / 0.8149 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006532/0.04972, allocations: 322.3 kB / 0.8152 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.22e-05/0.04978, allocations: 42 kB / 0.8152 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.04979, allocations: 3.938 kB / 0.8152 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.04981, allocations: 4 kB / 0.8152 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.05006, allocations: 55.97 kB / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.05007, allocations: 7.938 kB / 0.8153 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.05031, allocations: 31.83 kB / 0.8153 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.05034, allocations: 8 kB / 0.8153 GB, free: 14.72 MB / 0.7761 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.000279/0.05062, allocations: 208.4 kB / 0.8155 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.816e-05/0.05069, allocations: 43.8 kB / 0.8155 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.05116, allocations: 174.8 kB / 0.8157 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.05116, allocations: 0 / 0.8157 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.05117, allocations: 0 / 0.8157 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005739/0.05174, allocations: 471.7 kB / 0.8162 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.05226, allocations: 324.3 kB / 0.8165 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.05226, allocations: 0 / 0.8165 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.05242, allocations: 27.98 kB / 0.8165 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.05242, allocations: 0 / 0.8165 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.05244, allocations: 8 kB / 0.8165 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.05244, allocations: 4 kB / 0.8165 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.05244, allocations: 0 / 0.8165 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006357/0.05308, allocations: 279 kB / 0.8168 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.05321, allocations: 51.78 kB / 0.8168 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.05326, allocations: 0 / 0.8168 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.05347, allocations: 15.98 kB / 0.8168 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.05353, allocations: 11.97 kB / 0.8169 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.05356, allocations: 12 kB / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004395/0.054, allocations: 279 kB / 0.8171 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.054, allocations: 0 / 0.8171 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004588/0.05446, allocations: 131.6 kB / 0.8173 GB, free: 12.56 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.0003791/0.05484, allocations: 207 kB / 0.8175 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000534/0.05537, allocations: 248.5 kB / 0.8177 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.05537, allocations: 0 / 0.8177 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.05557, allocations: 73.19 kB / 0.8178 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.05661, allocations: 206 kB / 0.818 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.058, allocations: 0.6543 MB / 0.8186 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.0582, allocations: 189.1 kB / 0.8188 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002135/0.05842, allocations: 51.25 kB / 0.8188 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.05852, allocations: 44.48 kB / 0.8189 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.05852, allocations: 3.938 kB / 0.8189 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of Templates: time 0.01559/0.07411, allocations: 7.244 MB / 0.8259 GB, free: 3.77 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] 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.529906790005043]