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.448/1.448, allocations: 252 MB / 267 MB, free: 10.95 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.0009428/0.0009427, allocations: 188 kB / 326.6 MB, free: 2.211 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.876/1.876, allocations: 205.4 MB / 0.5777 GB, free: 20.53 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.0007704/0.0007705, allocations: 87.98 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003534, allocations: 12.56 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2333, allocations: 106.3 MB / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007097/0.234, allocations: 354.2 kB / 0.9007 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.2354, allocations: 1.266 MB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.2355, allocations: 0 / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.159e-05/0.2355, allocations: 3.938 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.388e-05/0.2355, allocations: 0 / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.2358, allocations: 55.88 kB / 0.9019 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.288e-05/0.2359, allocations: 23.91 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.2359, allocations: 0 / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.187e-05/0.236, allocations: 15.94 kB / 0.902 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.255e-05/0.236, allocations: 7.984 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.2361, allocations: 0 / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.2362, allocations: 103.8 kB / 0.9021 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.488e-06/0.2363, allocations: 0 / 0.9021 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.2363, allocations: 29.7 kB / 0.9021 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.903e-05/0.2364, allocations: 39.94 kB / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2364, allocations: 0 / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2364, allocations: 4 kB / 0.9022 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.2364, allocations: 0 / 0.9022 GB, free: 62.25 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.0003769/0.2368, allocations: 339.4 kB / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.2368, allocations: 12.03 kB / 0.9025 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.012e-05/0.2369, allocations: 34.56 kB / 0.9025 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.2369, allocations: 7.953 kB / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.839e-05/0.237, allocations: 167.3 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.237, allocations: 8 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.237, allocations: 7.906 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.2372, allocations: 49.62 kB / 0.9028 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2372, allocations: 0 / 0.9028 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.2372, allocations: 8 kB / 0.9028 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2372, allocations: 7.984 kB / 0.9028 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.933e-05/0.2373, allocations: 27.95 kB / 0.9028 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.2374, allocations: 169.6 kB / 0.903 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.285e-05/0.2375, allocations: 58.5 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.2376, allocations: 24.84 kB / 0.903 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003396/0.2379, allocations: 0.5583 MB / 0.9036 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.238, allocations: 34.56 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.238, allocations: 0 / 0.9036 GB, free: 60.46 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.01776/0.2557, allocations: 4.218 MB / 0.9077 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.2558, allocations: 55.41 kB / 0.9078 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.534e-05/0.2559, allocations: 93.86 kB / 0.9079 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.676e-05/0.2559, allocations: 29.7 kB / 0.9079 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.536e-05/0.256, allocations: 84.14 kB / 0.908 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.654e-05/0.256, allocations: 51.17 kB / 0.908 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.2561, allocations: 0 / 0.908 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.787e-05/0.2562, allocations: 322.8 kB / 0.9083 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/0.2566, allocations: 307.9 kB / 0.9086 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.257, allocations: 311.8 kB / 0.9089 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006216/0.2577, allocations: 392 kB / 0.9093 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2577, allocations: 0 / 0.9093 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001293/0.259, allocations: 0.7887 MB / 0.9101 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.259, allocations: 4 kB / 0.9101 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.259, allocations: 3.984 kB / 0.9101 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.259, allocations: 3.953 kB / 0.9101 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000747/0.2598, allocations: 91.89 kB / 0.9102 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2598, allocations: 4 kB / 0.9102 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/0.2603, allocations: 4 kB / 0.9102 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.006e-05/0.2603, allocations: 39.97 kB / 0.9102 GB, free: 53.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.2605, allocations: 121.8 kB / 0.9103 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.2606, allocations: 4 kB / 0.9103 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002839/0.2635, allocations: 1.388 MB / 0.9117 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.2635, allocations: 4 kB / 0.9117 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.2635, allocations: 3.953 kB / 0.9117 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2635, allocations: 3.984 kB / 0.9117 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.266, allocations: 1.802 MB / 0.9135 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.266, allocations: 0 / 0.9135 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007013/0.2667, allocations: 107.9 kB / 0.9136 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.2667, allocations: 3.938 kB / 0.9136 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.217e-05/0.2668, allocations: 28 kB / 0.9136 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.2668, allocations: 3.984 kB / 0.9136 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2668, allocations: 0 / 0.9136 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.2688, allocations: 1.457 MB / 0.915 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.2688, allocations: 92.94 kB / 0.9151 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.064e-05/0.2689, allocations: 11.98 kB / 0.9151 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/0.2694, allocations: 12 kB / 0.9151 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.87e-05/0.2695, allocations: 39.97 kB / 0.9152 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/0.2696, allocations: 36 kB / 0.9152 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.577e-05/0.2696, allocations: 79.34 kB / 0.9153 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2696, allocations: 0 / 0.9153 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005651/0.2702, allocations: 176 kB / 0.9155 GB, free: 48.02 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 (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.002499/0.2727, allocations: 2.107 MB / 0.9175 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.2737, allocations: 0.7262 MB / 0.9182 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2737, allocations: 0 / 0.9182 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.2743, allocations: 452 kB / 0.9187 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.2746, allocations: 17.2 kB / 0.9187 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00478/0.2794, allocations: 2.152 MB / 0.9208 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.2795, allocations: 0.7145 MB / 0.9215 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001358/0.2809, allocations: 293.6 kB / 0.9218 GB, free: 41.47 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000526/0.2814, allocations: 115.4 kB / 0.9219 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.2815, allocations: 0 / 0.9219 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.3033, allocations: 11.67 MB / 0.9333 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.3035, allocations: 234.3 kB / 0.9335 GB, free: 29.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/1.997, allocations: 0 / 0.9335 GB, free: 29.63 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)