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.306/1.306, allocations: 251.5 MB / 266.7 MB, free: 11.07 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.000964/0.0009639, allocations: 165.3 kB / 325.8 MB, free: 2.715 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.713/1.713, allocations: 205 MB / 0.576 GB, free: 21.02 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.0008047/0.0008047, allocations: 89.25 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 9.469 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2326, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.000762/0.2334, allocations: 366.9 kB / 0.8966 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2348, allocations: 1.321 MB / 0.8979 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.541e-05/0.2349, allocations: 3.938 kB / 0.8979 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.2349, allocations: 0 / 0.8979 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.387e-05/0.2349, allocations: 0 / 0.8979 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.2352, allocations: 59.88 kB / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.72e-05/0.2353, allocations: 27.84 kB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.2353, allocations: 7.938 kB / 0.8979 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.805e-05/0.2354, allocations: 4 kB / 0.898 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.173e-05/0.2354, allocations: 15.92 kB / 0.898 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.2355, allocations: 4 kB / 0.898 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.2356, allocations: 91.89 kB / 0.8981 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.2357, allocations: 11.98 kB / 0.8981 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.2357, allocations: 7.922 kB / 0.8981 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.2358, allocations: 67.86 kB / 0.8981 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2358, allocations: 4 kB / 0.8981 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2358, allocations: 0 / 0.8981 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2358, allocations: 0 / 0.8981 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.0003524/0.2362, allocations: 335.6 kB / 0.8985 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.2363, allocations: 12.03 kB / 0.8985 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.2363, allocations: 34.75 kB / 0.8985 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.2363, allocations: 0.9375 kB / 0.8985 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.486e-05/0.2364, allocations: 168.3 kB / 0.8987 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2364, allocations: 4.375 kB / 0.8987 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.2364, allocations: 16.27 kB / 0.8987 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.2366, allocations: 49.81 kB / 0.8987 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2366, allocations: 4 kB / 0.8987 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.2366, allocations: 0 / 0.8987 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2366, allocations: 3.938 kB / 0.8987 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.852e-05/0.2367, allocations: 23.98 kB / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.2368, allocations: 165.7 kB / 0.8989 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.829e-05/0.2369, allocations: 62.5 kB / 0.899 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.237, allocations: 25.08 kB / 0.899 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003582/0.2373, allocations: 0.5622 MB / 0.8996 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.2373, allocations: 34.5 kB / 0.8996 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.2374, allocations: 0 / 0.8996 GB, free: 64.32 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.01626/0.2536, allocations: 4.216 MB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.2537, allocations: 59.39 kB / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.826e-05/0.2537, allocations: 89.86 kB / 0.9039 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.2538, allocations: 33.7 kB / 0.9039 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.465e-05/0.2538, allocations: 80.14 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-05/0.2539, allocations: 55.23 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-05/0.254, allocations: 25.7 kB / 0.904 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.877e-05/0.2541, allocations: 326.8 kB / 0.9043 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004138/0.2545, allocations: 303.9 kB / 0.9046 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004146/0.2549, allocations: 315.9 kB / 0.9049 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.2561, allocations: 0.7545 MB / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.2561, allocations: 0 / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001253/0.2574, allocations: 0.7965 MB / 0.9065 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2574, allocations: 4 kB / 0.9065 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2574, allocations: 0 / 0.9065 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2574, allocations: 4 kB / 0.9065 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006623/0.2581, allocations: 91.89 kB / 0.9065 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.2581, allocations: 7.984 kB / 0.9066 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/0.2585, allocations: 8 kB / 0.9066 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.312e-05/0.2586, allocations: 31.98 kB / 0.9066 GB, free: 56.94 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.00015/0.2588, allocations: 121.8 kB / 0.9067 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.2588, allocations: 7.906 kB / 0.9067 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002759/0.2616, allocations: 1.392 MB / 0.9081 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2616, allocations: 7.984 kB / 0.9081 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2616, allocations: 7.938 kB / 0.9081 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.2616, allocations: 0 / 0.9081 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.264, allocations: 1.794 MB / 0.9098 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.264, allocations: 4.031 kB / 0.9098 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/0.2646, allocations: 111.9 kB / 0.91 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2646, allocations: 0 / 0.91 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.999e-05/0.2647, allocations: 35.92 kB / 0.91 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2647, allocations: 0 / 0.91 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2647, allocations: 0 / 0.91 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.2666, allocations: 1.465 MB / 0.9114 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.625e-05/0.2666, allocations: 92.95 kB / 0.9115 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.66e-05/0.2667, allocations: 15.94 kB / 0.9115 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.2672, allocations: 8 kB / 0.9115 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.2673, allocations: 43.97 kB / 0.9116 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.264e-05/0.2674, allocations: 35.98 kB / 0.9116 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.993e-05/0.2674, allocations: 75.28 kB / 0.9117 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2674, allocations: 0 / 0.9117 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004913/0.2679, allocations: 172 kB / 0.9118 GB, free: 51.45 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.002424/0.2703, allocations: 2.099 MB / 0.9139 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.2714, allocations: 0.7229 MB / 0.9146 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2714, allocations: 0 / 0.9146 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005049/0.2719, allocations: 455.7 kB / 0.915 GB, free: 48.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.2722, allocations: 23.5 kB / 0.9151 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006006/0.2782, allocations: 3.76 MB / 0.9187 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.2784, allocations: 0.7185 MB / 0.9194 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00132/0.2797, allocations: 289.5 kB / 0.9197 GB, free: 43.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005215/0.2802, allocations: 119.4 kB / 0.9198 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of SimCode: time 7.02e-07/0.2802, allocations: 0 / 0.9198 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.3005, allocations: 11.9 MB / 0.9314 GB, free: 31.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.3007, allocations: 241.3 kB / 0.9317 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2.021, allocations: 0 / 0.9317 GB, free: 31.18 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)