Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002052/0.002052, allocations: 79.75 kB / 20.23 MB, free: 4.043 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.002016/0.002016, allocations: 157.4 kB / 23.55 MB, free: 0.7305 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.547/1.547, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.888/2.888, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.458e-05, allocations: 6.156 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001612/0.001636, allocations: 0.5884 MB / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001977/0.003614, allocations: 1.305 MB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.528e-05/0.003629, allocations: 0 / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.026e-05/0.003639, allocations: 4.781 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.799e-06/0.003644, allocations: 0 / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.004019, allocations: 76.17 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.455e-05/0.004053, allocations: 0.6875 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.762e-05/0.004081, allocations: 0.9062 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.081e-05/0.004112, allocations: 8 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.177e-05/0.004154, allocations: 3.984 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.779e-06/0.004163, allocations: 0.6562 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.004457, allocations: 97.14 kB / 0.7885 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.595e-06/0.004465, allocations: 4 kB / 0.7885 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.517e-05/0.00448, allocations: 3.984 kB / 0.7885 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.004655, allocations: 77.41 kB / 0.7886 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.004657, allocations: 0 / 0.7886 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004658, allocations: 0 / 0.7886 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.004661, allocations: 3.938 kB / 0.7886 GB, free: 10.6 MB / 0.7448 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.0004006/0.005062, allocations: 360.2 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.005098, allocations: 13.25 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.005131, allocations: 0.9375 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.567e-05/0.005227, allocations: 104.6 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.00524, allocations: 1.969 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.005249, allocations: 4.375 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.345e-05/0.005332, allocations: 26.27 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.00534, allocations: 192 / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.005347, allocations: 1.375 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.005355, allocations: 7.938 kB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.957e-05/0.005374, allocations: 4 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.005517, allocations: 115.9 kB / 0.7892 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.23e-05/0.005579, allocations: 31.03 kB / 0.7892 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.005599, allocations: 7.688 kB / 0.7892 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003146/0.005914, allocations: 40.03 kB / 0.7892 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.00595, allocations: 33.39 kB / 0.7893 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.005951, allocations: 0.7188 kB / 0.7893 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001461/0.006097, allocations: 43.28 kB / 0.7893 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.006142, allocations: 55.34 kB / 0.7894 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.006229, allocations: 146.2 kB / 0.7895 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.006246, allocations: 25.7 kB / 0.7895 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.006314, allocations: 127.8 kB / 0.7897 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.006336, allocations: 0 / 0.7897 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.006371, allocations: 19.38 kB / 0.7897 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000474/0.006845, allocations: 493.7 kB / 0.7901 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/0.006854, allocations: 0 / 0.7901 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-06/0.006863, allocations: 7.938 kB / 0.7902 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.973e-05/0.006892, allocations: 13.03 kB / 0.7902 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.006894, allocations: 0 / 0.7902 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.394e-05/0.006958, allocations: 41.62 kB / 0.7902 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.006969, allocations: 5.406 kB / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.006973, allocations: 0 / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.006984, allocations: 0 / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.603e-05/0.00702, allocations: 4 kB / 0.7902 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.007027, allocations: 4.469 kB / 0.7902 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.688e-06/0.007037, allocations: 1.656 kB / 0.7902 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.007041, allocations: 0 / 0.7902 GB, free: 8.711 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 (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 0.0001068/0.007148, allocations: 156.6 kB / 0.7904 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-06/0.007154, allocations: 0 / 0.7904 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.656e-05/0.007251, allocations: 46.14 kB / 0.7904 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.007252, allocations: 0 / 0.7904 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.007255, allocations: 4.531 kB / 0.7904 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.007259, allocations: 5.062 kB / 0.7904 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.657e-05/0.007355, allocations: 104.6 kB / 0.7905 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.007359, allocations: 3.984 kB / 0.7905 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.838e-05/0.007377, allocations: 8.5 kB / 0.7905 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.007378, allocations: 0 / 0.7905 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.007383, allocations: 0.5312 kB / 0.7905 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.007384, allocations: 1.375 kB / 0.7905 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.007385, allocations: 0 / 0.7905 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.007488, allocations: 72.39 kB / 0.7906 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.007496, allocations: 9.094 kB / 0.7906 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.255e-06/0.007505, allocations: 0 / 0.7906 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.207e-05/0.007517, allocations: 4 kB / 0.7906 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.007536, allocations: 4 kB / 0.7906 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.007538, allocations: 0.8125 kB / 0.7906 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.27e-05/0.0076, allocations: 123.1 kB / 0.7907 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.0076, allocations: 0.9375 kB / 0.7907 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001832/0.007784, allocations: 8 kB / 0.7907 GB, free: 8.102 MB / 0.7448 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.0001752/0.007959, allocations: 116.5 kB / 0.7909 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.121e-05/0.00803, allocations: 15.62 kB / 0.7909 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.008034, allocations: 4.938 kB / 0.7909 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.82e-05/0.008053, allocations: 11.69 kB / 0.7909 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/0.008168, allocations: 2.312 kB / 0.7909 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002026/0.00837, allocations: 83.98 kB / 0.791 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.572e-05/0.008436, allocations: 59.34 kB / 0.791 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.739e-05/0.008453, allocations: 3.438 kB / 0.791 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.008472, allocations: 8.5 kB / 0.791 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/0.008473, allocations: 0 / 0.791 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of Templates: time 0.002875/0.01135, allocations: 425.8 kB / 0.7914 GB, free: 7.348 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.784838350955397]