Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.001284/0.001284, 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.003863/0.003863, allocations: 163.1 kB / 24.38 MB, free: 8.605 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.039/1.039, allocations: 177.1 MB / 204.8 MB, free: 4.969 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 2.035/2.035, allocations: 389.6 MB / 0.6356 GB, free: 12.21 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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.7756 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.607e-05, allocations: 3.094 kB / 0.7756 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002307/0.002333, allocations: 0.6594 MB / 0.7763 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.004034, allocations: 1.322 MB / 0.7776 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.8e-05/0.004052, allocations: 0 / 0.7776 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.004066, allocations: 0 / 0.7776 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.531e-06/0.004071, allocations: 0 / 0.7776 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.004369, allocations: 69.59 kB / 0.7776 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.88e-05/0.004407, allocations: 0 / 0.7776 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.004443, allocations: 8.578 kB / 0.7776 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.449e-05/0.004467, allocations: 1.031 kB / 0.7776 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.727e-05/0.004505, allocations: 0.875 kB / 0.7776 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.426e-06/0.004513, allocations: 0 / 0.7776 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.00476, allocations: 118.8 kB / 0.7777 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.083e-06/0.004767, allocations: 0.6562 kB / 0.7777 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.556e-06/0.004776, allocations: 0 / 0.7777 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.004892, allocations: 76.77 kB / 0.7778 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004895, allocations: 0 / 0.7778 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004896, allocations: 0 / 0.7778 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.0049, allocations: 0 / 0.7778 GB, free: 2.875 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002047/0.005105, allocations: 233.7 kB / 0.778 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.005135, allocations: 13.09 kB / 0.7781 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.1e-05/0.005156, allocations: 0.9375 kB / 0.7781 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.422e-05/0.005221, allocations: 109.7 kB / 0.7782 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-06/0.00523, allocations: 4.375 kB / 0.7782 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.005238, allocations: 384 / 0.7782 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.76e-05/0.005296, allocations: 30.27 kB / 0.7782 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.005304, allocations: 4.172 kB / 0.7782 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-06/0.005309, allocations: 1.141 kB / 0.7782 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.005315, allocations: 3.938 kB / 0.7782 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.987e-06/0.005324, allocations: 4.781 kB / 0.7782 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.146e-05/0.005386, allocations: 61.05 kB / 0.7783 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.319e-05/0.005419, allocations: 15.89 kB / 0.7783 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.668e-06/0.005429, allocations: 4.953 kB / 0.7783 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.005626, allocations: 48.78 kB / 0.7783 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.005647, allocations: 36.94 kB / 0.7784 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.005648, allocations: 0 / 0.7784 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 7.979e-05/0.005727, allocations: 37.62 kB / 0.7784 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.005758, allocations: 55.94 kB / 0.7785 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.785e-05/0.005785, allocations: 90.83 kB / 0.7785 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.005795, allocations: 25.7 kB / 0.7786 GB, free: 2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.906e-05/0.005814, allocations: 80.14 kB / 0.7786 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.00584, allocations: 5.719 kB / 0.7787 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.005862, allocations: 9.719 kB / 0.7787 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.516e-05/0.005947, allocations: 315.5 kB / 0.779 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.005955, allocations: 4 kB / 0.779 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-06/0.00596, allocations: 1.594 kB / 0.779 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.467e-05/0.005985, allocations: 12.84 kB / 0.779 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.005986, allocations: 0 / 0.779 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.47e-05/0.006031, allocations: 34.39 kB / 0.779 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.006041, allocations: 4 kB / 0.779 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.006045, allocations: 2.062 kB / 0.779 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.006053, allocations: 0 / 0.779 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.731e-05/0.00609, allocations: 5.125 kB / 0.779 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.006093, allocations: 0 / 0.779 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-06/0.006101, allocations: 0 / 0.779 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.006107, allocations: 3.938 kB / 0.779 GB, free: 1.512 MB / 0.7292 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 (1): * Single equations (assignments): 1 * 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 5.022e-05/0.006157, allocations: 110.7 kB / 0.7791 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-06/0.006161, allocations: 5.344 kB / 0.7791 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.387e-05/0.006235, allocations: 36.7 kB / 0.7792 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.006237, allocations: 5.109 kB / 0.7792 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.006239, allocations: 4.812 kB / 0.7792 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.006241, allocations: 0 / 0.7792 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.152e-05/0.006293, allocations: 67.23 kB / 0.7792 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.006294, allocations: 0 / 0.7792 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.109e-05/0.006305, allocations: 4 kB / 0.7792 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.006307, allocations: 0.5 kB / 0.7792 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-06/0.006311, allocations: 0.625 kB / 0.7793 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.006311, allocations: 0 / 0.7793 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.006312, allocations: 1.297 kB / 0.7793 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.759e-05/0.006359, allocations: 61.69 kB / 0.7793 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/0.006364, allocations: 5.328 kB / 0.7793 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-06/0.006371, allocations: 4 kB / 0.7793 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.827e-06/0.006375, allocations: 0 / 0.7793 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.043e-05/0.006386, allocations: 4 kB / 0.7793 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.006389, allocations: 0.6562 kB / 0.7793 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.943e-06/0.006396, allocations: 6.859 kB / 0.7793 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006396, allocations: 0 / 0.7793 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001028/0.006499, allocations: 11.94 kB / 0.7793 GB, free: 1.145 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001271/0.006626, allocations: 97.25 kB / 0.7794 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.121e-05/0.006677, allocations: 13.59 kB / 0.7794 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006678, allocations: 0.7656 kB / 0.7794 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.775e-06/0.006686, allocations: 9.516 kB / 0.7795 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.044e-05/0.006737, allocations: 7.609 kB / 0.7795 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001391/0.006876, allocations: 78.44 kB / 0.7795 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.307e-05/0.006909, allocations: 52.48 kB / 0.7796 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.867e-05/0.006928, allocations: 1.406 kB / 0.7796 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.006956, allocations: 51.36 kB / 0.7796 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of SimCode: time 3.91e-07/0.006957, allocations: 0.6562 kB / 0.7796 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of Templates: time 0.001873/0.00883, allocations: 477.5 kB / 0.7801 GB, free: 352 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.222349936142564]