Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.676/1.676, allocations: 288.2 MB / 303.2 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 177.9 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 0.6305 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008141/0.0008141, allocations: 98.84 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.000387, allocations: 17.69 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1937, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0006369/0.1943, allocations: 350 kB / 0.9798 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1956, allocations: 1.26 MB / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.1956, allocations: 4 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.598e-06/0.1956, allocations: 0 / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 1.943e-05/0.1956, allocations: 0 / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.1959, allocations: 55.81 kB / 0.9811 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.368e-05/0.196, allocations: 15.92 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.196, allocations: 0 / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.065e-05/0.1961, allocations: 19.97 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.1961, allocations: 11.92 kB / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1961, allocations: 3.938 kB / 0.9812 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.1963, allocations: 87.91 kB / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.1963, allocations: 3.984 kB / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.1964, allocations: 29.7 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.052e-05/0.1964, allocations: 47.94 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.1965, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1965, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.1965, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 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.0003196/0.1968, allocations: 348.5 kB / 0.9816 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1968, allocations: 8.031 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.387e-05/0.1969, allocations: 42.55 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.192e-05/0.1969, allocations: 0 / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.304e-05/0.197, allocations: 167 kB / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.197, allocations: 4 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.197, allocations: 4 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.1971, allocations: 49.67 kB / 0.9819 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1971, allocations: 0 / 0.9819 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1972, allocations: 8 kB / 0.9819 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1972, allocations: 0 / 0.9819 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.719e-05/0.1972, allocations: 27.92 kB / 0.9819 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.1974, allocations: 165.5 kB / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.1975, allocations: 62.64 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003295/0.1978, allocations: 0.5624 MB / 0.9827 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.1978, allocations: 34.56 kB / 0.9827 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1978, allocations: 3.938 kB / 0.9827 GB, free: 23.98 MB / 0.6198 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.01747/0.2153, allocations: 4.21 MB / 0.9869 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.2154, allocations: 55.36 kB / 0.9869 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.244e-05/0.2154, allocations: 93.84 kB / 0.987 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.693e-05/0.2155, allocations: 37.64 kB / 0.987 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.283e-05/0.2155, allocations: 80.14 kB / 0.9871 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.66e-05/0.2156, allocations: 55.2 kB / 0.9872 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/0.2157, allocations: 8.125 kB / 0.9872 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.108e-05/0.2157, allocations: 314.8 kB / 0.9875 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.2162, allocations: 311.9 kB / 0.9878 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.2166, allocations: 309.7 kB / 0.9881 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006238/0.2172, allocations: 383.9 kB / 0.9884 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2172, allocations: 0 / 0.9884 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001257/0.2185, allocations: 0.784 MB / 0.9892 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2185, allocations: 4 kB / 0.9892 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2185, allocations: 0 / 0.9892 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.2186, allocations: 7.984 kB / 0.9892 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/0.2193, allocations: 99.88 kB / 0.9893 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2193, allocations: 3.953 kB / 0.9893 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005204/0.2198, allocations: 11.94 kB / 0.9893 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/0.2199, allocations: 31.98 kB / 0.9893 GB, free: 17.02 MB / 0.6198 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.0001781/0.2201, allocations: 117.8 kB / 0.9895 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-05/0.2202, allocations: 7.906 kB / 0.9895 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002998/0.2232, allocations: 1.399 MB / 0.9908 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2232, allocations: 4 kB / 0.9908 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2232, allocations: 0 / 0.9908 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.2232, allocations: 7.938 kB / 0.9908 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.2256, allocations: 1.791 MB / 0.9926 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2256, allocations: 3.938 kB / 0.9926 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007213/0.2263, allocations: 115.9 kB / 0.9927 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2263, allocations: 0 / 0.9927 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.121e-05/0.2264, allocations: 32 kB / 0.9927 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2264, allocations: 0 / 0.9927 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2264, allocations: 0 / 0.9927 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.2283, allocations: 1.466 MB / 0.9942 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.2284, allocations: 96.95 kB / 0.9943 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.005e-05/0.2285, allocations: 12 kB / 0.9943 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000521/0.229, allocations: 12 kB / 0.9943 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.682e-05/0.2291, allocations: 43.95 kB / 0.9943 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-05/0.2292, allocations: 28 kB / 0.9944 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.648e-05/0.2292, allocations: 75.28 kB / 0.9944 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2292, allocations: 0 / 0.9944 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005034/0.2297, allocations: 172 kB / 0.9946 GB, free: 11.54 MB / 0.6198 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.002423/0.2321, allocations: 2.198 MB / 0.9967 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.2331, allocations: 0.7145 MB / 0.9974 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2332, allocations: 0 / 0.9974 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005141/0.2337, allocations: 459.8 kB / 0.9979 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.2339, allocations: 11.94 kB / 0.9979 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/0.2389, allocations: 2.129 MB / 1 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.2391, allocations: 0.7184 MB / 1.001 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001396/0.2405, allocations: 297.6 kB / 1.001 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005389/0.241, allocations: 119.4 kB / 1.001 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of SimCode: time 4.3e-07/0.241, allocations: 0 / 1.001 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.2628, allocations: 11.64 MB / 1.012 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.263, allocations: 217.2 kB / 1.013 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/1.891, allocations: 2.406 kB / 1.013 GB, free: 9.098 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)