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.0009366/0.0009366, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009689/0.0009689, allocations: 161.4 kB / 24.17 MB, free: 328 kB / 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.9466/0.9466, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.853/1.853, allocations: 389.6 MB / 0.6354 GB, free: 12.34 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.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.663e-06/1.663e-06, allocations: 0 / 0.7753 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023e-05/1.189e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001113/0.001124, allocations: 0.6787 MB / 0.7759 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.002483, allocations: 1.354 MB / 0.7772 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.157e-05/0.002504, allocations: 0 / 0.7772 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.002521, allocations: 3.938 kB / 0.7772 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.199e-05/0.002543, allocations: 0.875 kB / 0.7772 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.002846, allocations: 76.67 kB / 0.7773 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.834e-05/0.002894, allocations: 20.84 kB / 0.7773 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.262e-05/0.002927, allocations: 3.984 kB / 0.7773 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.335e-05/0.00296, allocations: 13.86 kB / 0.7774 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.04e-05/0.00302, allocations: 16.52 kB / 0.7774 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.003032, allocations: 4 kB / 0.7774 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.003263, allocations: 112.6 kB / 0.7775 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.003277, allocations: 13.3 kB / 0.7775 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.459e-05/0.003292, allocations: 12.53 kB / 0.7775 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.003413, allocations: 88.91 kB / 0.7776 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003415, allocations: 0 / 0.7776 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.9e-07/0.003416, allocations: 0 / 0.7776 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.003419, allocations: 0 / 0.7776 GB, free: 2.965 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.0002737/0.003692, allocations: 256.4 kB / 0.7778 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.003722, allocations: 9.344 kB / 0.7778 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.003748, allocations: 12.92 kB / 0.7779 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.746e-05/0.003815, allocations: 105.8 kB / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.003824, allocations: 0.9375 kB / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.003842, allocations: 12.42 kB / 0.778 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.721e-05/0.003919, allocations: 79.86 kB / 0.778 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.003927, allocations: 192 / 0.778 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.003935, allocations: 4.359 kB / 0.7781 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.00394, allocations: 7.938 kB / 0.7781 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.372e-05/0.003974, allocations: 19.97 kB / 0.7781 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.022e-05/0.004054, allocations: 69.05 kB / 0.7781 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.997e-05/0.004124, allocations: 50.62 kB / 0.7782 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/0.00414, allocations: 12.86 kB / 0.7782 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.004285, allocations: 46.66 kB / 0.7782 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.004304, allocations: 30.56 kB / 0.7783 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 7.61e-07/0.004305, allocations: 0 / 0.7783 GB, free: 2.176 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.009367/0.01367, allocations: 4.704 MB / 0.7829 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.0137, allocations: 55.94 kB / 0.7829 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.155e-05/0.01376, allocations: 99.48 kB / 0.783 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.01381, allocations: 29.7 kB / 0.783 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.73e-05/0.01384, allocations: 84.8 kB / 0.7831 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.281e-05/0.01392, allocations: 55.47 kB / 0.7832 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.01405, allocations: 46.53 kB / 0.7832 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.01415, allocations: 322.8 kB / 0.7835 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.0144, allocations: 312.7 kB / 0.7838 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.01465, allocations: 312 kB / 0.7841 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007694/0.01542, allocations: 0.8045 MB / 0.7849 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.01542, allocations: 0 / 0.7849 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007152/0.01614, allocations: 0.7444 MB / 0.7856 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.01616, allocations: 11.94 kB / 0.7857 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.01616, allocations: 0.5625 kB / 0.7857 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.01617, allocations: 0 / 0.7857 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.01652, allocations: 52.7 kB / 0.7857 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.01653, allocations: 4 kB / 0.7857 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.0167, allocations: 8.562 kB / 0.7857 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.01674, allocations: 16.94 kB / 0.7857 GB, free: 10.49 MB / 0.7448 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.0001136/0.01685, allocations: 109.8 kB / 0.7858 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.01692, allocations: 13.56 kB / 0.7858 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.0183, allocations: 0.9796 MB / 0.7868 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.01831, allocations: 4 kB / 0.7868 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01831, allocations: 3.984 kB / 0.7868 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.01832, allocations: 3.984 kB / 0.7868 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.01947, allocations: 0.9685 MB / 0.7878 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01947, allocations: 3.938 kB / 0.7878 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.01982, allocations: 75.89 kB / 0.7878 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01982, allocations: 0 / 0.7878 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.01986, allocations: 12 kB / 0.7879 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01986, allocations: 0 / 0.7879 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01986, allocations: 0 / 0.7879 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009319/0.02079, allocations: 0.8729 MB / 0.7887 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.02081, allocations: 19.84 kB / 0.7887 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.02086, allocations: 12.06 kB / 0.7887 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.02103, allocations: 15.98 kB / 0.7887 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.0211, allocations: 19.95 kB / 0.7888 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.02114, allocations: 8 kB / 0.7888 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.554e-06/0.02114, allocations: 4.859 kB / 0.7888 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.02114, allocations: 0 / 0.7888 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003786/0.02152, allocations: 187.7 kB / 0.789 GB, free: 7.172 MB / 0.7448 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 (40): * Single equations (assignments): 40 * 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.0003316/0.02186, allocations: 239.9 kB / 0.7892 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000558/0.02241, allocations: 0.571 MB / 0.7897 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.02242, allocations: 0 / 0.7897 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.02265, allocations: 256.7 kB / 0.79 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.02282, allocations: 19.88 kB / 0.79 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.02417, allocations: 0.5179 MB / 0.7905 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.748e-05/0.02422, allocations: 77.34 kB / 0.7906 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006187/0.02484, allocations: 293.5 kB / 0.7909 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004917/0.02533, allocations: 87.36 kB / 0.791 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.02533, allocations: 0 / 0.791 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of Templates: time 0.01323/0.03856, allocations: 12.95 MB / 0.8036 GB, free: 8.156 MB / 0.7605 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.042689231224358]