Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.287/1.287, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008452/0.000845, allocations: 183.7 kB / 326.5 MB, free: 2.652 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205 MB / 0.5766 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007907/0.0007907, allocations: 89.17 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 11.12 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1733, allocations: 105.4 MB / 0.8968 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0006851/0.174, allocations: 359.2 kB / 0.8971 GB, free: 67.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1756, allocations: 1.324 MB / 0.8984 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.1756, allocations: 0 / 0.8984 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.1757, allocations: 4 kB / 0.8984 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.494e-05/0.1757, allocations: 0 / 0.8984 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.176, allocations: 47.89 kB / 0.8985 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.258e-05/0.1761, allocations: 23.91 kB / 0.8985 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.1761, allocations: 8.266 kB / 0.8985 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.847e-05/0.1762, allocations: 8 kB / 0.8985 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.1762, allocations: 11.92 kB / 0.8985 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.1762, allocations: 8 kB / 0.8985 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.1764, allocations: 107.8 kB / 0.8986 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.1765, allocations: 0 / 0.8986 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.1765, allocations: 19.91 kB / 0.8986 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.1766, allocations: 59.86 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1766, allocations: 0 / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1766, allocations: 0 / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1766, allocations: 3.938 kB / 0.8987 GB, free: 66.1 MB / 0.6042 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.0003635/0.177, allocations: 351.4 kB / 0.899 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.177, allocations: 12.03 kB / 0.899 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.1771, allocations: 0.9375 kB / 0.899 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.989e-05/0.1772, allocations: 160.4 kB / 0.8992 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1772, allocations: 4.375 kB / 0.8992 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.1772, allocations: 8.375 kB / 0.8992 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.1773, allocations: 57.92 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1773, allocations: 3.906 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1773, allocations: 4 kB / 0.8993 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1774, allocations: 0 / 0.8993 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.501e-05/0.1774, allocations: 27.98 kB / 0.8993 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.1775, allocations: 161.6 kB / 0.8994 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.35e-05/0.1776, allocations: 66.53 kB / 0.8995 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.1777, allocations: 21.09 kB / 0.8995 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/0.178, allocations: 0.5622 MB / 0.9001 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.178, allocations: 46.42 kB / 0.9001 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.178, allocations: 0 / 0.9001 GB, free: 64.34 MB / 0.6042 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.01561/0.1936, allocations: 4.196 MB / 0.9042 GB, free: 60 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.619e-05/0.1937, allocations: 55.41 kB / 0.9043 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.842e-05/0.1937, allocations: 93.86 kB / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.1938, allocations: 33.64 kB / 0.9044 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.35e-05/0.1938, allocations: 80.14 kB / 0.9045 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.112e-05/0.1939, allocations: 63.09 kB / 0.9045 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.883e-05/0.194, allocations: 17.72 kB / 0.9045 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.431e-05/0.194, allocations: 326.8 kB / 0.9049 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.1944, allocations: 303.9 kB / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.1948, allocations: 311.9 kB / 0.9054 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.1959, allocations: 0.7575 MB / 0.9062 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1959, allocations: 0 / 0.9062 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001173/0.1971, allocations: 0.7941 MB / 0.907 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1971, allocations: 8 kB / 0.907 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1972, allocations: 0 / 0.907 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1972, allocations: 0 / 0.907 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006396/0.1978, allocations: 91.94 kB / 0.9071 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.1978, allocations: 0 / 0.9071 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.1983, allocations: 12 kB / 0.9071 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/0.1984, allocations: 35.97 kB / 0.9071 GB, free: 56.99 MB / 0.6042 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.0001474/0.1985, allocations: 129.7 kB / 0.9072 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.1986, allocations: 7.906 kB / 0.9072 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002669/0.2013, allocations: 1.388 MB / 0.9086 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2013, allocations: 3.984 kB / 0.9086 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2013, allocations: 0 / 0.9086 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.2013, allocations: 92.95 kB / 0.9087 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.482e-05/0.2014, allocations: 4 kB / 0.9087 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.2018, allocations: 19.94 kB / 0.9087 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.2019, allocations: 39.97 kB / 0.9087 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001317/0.2033, allocations: 0.9848 MB / 0.9097 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001814/0.2051, allocations: 1.55 MB / 0.9112 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004298/0.2055, allocations: 419.9 kB / 0.9116 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.6e-05/0.2056, allocations: 79.22 kB / 0.9117 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of Backend: time 5.31e-07/0.2056, allocations: 4 kB / 0.9117 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.2067, allocations: 0.547 MB / 0.9122 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005638/0.2073, allocations: 0.7438 MB / 0.913 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.01141/0.2187, allocations: 10.81 MB / 0.9235 GB, free: 40.1 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)