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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.298/1.298, allocations: 252 MB / 267.3 MB, free: 10.84 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.0009801/0.0009802, allocations: 177 kB / 327 MB, free: 2.109 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.449/1.449, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.0006887/0.0006887, allocations: 86.34 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003835, allocations: 12.36 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1657, allocations: 106.3 MB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0006169/0.1664, allocations: 365.8 kB / 0.9013 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1678, allocations: 1.305 MB / 0.9026 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.1678, allocations: 0 / 0.9026 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.228e-05/0.1678, allocations: 0 / 0.9026 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 1.939e-05/0.1679, allocations: 0 / 0.9026 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.1682, allocations: 51.81 kB / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.412e-05/0.1682, allocations: 23.92 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.1683, allocations: 3.984 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.834e-05/0.1683, allocations: 12 kB / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.036e-05/0.1684, allocations: 19.92 kB / 0.9027 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.1684, allocations: 0 / 0.9027 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.1686, allocations: 95.89 kB / 0.9028 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.1686, allocations: 3.984 kB / 0.9028 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.1686, allocations: 37.64 kB / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.1688, allocations: 63.84 kB / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1688, allocations: 0 / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1688, allocations: 3.938 kB / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.1688, allocations: 4 kB / 0.9029 GB, free: 61.21 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.000335/0.1691, allocations: 343.6 kB / 0.9032 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1692, allocations: 11.97 kB / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.75e-05/0.1692, allocations: 34.75 kB / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.1692, allocations: 4.938 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.518e-05/0.1693, allocations: 168.6 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1693, allocations: 4.375 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1693, allocations: 8.281 kB / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.1695, allocations: 49.81 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1695, allocations: 4 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.1695, allocations: 8 kB / 0.9035 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.1695, allocations: 0 / 0.9035 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.064e-05/0.1696, allocations: 23.97 kB / 0.9035 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.1697, allocations: 165.6 kB / 0.9036 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.013e-05/0.1698, allocations: 66.48 kB / 0.9037 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.1698, allocations: 24.84 kB / 0.9037 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003271/0.1702, allocations: 0.5544 MB / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1702, allocations: 42.5 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1702, allocations: 0 / 0.9043 GB, free: 59.42 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.0173/0.1875, allocations: 4.208 MB / 0.9084 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.1876, allocations: 63.28 kB / 0.9085 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.264e-05/0.1877, allocations: 93.86 kB / 0.9086 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.092e-05/0.1877, allocations: 29.7 kB / 0.9086 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.687e-05/0.1878, allocations: 80.14 kB / 0.9087 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.068e-05/0.1878, allocations: 59.16 kB / 0.9087 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/0.1879, allocations: 0 / 0.9087 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.96e-05/0.188, allocations: 326.8 kB / 0.909 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.1884, allocations: 308 kB / 0.9093 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/0.1889, allocations: 311.9 kB / 0.9096 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.1901, allocations: 0.7565 MB / 0.9104 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1901, allocations: 0 / 0.9104 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001281/0.1914, allocations: 0.7864 MB / 0.9111 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1915, allocations: 6.656 kB / 0.9112 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1915, allocations: 7.984 kB / 0.9112 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1915, allocations: 0 / 0.9112 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000778/0.1923, allocations: 95.89 kB / 0.9113 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1923, allocations: 0 / 0.9113 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.1928, allocations: 12 kB / 0.9113 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.1929, allocations: 31.97 kB / 0.9113 GB, free: 52.08 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.0001647/0.1931, allocations: 121.8 kB / 0.9114 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-05/0.1932, allocations: 7.906 kB / 0.9114 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/0.196, allocations: 1.392 MB / 0.9128 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.196, allocations: 8 kB / 0.9128 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.196, allocations: 0 / 0.9128 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.196, allocations: 7.984 kB / 0.9128 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.1984, allocations: 1.794 MB / 0.9145 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1984, allocations: 0 / 0.9145 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007165/0.1991, allocations: 107.9 kB / 0.9146 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.1991, allocations: 4 kB / 0.9147 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.847e-05/0.1992, allocations: 27.94 kB / 0.9147 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.1992, allocations: 12.02 kB / 0.9147 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1992, allocations: 0 / 0.9147 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.2012, allocations: 1.461 MB / 0.9161 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/0.2012, allocations: 92.86 kB / 0.9162 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/0.2013, allocations: 15.92 kB / 0.9162 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.2018, allocations: 8 kB / 0.9162 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.202, allocations: 48.03 kB / 0.9163 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/0.202, allocations: 31.94 kB / 0.9163 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.201e-05/0.2021, allocations: 79.28 kB / 0.9164 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2021, allocations: 0 / 0.9164 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005132/0.2026, allocations: 176 kB / 0.9165 GB, free: 46.58 MB / 0.6042 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.002478/0.2051, allocations: 2.107 MB / 0.9186 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.2061, allocations: 0.7229 MB / 0.9193 GB, free: 43.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2061, allocations: 0 / 0.9193 GB, free: 43.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005334/0.2067, allocations: 459.7 kB / 0.9197 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.207, allocations: 14.58 kB / 0.9198 GB, free: 43.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006411/0.2134, allocations: 3.757 MB / 0.9234 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.2135, allocations: 0.7184 MB / 0.9241 GB, free: 38.67 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001311/0.2149, allocations: 293.5 kB / 0.9244 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005534/0.2154, allocations: 119.4 kB / 0.9245 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of SimCode: time 6.81e-07/0.2154, allocations: 0 / 0.9245 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.2376, allocations: 11.91 MB / 0.9362 GB, free: 26.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/0.2378, allocations: 235.3 kB / 0.9364 GB, free: 26.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/1.984, allocations: 0 / 0.9364 GB, free: 26.3 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)