Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7695/0.7695, allocations: 143.8 MB / 159.1 MB, free: 6.523 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 185.8 kB / 192 MB, free: 6.723 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.7 MB / 450.4 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009571/0.0009571, allocations: 106.9 kB / 0.5211 GB, free: 1.629 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001558/0.001558, allocations: 288.5 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006127/0.0006129, allocations: 15.16 kB / 0.6948 GB, free: 59.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1893, allocations: 82.46 MB / 0.7753 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0008524/0.1902, allocations: 310.4 kB / 0.7756 GB, free: 14.03 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.1924, allocations: 1.375 MB / 0.777 GB, free: 12.61 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.177e-06/0.1924, allocations: 0 / 0.777 GB, free: 12.61 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.1925, allocations: 3.938 kB / 0.777 GB, free: 12.6 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.576e-06/0.1925, allocations: 0 / 0.777 GB, free: 12.6 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.1928, allocations: 47.83 kB / 0.777 GB, free: 12.55 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.372e-05/0.1929, allocations: 0 / 0.777 GB, free: 12.55 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.997e-05/0.1929, allocations: 4 kB / 0.777 GB, free: 12.55 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.416e-05/0.1929, allocations: 0 / 0.777 GB, free: 12.55 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.544e-05/0.193, allocations: 4 kB / 0.777 GB, free: 12.55 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.193, allocations: 0 / 0.777 GB, free: 12.55 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002798/0.1933, allocations: 91.89 kB / 0.7771 GB, free: 12.46 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.1933, allocations: 0 / 0.7771 GB, free: 12.46 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.1934, allocations: 25.7 kB / 0.7771 GB, free: 12.43 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.1936, allocations: 51.94 kB / 0.7772 GB, free: 12.38 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1936, allocations: 0 / 0.7772 GB, free: 12.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1936, allocations: 0 / 0.7772 GB, free: 12.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1936, allocations: 0 / 0.7772 GB, free: 12.38 MB / 458.7 MB 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.0003599/0.194, allocations: 323.6 kB / 0.7775 GB, free: 12.01 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.194, allocations: 12.03 kB / 0.7775 GB, free: 12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.1941, allocations: 0.9375 kB / 0.7775 GB, free: 12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.1942, allocations: 160.4 kB / 0.7777 GB, free: 11.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1942, allocations: 384 / 0.7777 GB, free: 11.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.1943, allocations: 8.25 kB / 0.7777 GB, free: 11.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.1944, allocations: 38 kB / 0.7777 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1944, allocations: 0 / 0.7777 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1944, allocations: 0 / 0.7777 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1944, allocations: 4 kB / 0.7777 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/0.1944, allocations: 0 / 0.7777 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.1946, allocations: 149.7 kB / 0.7778 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.708e-05/0.1947, allocations: 14.58 kB / 0.7779 GB, free: 11.53 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.786e-05/0.1947, allocations: 8.797 kB / 0.7779 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006172/0.1953, allocations: 0.5701 MB / 0.7784 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.1954, allocations: 38.5 kB / 0.7785 GB, free: 10.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.1954, allocations: 0 / 0.7785 GB, free: 10.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001376/0.1955, allocations: 29.7 kB / 0.7785 GB, free: 10.74 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.1956, allocations: 51.41 kB / 0.7785 GB, free: 10.68 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.811e-05/0.1956, allocations: 89.86 kB / 0.7786 GB, free: 10.58 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1957, allocations: 29.64 kB / 0.7787 GB, free: 10.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.1957, allocations: 92.25 kB / 0.7787 GB, free: 10.45 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.1957, allocations: 8.188 kB / 0.7787 GB, free: 10.44 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.1958, allocations: 0 / 0.7787 GB, free: 10.44 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1959, allocations: 310.8 kB / 0.779 GB, free: 10.13 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.1959, allocations: 3.938 kB / 0.779 GB, free: 10.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-06/0.1959, allocations: 0 / 0.779 GB, free: 10.12 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/0.1959, allocations: 8.859 kB / 0.7791 GB, free: 10.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.196, allocations: 0 / 0.7791 GB, free: 10.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.737e-05/0.196, allocations: 41.77 kB / 0.7791 GB, free: 10.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1961, allocations: 7.938 kB / 0.7791 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1961, allocations: 0 / 0.7791 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1961, allocations: 3.984 kB / 0.7791 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.699e-05/0.1962, allocations: 4 kB / 0.7791 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1962, allocations: 0 / 0.7791 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.1962, allocations: 0 / 0.7791 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.1962, allocations: 0 / 0.7791 GB, free: 10.05 MB / 458.7 MB 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 7.541e-05/0.1963, allocations: 113.7 kB / 0.7792 GB, free: 9.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.1963, allocations: 7.969 kB / 0.7792 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.876e-05/0.1964, allocations: 40.81 kB / 0.7793 GB, free: 9.875 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1964, allocations: 0 / 0.7793 GB, free: 9.875 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1964, allocations: 3.938 kB / 0.7793 GB, free: 9.871 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1964, allocations: 0 / 0.7793 GB, free: 9.871 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.1966, allocations: 149.7 kB / 0.7794 GB, free: 9.676 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.1966, allocations: 0 / 0.7794 GB, free: 9.676 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.571e-05/0.1966, allocations: 4 kB / 0.7794 GB, free: 9.672 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1966, allocations: 3.938 kB / 0.7794 GB, free: 9.668 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1966, allocations: 4.031 kB / 0.7794 GB, free: 9.664 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1966, allocations: 3.984 kB / 0.7794 GB, free: 9.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1966, allocations: 0 / 0.7794 GB, free: 9.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.014e-05/0.1967, allocations: 61.08 kB / 0.7795 GB, free: 9.582 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.1968, allocations: 77.11 kB / 0.7796 GB, free: 9.488 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.1968, allocations: 3.938 kB / 0.7796 GB, free: 9.484 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.167e-05/0.1968, allocations: 0 / 0.7796 GB, free: 9.484 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.1969, allocations: 12.02 kB / 0.7796 GB, free: 9.473 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.1969, allocations: 0 / 0.7796 GB, free: 9.473 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.224e-05/0.1969, allocations: 75.28 kB / 0.7796 GB, free: 9.398 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1969, allocations: 0 / 0.7796 GB, free: 9.398 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002569/0.1972, allocations: 8 kB / 0.7797 GB, free: 9.391 MB / 458.7 MB 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.0001885/0.1974, allocations: 111.2 kB / 0.7798 GB, free: 9.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.352e-05/0.1975, allocations: 4 kB / 0.7798 GB, free: 9.266 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1975, allocations: 64 / 0.7798 GB, free: 9.266 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.126e-05/0.1975, allocations: 15.88 kB / 0.7798 GB, free: 9.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.1977, allocations: 3.984 kB / 0.7798 GB, free: 9.246 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001772/0.1979, allocations: 78.77 kB / 0.7799 GB, free: 9.141 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.1981, allocations: 0.6692 MB / 0.7805 GB, free: 8.445 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.54e-05/0.1982, allocations: 3.938 kB / 0.7805 GB, free: 8.441 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.1982, allocations: 7.438 kB / 0.7805 GB, free: 8.434 MB / 458.7 MB Notification: Performance of SimCode: time 3e-07/0.1982, allocations: 4.062 kB / 0.7805 GB, free: 8.43 MB / 458.7 MB Notification: Performance of Templates: time 0.002416/0.2006, allocations: 287.6 kB / 0.7808 GB, free: 8.152 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)