Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Components.Validation.Tanks.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.001088/0.001088, allocations: 91.67 kB / 20.95 MB, free: 3.305 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.005929/0.005929, allocations: 160.5 kB / 24.38 MB, free: 8.551 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.9288/0.9288, allocations: 177.1 MB / 204.8 MB, free: 5.402 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.879/1.879, allocations: 389.6 MB / 0.6356 GB, free: 12.18 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Components.Validation.Tanks") translateModel(Buildings.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Components.Validation.Tanks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.7755 GB, free: 5.188 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.14e-05, allocations: 6.25 kB / 0.7755 GB, free: 5.18 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/Templates/Components/Tanks/Buffer.mo:9:3-12:41:writable] Warning: Parameter noTan.V has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Tanks): time 0.009557/0.009579, allocations: 12.29 MB / 0.7875 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006923/0.0165, allocations: 5.395 MB / 0.7928 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008089/0.01731, allocations: 67.44 kB / 0.7929 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000565/0.01788, allocations: 246.1 kB / 0.7931 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.01939, allocations: 0.8827 MB / 0.794 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009026/0.0203, allocations: 0.6377 MB / 0.7946 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0015/0.0218, allocations: 2.033 MB / 0.7966 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.02288, allocations: 0.5461 MB / 0.7971 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.02407, allocations: 0.9339 MB / 0.798 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004844/0.02456, allocations: 494.4 kB / 0.7985 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 6.848e-05/0.02463, allocations: 64 kB / 0.7986 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004793/0.0251, allocations: 275.5 kB / 0.7988 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.02523, allocations: 196.3 kB / 0.799 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.02545, allocations: 275.4 kB / 0.7993 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0007783/0.02622, allocations: 0.7319 MB / 0.8 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.02623, allocations: 1.969 kB / 0.8 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.72e-07/0.02623, allocations: 0 / 0.8 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.02624, allocations: 0 / 0.8 GB, free: 12.17 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.000986/0.02722, allocations: 0.9237 MB / 0.8009 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.02726, allocations: 13.34 kB / 0.8009 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.02744, allocations: 109.3 kB / 0.801 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005459/0.02798, allocations: 492.6 kB / 0.8015 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.02801, allocations: 38.25 kB / 0.8015 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.02806, allocations: 52.38 kB / 0.8016 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000444/0.0285, allocations: 497.9 kB / 0.802 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.02852, allocations: 0 / 0.802 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.02855, allocations: 28.98 kB / 0.8021 GB, free: 9.949 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.02858, allocations: 12 kB / 0.8021 GB, free: 9.938 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.02875, allocations: 143.5 kB / 0.8022 GB, free: 9.797 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.03013, allocations: 1.687 MB / 0.8039 GB, free: 8.062 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.0304, allocations: 171.8 kB / 0.804 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.03045, allocations: 52.36 kB / 0.8041 GB, free: 7.828 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006987/0.03115, allocations: 0.5967 MB / 0.8047 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.03117, allocations: 30.56 kB / 0.8047 GB, free: 7.18 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 2.184e-06/0.03117, allocations: 0.7812 kB / 0.8047 GB, free: 7.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=20): time 0.0002226/0.03139, allocations: 189.6 kB / 0.8049 GB, free: 6.992 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.03142, allocations: 51.41 kB / 0.8049 GB, free: 6.93 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.03169, allocations: 448.7 kB / 0.8053 GB, free: 6.477 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.0317, allocations: 33.7 kB / 0.8054 GB, free: 6.438 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.03183, allocations: 297.1 kB / 0.8057 GB, free: 6.141 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.03187, allocations: 85.02 kB / 0.8057 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.03194, allocations: 81.56 kB / 0.8058 GB, free: 5.973 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.03204, allocations: 366.6 kB / 0.8062 GB, free: 5.605 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.03208, allocations: 34.59 kB / 0.8062 GB, free: 5.57 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.03222, allocations: 277.4 kB / 0.8065 GB, free: 5.211 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.0324, allocations: 247.8 kB / 0.8067 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.0324, allocations: 0 / 0.8067 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002288/0.03263, allocations: 236.7 kB / 0.8069 GB, free: 4.676 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.03265, allocations: 8 kB / 0.8069 GB, free: 4.668 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.03265, allocations: 5.594 kB / 0.8069 GB, free: 4.664 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.03266, allocations: 8 kB / 0.807 GB, free: 4.656 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.03295, allocations: 75.89 kB / 0.807 GB, free: 4.582 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.03295, allocations: 7.938 kB / 0.807 GB, free: 4.574 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.03307, allocations: 36.28 kB / 0.8071 GB, free: 4.539 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.03309, allocations: 21.11 kB / 0.8071 GB, free: 4.52 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (intFlo.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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.0001062/0.0332, allocations: 140.5 kB / 0.8072 GB, free: 4.371 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.03324, allocations: 40.75 kB / 0.8073 GB, free: 4.332 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.03346, allocations: 196.4 kB / 0.8074 GB, free: 4.137 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.03346, allocations: 4 kB / 0.8075 GB, free: 4.133 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.03347, allocations: 0.5625 kB / 0.8075 GB, free: 4.133 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001632/0.03363, allocations: 354.1 kB / 0.8078 GB, free: 3.723 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.03413, allocations: 0.581 MB / 0.8084 GB, free: 3.102 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.03414, allocations: 8.984 kB / 0.8084 GB, free: 3.094 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.03426, allocations: 51.84 kB / 0.8084 GB, free: 3.043 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.03426, allocations: 5.125 kB / 0.8084 GB, free: 3.039 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.03427, allocations: 8 kB / 0.8084 GB, free: 3.031 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.03427, allocations: 4 kB / 0.8084 GB, free: 3.027 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.03428, allocations: 5.719 kB / 0.8084 GB, free: 3.023 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.03454, allocations: 358.3 kB / 0.8088 GB, free: 2.641 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.923e-05/0.03462, allocations: 67.58 kB / 0.8088 GB, free: 2.574 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.03465, allocations: 4.5 kB / 0.8088 GB, free: 2.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.03475, allocations: 9.625 kB / 0.8089 GB, free: 2.562 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.03478, allocations: 19.97 kB / 0.8089 GB, free: 2.543 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.03479, allocations: 7.984 kB / 0.8089 GB, free: 2.535 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001309/0.03492, allocations: 199.2 kB / 0.8091 GB, free: 2.34 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.03492, allocations: 1.062 kB / 0.8091 GB, free: 2.34 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003335/0.03526, allocations: 191.4 kB / 0.8093 GB, free: 2.152 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (tan.vol.dynBal.U,intFlo.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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.0002312/0.03549, allocations: 155.3 kB / 0.8094 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.03567, allocations: 149 kB / 0.8095 GB, free: 1.852 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.03568, allocations: 8 kB / 0.8096 GB, free: 1.844 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.764e-05/0.03575, allocations: 68.7 kB / 0.8096 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006004/0.03635, allocations: 277.2 kB / 0.8099 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.03757, allocations: 0.9893 MB / 0.8108 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.666e-05/0.03765, allocations: 134.3 kB / 0.811 GB, free: 352 kB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001829/0.03784, allocations: 83.08 kB / 0.8111 GB, free: 276 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.03816, allocations: 227.1 kB / 0.8113 GB, free: 48 kB / 0.7605 GB Notification: Performance of SimCode: time 8.81e-07/0.03816, allocations: 0 / 0.8113 GB, free: 48 kB / 0.7605 GB Notification: Performance of Templates: time 0.01249/0.05064, allocations: 10.33 MB / 0.8214 GB, free: 5.977 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Components.Validation.Tanks.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_13_Buildings.Templates.Components.Validation.Tanks.sim & (cd run_cvode && ../Buildings_13_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Templates.Components.Validation.Tanks_gbode.pipe ; mkfifo Buildings_13_Buildings.Templates.Components.Validation.Tanks_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Components.Validation.Tanks_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Templates.Components.Validation.Tanks_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Templates.Components.Validation.Tanks_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Templates.Components.Validation.Tanks_ida.pipe ; mkfifo Buildings_13_Buildings.Templates.Components.Validation.Tanks_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Components.Validation.Tanks_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Templates.Components.Validation.Tanks_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Templates.Components.Validation.Tanks_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.196977583691478]