Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 297.4 MB / 312.6 MB, free: 2.926 MB / 234.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.0009966/0.0009966, allocations: 182 kB / 382.3 MB, free: 14.83 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.357/1.357, allocations: 225.7 MB / 0.6617 GB, free: 7.219 MB / 490.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.0008199/0.0008202, allocations: 92.19 kB / 0.7789 GB, free: 47.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 8.75 kB / 0.9058 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5519/0.5522, allocations: 119.2 MB / 1.022 GB, free: 58.64 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007327/0.553, allocations: 346.6 kB / 1.023 GB, free: 58.5 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.5545, allocations: 1.399 MB / 1.024 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.675e-05/0.5546, allocations: 0 / 1.024 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.5546, allocations: 0 / 1.024 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.42e-05/0.5546, allocations: 0.5 kB / 1.024 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.5549, allocations: 57.94 kB / 1.024 GB, free: 57.64 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.392e-05/0.555, allocations: 20.91 kB / 1.024 GB, free: 57.64 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.5551, allocations: 3.5 kB / 1.024 GB, free: 57.64 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.336e-05/0.5551, allocations: 11.25 kB / 1.024 GB, free: 57.63 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.5552, allocations: 20.8 kB / 1.024 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.5552, allocations: 5.312 kB / 1.024 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.5554, allocations: 88.66 kB / 1.024 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.5554, allocations: 11.12 kB / 1.024 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.5555, allocations: 38.95 kB / 1.024 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.5556, allocations: 61.02 kB / 1.024 GB, free: 57.55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.5556, allocations: 2 kB / 1.024 GB, free: 57.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.973e-06/0.5556, allocations: 2.203 kB / 1.024 GB, free: 57.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.5557, allocations: 0 / 1.024 GB, free: 57.55 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003468/0.556, allocations: 342.1 kB / 1.025 GB, free: 57.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.5561, allocations: 10.69 kB / 1.025 GB, free: 57.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.5561, allocations: 2.906 kB / 1.025 GB, free: 57.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.589e-05/0.5562, allocations: 168.8 kB / 1.025 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.5562, allocations: 3 kB / 1.025 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.5562, allocations: 7.75 kB / 1.025 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.5563, allocations: 53.61 kB / 1.025 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.5563, allocations: 2.625 kB / 1.025 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.5563, allocations: 4 kB / 1.025 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.5564, allocations: 1.094 kB / 1.025 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.087e-05/0.5564, allocations: 22.75 kB / 1.025 GB, free: 56.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.5566, allocations: 173.7 kB / 1.025 GB, free: 56.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.5567, allocations: 61.88 kB / 1.025 GB, free: 56.69 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.5567, allocations: 24.11 kB / 1.025 GB, free: 56.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000324/0.5571, allocations: 0.5552 MB / 1.026 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.5571, allocations: 40.83 kB / 1.026 GB, free: 55.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.5571, allocations: 2.344 kB / 1.026 GB, free: 55.98 MB / 0.698 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.0171/0.5742, allocations: 4.213 MB / 1.03 GB, free: 54.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.5743, allocations: 52.62 kB / 1.03 GB, free: 54.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.147e-05/0.5743, allocations: 94.41 kB / 1.03 GB, free: 54.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.08e-05/0.5744, allocations: 29.7 kB / 1.03 GB, free: 54.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.381e-05/0.5744, allocations: 80.14 kB / 1.03 GB, free: 53.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.634e-05/0.5745, allocations: 59.91 kB / 1.03 GB, free: 53.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.5746, allocations: 0 / 1.03 GB, free: 53.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.362e-05/0.5746, allocations: 324.9 kB / 1.03 GB, free: 53.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004622/0.5751, allocations: 307.5 kB / 1.031 GB, free: 53.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004647/0.5756, allocations: 317.1 kB / 1.031 GB, free: 53.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.5769, allocations: 0.7509 MB / 1.032 GB, free: 53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.5769, allocations: 0 / 1.032 GB, free: 53 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001343/0.5782, allocations: 0.7916 MB / 1.033 GB, free: 52.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.5783, allocations: 4.125 kB / 1.033 GB, free: 52.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.5783, allocations: 0 / 1.033 GB, free: 52.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.5783, allocations: 0.625 kB / 1.033 GB, free: 52.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007363/0.579, allocations: 100.7 kB / 1.033 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.579, allocations: 4 kB / 1.033 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004387/0.5795, allocations: 5.406 kB / 1.033 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.479e-05/0.5796, allocations: 36.2 kB / 1.033 GB, free: 52.66 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 (18): * Single equations (assignments): 18 * 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.0001464/0.5797, allocations: 121.2 kB / 1.033 GB, free: 52.53 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.5798, allocations: 5.641 kB / 1.033 GB, free: 52.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.5828, allocations: 1.39 MB / 1.034 GB, free: 51.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.5828, allocations: 6.719 kB / 1.034 GB, free: 51.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.5828, allocations: 7.641 kB / 1.034 GB, free: 51.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5828, allocations: 1.062 kB / 1.034 GB, free: 51.87 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/0.5853, allocations: 1.791 MB / 1.036 GB, free: 50.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.5853, allocations: 3.25 kB / 1.036 GB, free: 50.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007087/0.586, allocations: 106.6 kB / 1.036 GB, free: 50.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.586, allocations: 6.812 kB / 1.036 GB, free: 50.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/0.5861, allocations: 31.27 kB / 1.036 GB, free: 50.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5861, allocations: 0 / 1.036 GB, free: 50.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5861, allocations: 1.594 kB / 1.036 GB, free: 50.83 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/0.5882, allocations: 1.467 MB / 1.038 GB, free: 50.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.65e-05/0.5882, allocations: 92.53 kB / 1.038 GB, free: 49.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-05/0.5883, allocations: 12.09 kB / 1.038 GB, free: 49.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/0.5888, allocations: 18.17 kB / 1.038 GB, free: 49.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.5889, allocations: 38.33 kB / 1.038 GB, free: 49.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.331e-05/0.589, allocations: 34.03 kB / 1.038 GB, free: 49.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.852e-05/0.589, allocations: 76.62 kB / 1.038 GB, free: 49.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.589, allocations: 0 / 1.038 GB, free: 49.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005591/0.5896, allocations: 168.5 kB / 1.038 GB, free: 49.84 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * 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 (40): * Single equations (assignments): 40 * 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.0004371/0.59, allocations: 224.5 kB / 1.038 GB, free: 49.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.5912, allocations: 0.7287 MB / 1.039 GB, free: 49.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5912, allocations: 0 / 1.039 GB, free: 49.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005804/0.5917, allocations: 451.8 kB / 1.039 GB, free: 49.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.592, allocations: 12.41 kB / 1.039 GB, free: 49.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.595, allocations: 0.8555 MB / 1.04 GB, free: 48.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.5951, allocations: 0.7144 MB / 1.041 GB, free: 48.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001401/0.5965, allocations: 297.6 kB / 1.041 GB, free: 47.97 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005389/0.5971, allocations: 95.53 kB / 1.041 GB, free: 47.96 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.5971, allocations: 0 / 1.041 GB, free: 47.96 MB / 0.698 GB Notification: Performance of Templates: time 0.01367/0.6107, allocations: 10.61 MB / 1.052 GB, free: 47.28 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)