Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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) 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 Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.69/2.69, allocations: 254.9 MB / 269.9 MB, free: 9.637 MB / 218.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.002567/0.002566, allocations: 192.9 kB / 329.5 MB, free: 1.156 MB / 250.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 2.529/2.529, allocations: 225.6 MB / 0.6001 GB, free: 2.195 MB / 426.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.0009702/0.00097, allocations: 107.3 kB / 0.7074 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006568/0.0006571, allocations: 15.34 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2038, allocations: 109.1 MB / 0.9308 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.000709/0.2046, allocations: 306.2 kB / 0.9311 GB, free: 24.84 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2059, allocations: 0.9443 MB / 0.932 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.489e-05/0.2059, allocations: 0 / 0.932 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.112e-05/0.2059, allocations: 0 / 0.932 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.674e-06/0.206, allocations: 4 kB / 0.932 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.2063, allocations: 47.83 kB / 0.932 GB, free: 23.83 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.421e-05/0.2063, allocations: 7.938 kB / 0.932 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.2064, allocations: 0 / 0.932 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.544e-05/0.2064, allocations: 4 kB / 0.9321 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.296e-05/0.2064, allocations: 3.984 kB / 0.9321 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.786e-06/0.2065, allocations: 0 / 0.9321 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.2067, allocations: 87.89 kB / 0.9321 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.703e-06/0.2067, allocations: 0 / 0.9321 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.2068, allocations: 29.7 kB / 0.9322 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.2069, allocations: 31.97 kB / 0.9322 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2069, allocations: 0 / 0.9322 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2069, allocations: 0 / 0.9322 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2069, allocations: 0 / 0.9322 GB, free: 23.66 MB / 0.5886 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.000239/0.2071, allocations: 323.5 kB / 0.9325 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2072, allocations: 8.031 kB / 0.9325 GB, free: 23.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.2072, allocations: 4.938 kB / 0.9325 GB, free: 23.29 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.918e-05/0.2073, allocations: 160.4 kB / 0.9327 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2073, allocations: 8.375 kB / 0.9327 GB, free: 23.08 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.2074, allocations: 4.375 kB / 0.9327 GB, free: 23.08 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.564e-05/0.2075, allocations: 30.2 kB / 0.9327 GB, free: 23.04 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.2075, allocations: 192 / 0.9327 GB, free: 23.04 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.2075, allocations: 3.938 kB / 0.9327 GB, free: 23.04 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2075, allocations: 7.938 kB / 0.9327 GB, free: 23.03 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.154e-05/0.2075, allocations: 0 / 0.9327 GB, free: 23.03 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.2077, allocations: 145.7 kB / 0.9329 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.227e-05/0.2077, allocations: 26.61 kB / 0.9329 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.2077, allocations: 8.797 kB / 0.9329 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005418/0.2083, allocations: 0.5584 MB / 0.9334 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2083, allocations: 34.55 kB / 0.9335 GB, free: 22.06 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.492e-06/0.2083, allocations: 0 / 0.9335 GB, free: 22.06 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001394/0.2085, allocations: 41.64 kB / 0.9335 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.2085, allocations: 55.53 kB / 0.9336 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.145e-05/0.2085, allocations: 89.86 kB / 0.9337 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.2086, allocations: 25.7 kB / 0.9337 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.639e-05/0.2086, allocations: 80.14 kB / 0.9338 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.2086, allocations: 0 / 0.9338 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-06/0.2086, allocations: 0 / 0.9338 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.814e-05/0.2087, allocations: 310.8 kB / 0.9341 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.2087, allocations: 4 kB / 0.9341 GB, free: 21.42 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-06/0.2087, allocations: 7.938 kB / 0.9341 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.611e-05/0.2088, allocations: 3.984 kB / 0.9341 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2088, allocations: 0 / 0.9341 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.025e-05/0.2089, allocations: 41.64 kB / 0.9341 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2089, allocations: 4 kB / 0.9341 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2089, allocations: 0 / 0.9341 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2089, allocations: 3.938 kB / 0.9341 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.106e-05/0.209, allocations: 4 kB / 0.9341 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.209, allocations: 0 / 0.9341 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.47e-05/0.209, allocations: 96 / 0.9341 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.209, allocations: 4 kB / 0.9341 GB, free: 21.35 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/0.2091, allocations: 113.8 kB / 0.9342 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.2091, allocations: 0 / 0.9342 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.2092, allocations: 48.69 kB / 0.9343 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2092, allocations: 0 / 0.9343 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2093, allocations: 0 / 0.9343 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2093, allocations: 32 / 0.9343 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.058e-05/0.2093, allocations: 153.7 kB / 0.9344 GB, free: 20.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2094, allocations: 0 / 0.9344 GB, free: 20.97 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.2094, allocations: 3.938 kB / 0.9344 GB, free: 20.96 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2094, allocations: 0 / 0.9344 GB, free: 20.96 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2094, allocations: 7.922 kB / 0.9344 GB, free: 20.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2094, allocations: 4 kB / 0.9344 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.2094, allocations: 0 / 0.9344 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.813e-05/0.2095, allocations: 65.06 kB / 0.9345 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.478e-05/0.2096, allocations: 77.11 kB / 0.9346 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.2096, allocations: 7.938 kB / 0.9346 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.323e-05/0.2096, allocations: 0 / 0.9346 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.2096, allocations: 0 / 0.9346 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.2096, allocations: 4 kB / 0.9346 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.682e-05/0.2097, allocations: 75.28 kB / 0.9347 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2097, allocations: 0 / 0.9347 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002435/0.2099, allocations: 8 kB / 0.9347 GB, free: 20.68 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001646/0.2101, allocations: 115.3 kB / 0.9348 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.385e-05/0.2102, allocations: 4 kB / 0.9348 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2102, allocations: 0 / 0.9348 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.144e-05/0.2102, allocations: 4 kB / 0.9348 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.2104, allocations: 4.281 kB / 0.9348 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001711/0.2105, allocations: 82.61 kB / 0.9349 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.2107, allocations: 0.6731 MB / 0.9355 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.057e-05/0.2107, allocations: 4.125 kB / 0.9355 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/0.2108, allocations: 7.438 kB / 0.9355 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of SimCode: time 8.01e-07/0.2108, allocations: 0 / 0.9355 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of Templates: time 0.002537/0.2133, allocations: 292 kB / 0.9358 GB, free: 19.45 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)