Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.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) 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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.802/1.802, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.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.00101/0.00101, allocations: 175.5 kB / 393.1 MB, free: 4.086 MB / 314.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.4/1.4, allocations: 225.7 MB / 0.6743 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007609/0.0007609, allocations: 101.9 kB / 0.7935 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003301, allocations: 8 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6199/0.6202, allocations: 121.3 MB / 1.041 GB, free: 58.68 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007717/0.6211, allocations: 318.9 kB / 1.041 GB, free: 58.56 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.6226, allocations: 1.375 MB / 1.043 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.087e-05/0.6226, allocations: 4.469 kB / 1.043 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.273e-05/0.6226, allocations: 0 / 1.043 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.6226, allocations: 0.6562 kB / 1.043 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.6229, allocations: 49.88 kB / 1.043 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.544e-05/0.623, allocations: 1.938 kB / 1.043 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.623, allocations: 1.094 kB / 1.043 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.546e-05/0.623, allocations: 0.875 kB / 1.043 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.534e-05/0.6231, allocations: 4.375 kB / 1.043 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.644e-06/0.6231, allocations: 0 / 1.043 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.6233, allocations: 88.69 kB / 1.043 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.6233, allocations: 0 / 1.043 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.6234, allocations: 25.7 kB / 1.043 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.6235, allocations: 53.92 kB / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6235, allocations: 3.125 kB / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6235, allocations: 0 / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.6235, allocations: 0 / 1.043 GB, free: 57.39 MB / 0.698 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.0002312/0.6238, allocations: 326.2 kB / 1.043 GB, free: 57.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.6238, allocations: 14.5 kB / 1.043 GB, free: 57.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.6239, allocations: 2.953 kB / 1.043 GB, free: 57.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.533e-05/0.6239, allocations: 160.4 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.6239, allocations: 1.094 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.6239, allocations: 384 / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.799e-05/0.624, allocations: 38.59 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.6241, allocations: 0 / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.6241, allocations: 0 / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.6241, allocations: 0 / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.667e-05/0.6241, allocations: 0 / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.833e-05/0.6242, allocations: 149.5 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.623e-05/0.6242, allocations: 22.83 kB / 1.043 GB, free: 56.58 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.6243, allocations: 6.016 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004136/0.6247, allocations: 0.5624 MB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.6247, allocations: 37.12 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.6247, allocations: 0 / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001284/0.6248, allocations: 33.64 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.6249, allocations: 55.34 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.029e-05/0.6249, allocations: 89.86 kB / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.772e-06/0.6249, allocations: 29.67 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.949e-06/0.6249, allocations: 80.14 kB / 1.044 GB, free: 55.56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.625, allocations: 5.5 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-06/0.625, allocations: 0.9688 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.762e-05/0.625, allocations: 314.8 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-06/0.625, allocations: 2.062 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.6251, allocations: 4.906 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.348e-05/0.6251, allocations: 11.02 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.6251, allocations: 0 / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.604e-05/0.6251, allocations: 32.7 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.6252, allocations: 14.22 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6252, allocations: 5.031 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.6252, allocations: 0 / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.35e-05/0.6252, allocations: 3.984 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.6253, allocations: 0.8125 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.208e-05/0.6253, allocations: 5.344 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.6253, allocations: 0.75 kB / 1.045 GB, free: 55.18 MB / 0.698 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 4.785e-05/0.6253, allocations: 111.7 kB / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-06/0.6253, allocations: 5.031 kB / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.893e-05/0.6254, allocations: 39.58 kB / 1.045 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.6254, allocations: 1.906 kB / 1.045 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.6254, allocations: 0.7031 kB / 1.045 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.6255, allocations: 0 / 1.045 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.234e-05/0.6255, allocations: 147.3 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6255, allocations: 0 / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.313e-05/0.6255, allocations: 0.5 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6255, allocations: 6.484 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.6256, allocations: 5 kB / 1.045 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.6256, allocations: 256 / 1.045 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6256, allocations: 5.125 kB / 1.045 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.235e-05/0.6256, allocations: 60.25 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.6257, allocations: 81.11 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.6257, allocations: 5 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.067e-05/0.6257, allocations: 0 / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.6257, allocations: 1.25 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.6257, allocations: 3 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.367e-05/0.6257, allocations: 79.31 kB / 1.045 GB, free: 54.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.6257, allocations: 1.094 kB / 1.045 GB, free: 54.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000214/0.626, allocations: 8.531 kB / 1.045 GB, free: 54.58 MB / 0.698 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.000149/0.6261, allocations: 114.2 kB / 1.045 GB, free: 54.49 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.817e-05/0.6262, allocations: 8.719 kB / 1.045 GB, free: 54.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6262, allocations: 0 / 1.045 GB, free: 54.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.612e-06/0.6262, allocations: 3.469 kB / 1.045 GB, free: 54.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.6264, allocations: 6.234 kB / 1.045 GB, free: 54.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001559/0.6265, allocations: 85.38 kB / 1.045 GB, free: 54.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.6266, allocations: 0.6741 MB / 1.046 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.589e-05/0.6267, allocations: 1.25 kB / 1.046 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.287e-05/0.6267, allocations: 12.59 kB / 1.046 GB, free: 53.67 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.6267, allocations: 0 / 1.046 GB, free: 53.67 MB / 0.698 GB Notification: Performance of Templates: time 0.00199/0.6287, allocations: 289.9 kB / 1.046 GB, free: 53.61 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)