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.0009333/0.0009333, 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.0009448/0.0009448, allocations: 165 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.9548/0.9548, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.856/1.856, allocations: 389.6 MB / 0.6354 GB, free: 12.28 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.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.543e-06/1.543e-06, allocations: 0 / 0.7753 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.488e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001847/0.001872, allocations: 0.6634 MB / 0.7759 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.003591, allocations: 1.316 MB / 0.7772 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.619e-05/0.003607, allocations: 6.781 kB / 0.7772 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.003625, allocations: 0.7656 kB / 0.7772 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-06/0.003632, allocations: 0 / 0.7772 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.003978, allocations: 61.44 kB / 0.7773 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.248e-05/0.00402, allocations: 4 kB / 0.7773 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.004059, allocations: 7.969 kB / 0.7773 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.686e-05/0.004086, allocations: 2.75 kB / 0.7773 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4e-05/0.004126, allocations: 4 kB / 0.7773 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.004135, allocations: 0.875 kB / 0.7773 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.00443, allocations: 111.9 kB / 0.7774 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.233e-06/0.004437, allocations: 0 / 0.7774 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.123e-05/0.004449, allocations: 4.766 kB / 0.7774 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.004593, allocations: 76.83 kB / 0.7775 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004595, allocations: 2.188 kB / 0.7775 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.52e-07/0.004596, allocations: 0 / 0.7775 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.004599, allocations: 0 / 0.7775 GB, free: 3.047 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.0002109/0.004809, allocations: 228.6 kB / 0.7777 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.004848, allocations: 13.34 kB / 0.7777 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.3e-05/0.004871, allocations: 1.703 kB / 0.7777 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.085e-05/0.004942, allocations: 106.5 kB / 0.7778 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.004951, allocations: 384 / 0.7778 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-06/0.004957, allocations: 1 kB / 0.7778 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.176e-05/0.005019, allocations: 31.08 kB / 0.7778 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.005026, allocations: 192 / 0.7778 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-06/0.005031, allocations: 384 / 0.7778 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.005037, allocations: 5.078 kB / 0.7778 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.005171, allocations: 8.469 kB / 0.7778 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.255e-05/0.005244, allocations: 53.98 kB / 0.7779 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.495e-05/0.005279, allocations: 26.59 kB / 0.7779 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.24e-05/0.005291, allocations: 4.859 kB / 0.7779 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.005527, allocations: 46.81 kB / 0.778 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.005552, allocations: 34.56 kB / 0.778 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.005553, allocations: 1.438 kB / 0.778 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 8.033e-05/0.005633, allocations: 33.64 kB / 0.778 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.005655, allocations: 52.06 kB / 0.7781 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.396e-05/0.005679, allocations: 93.86 kB / 0.7782 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.005687, allocations: 26.3 kB / 0.7782 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.918e-05/0.005706, allocations: 88.11 kB / 0.7783 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.00573, allocations: 2.375 kB / 0.7783 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.005752, allocations: 9.719 kB / 0.7783 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.005848, allocations: 318.8 kB / 0.7786 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-06/0.005855, allocations: 0 / 0.7786 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-06/0.00586, allocations: 0.8125 kB / 0.7786 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.005888, allocations: 9.609 kB / 0.7786 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.00589, allocations: 0.6562 kB / 0.7786 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.621e-05/0.005936, allocations: 38.19 kB / 0.7786 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.005949, allocations: 5.219 kB / 0.7786 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.005955, allocations: 4 kB / 0.7787 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.00597, allocations: 7.984 kB / 0.7787 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.8e-05/0.006008, allocations: 0.875 kB / 0.7787 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.00601, allocations: 0.875 kB / 0.7787 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.116e-05/0.006022, allocations: 0 / 0.7787 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.00603, allocations: 8.547 kB / 0.7787 GB, free: 1.68 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 6.043e-05/0.006091, allocations: 114.5 kB / 0.7788 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-06/0.006095, allocations: 0 / 0.7788 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.595e-05/0.006171, allocations: 38.78 kB / 0.7788 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006173, allocations: 0 / 0.7788 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006174, allocations: 4.531 kB / 0.7788 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.006177, allocations: 3.828 kB / 0.7788 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.723e-05/0.006234, allocations: 66.84 kB / 0.7789 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.006235, allocations: 0 / 0.7789 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.005e-05/0.006245, allocations: 0 / 0.7789 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.006247, allocations: 0.5312 kB / 0.7789 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.006253, allocations: 5.109 kB / 0.7789 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.006254, allocations: 4 kB / 0.7789 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006255, allocations: 0 / 0.7789 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.04e-05/0.006306, allocations: 53.89 kB / 0.7789 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-06/0.006311, allocations: 3.953 kB / 0.7789 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-06/0.006319, allocations: 4.719 kB / 0.779 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-06/0.006327, allocations: 3.984 kB / 0.779 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.006339, allocations: 4.875 kB / 0.779 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-06/0.00634, allocations: 0 / 0.779 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.144e-06/0.006347, allocations: 5.922 kB / 0.779 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.006347, allocations: 0 / 0.779 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001644/0.006512, allocations: 15.88 kB / 0.779 GB, free: 1.312 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.0001045/0.006616, allocations: 93.48 kB / 0.7791 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.197e-05/0.006678, allocations: 9.891 kB / 0.7791 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.00668, allocations: 0 / 0.7791 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.44e-06/0.006685, allocations: 10.45 kB / 0.7791 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.847e-05/0.006724, allocations: 3.938 kB / 0.7791 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001181/0.006842, allocations: 84.58 kB / 0.7792 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.333e-05/0.006865, allocations: 51.36 kB / 0.7792 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.511e-05/0.00688, allocations: 1.25 kB / 0.7792 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.006904, allocations: 52.81 kB / 0.7793 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.006905, allocations: 0 / 0.7793 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of Templates: time 0.002233/0.009138, allocations: 477.4 kB / 0.7797 GB, free: 0.5156 MB / 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: 4.740863134153187]