Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.001158/0.001158, allocations: 91.67 kB / 20.95 MB, free: 3.301 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.00733/0.00733, allocations: 162 kB / 24.38 MB, free: 8.586 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.995/0.995, allocations: 177.1 MB / 204.8 MB, free: 5.062 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.962/1.962, allocations: 389.6 MB / 0.6356 GB, free: 12.23 MB / 0.6042 GB " [Timeout remaining time 177] 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.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7756 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.704e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001165/0.001182, allocations: 0.6836 MB / 0.7763 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.002607, allocations: 1.353 MB / 0.7776 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.002636, allocations: 0 / 0.7776 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.002653, allocations: 3.938 kB / 0.7776 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.645e-05/0.00268, allocations: 0 / 0.7776 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.003011, allocations: 73.42 kB / 0.7777 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.575e-05/0.003067, allocations: 23.08 kB / 0.7777 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.003107, allocations: 7.984 kB / 0.7777 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.718e-05/0.003144, allocations: 17.08 kB / 0.7777 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.937e-05/0.003214, allocations: 13.28 kB / 0.7777 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.003226, allocations: 1.719 kB / 0.7777 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.003477, allocations: 124.4 kB / 0.7779 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.003489, allocations: 1.422 kB / 0.7779 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.003506, allocations: 12.64 kB / 0.7779 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.003647, allocations: 89.67 kB / 0.778 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.003651, allocations: 3.984 kB / 0.778 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003651, allocations: 0.5 kB / 0.778 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.003655, allocations: 0 / 0.778 GB, free: 2.746 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000316/0.003971, allocations: 249.2 kB / 0.7782 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.004004, allocations: 15.69 kB / 0.7782 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.004032, allocations: 4.922 kB / 0.7782 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.762e-05/0.004119, allocations: 105.8 kB / 0.7783 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.004133, allocations: 12.31 kB / 0.7783 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.004159, allocations: 8.672 kB / 0.7783 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.882e-05/0.004248, allocations: 78.69 kB / 0.7784 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.004257, allocations: 192 / 0.7784 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-06/0.004264, allocations: 384 / 0.7784 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.004271, allocations: 3.938 kB / 0.7784 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.004311, allocations: 19.97 kB / 0.7784 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.721e-05/0.004398, allocations: 69.05 kB / 0.7785 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.733e-05/0.004475, allocations: 54.56 kB / 0.7786 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.004495, allocations: 19.58 kB / 0.7786 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.004657, allocations: 35.95 kB / 0.7786 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.004681, allocations: 38.56 kB / 0.7787 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 9.31e-07/0.004682, allocations: 0 / 0.7787 GB, free: 1.961 MB / 0.7292 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.01461/0.01929, allocations: 8.505 MB / 0.787 GB, free: 9.508 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.01933, allocations: 55.41 kB / 0.787 GB, free: 9.441 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.002e-05/0.0194, allocations: 98.72 kB / 0.7871 GB, free: 9.332 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 9.065e-05/0.01949, allocations: 29.7 kB / 0.7871 GB, free: 9.297 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.01952, allocations: 80.14 kB / 0.7872 GB, free: 9.215 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.01964, allocations: 67.41 kB / 0.7873 GB, free: 9.148 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/0.01987, allocations: 57.58 kB / 0.7873 GB, free: 9.086 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.01995, allocations: 322.8 kB / 0.7876 GB, free: 8.762 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007002/0.02065, allocations: 0.668 MB / 0.7883 GB, free: 8.094 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.02117, allocations: 0.6717 MB / 0.7889 GB, free: 7.422 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.02229, allocations: 1.429 MB / 0.7903 GB, free: 5.992 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.0223, allocations: 4 kB / 0.7903 GB, free: 5.988 MB / 0.7449 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00127/0.02357, allocations: 1.419 MB / 0.7917 GB, free: 4.562 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.02359, allocations: 8.719 kB / 0.7917 GB, free: 4.555 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.0236, allocations: 3.984 kB / 0.7917 GB, free: 4.551 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.02361, allocations: 0 / 0.7917 GB, free: 4.551 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006474/0.02426, allocations: 87.75 kB / 0.7918 GB, free: 4.465 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.02426, allocations: 0 / 0.7918 GB, free: 4.465 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.02457, allocations: 16 kB / 0.7918 GB, free: 4.449 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.867e-05/0.02465, allocations: 15.95 kB / 0.7919 GB, free: 4.434 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001881/0.02483, allocations: 121.8 kB / 0.792 GB, free: 4.305 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.02496, allocations: 15.88 kB / 0.792 GB, free: 4.289 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003332/0.02829, allocations: 1.973 MB / 0.7939 GB, free: 2.312 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.0283, allocations: 8 kB / 0.7939 GB, free: 2.305 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.0283, allocations: 0 / 0.7939 GB, free: 2.305 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.02831, allocations: 3.984 kB / 0.7939 GB, free: 2.301 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.03071, allocations: 1.873 MB / 0.7958 GB, free: 412 kB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.03072, allocations: 3.938 kB / 0.7958 GB, free: 408 kB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007334/0.03145, allocations: 163.8 kB / 0.7959 GB, free: 244 kB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.03146, allocations: 4 kB / 0.7959 GB, free: 240 kB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.108e-05/0.03153, allocations: 19.98 kB / 0.7959 GB, free: 220 kB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.03153, allocations: 7.969 kB / 0.7959 GB, free: 212 kB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.03154, allocations: 8 kB / 0.796 GB, free: 204 kB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.03315, allocations: 1.64 MB / 0.7976 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.03318, allocations: 39.67 kB / 0.7976 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.03329, allocations: 16 kB / 0.7976 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.03361, allocations: 24 kB / 0.7976 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.03376, allocations: 48.89 kB / 0.7977 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-05/0.03383, allocations: 19.98 kB / 0.7977 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 1.25e-05/0.03384, allocations: 12.86 kB / 0.7977 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/0.03384, allocations: 4.125 kB / 0.7977 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005111/0.03436, allocations: 259.7 kB / 0.798 GB, free: 14.12 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * 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 (89): * Single equations (assignments): 89 * 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 Backend phase and start with SimCode phase: time 0.0004019/0.03476, allocations: 247.8 kB / 0.7982 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.03586, allocations: 1.235 MB / 0.7994 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.03586, allocations: 0 / 0.7994 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005246/0.03639, allocations: 0.5551 MB / 0.7999 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.03664, allocations: 42.67 kB / 0.8 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.03896, allocations: 1.053 MB / 0.801 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.365e-05/0.03902, allocations: 108 kB / 0.8011 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001545/0.04057, allocations: 0.7014 MB / 0.8018 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009616/0.04153, allocations: 131.3 kB / 0.8019 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of SimCode: time 5.51e-07/0.04153, allocations: 4 kB / 0.8019 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of Templates: time 0.02563/0.06716, allocations: 25.94 MB / 0.8273 GB, free: 60 kB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.415886940434575]