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: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.619/1.619, allocations: 288.4 MB / 304.3 MB, free: 8.176 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.0008724/0.0008725, allocations: 172.6 kB / 372.9 MB, free: 10.18 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.4/1.4, allocations: 205.4 MB / 0.6316 GB, free: 9.922 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.0009137/0.0009136, allocations: 92.25 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003876, allocations: 14.16 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2221, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0009559/0.2231, allocations: 351.7 kB / 0.9811 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001805/0.225, allocations: 1.262 MB / 0.9823 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/0.225, allocations: 4 kB / 0.9823 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.205e-05/0.225, allocations: 0 / 0.9823 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.542e-05/0.2251, allocations: 0 / 0.9823 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.2254, allocations: 55.86 kB / 0.9824 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.571e-05/0.2255, allocations: 19.92 kB / 0.9824 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.091e-05/0.2255, allocations: 4 kB / 0.9824 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.398e-05/0.2255, allocations: 11.98 kB / 0.9824 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.2256, allocations: 19.91 kB / 0.9824 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.2256, allocations: 0 / 0.9824 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.2258, allocations: 91.91 kB / 0.9825 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.2258, allocations: 3.984 kB / 0.9825 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.2259, allocations: 41.62 kB / 0.9826 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.966e-05/0.226, allocations: 43.94 kB / 0.9826 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.226, allocations: 0 / 0.9826 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/0.226, allocations: 0 / 0.9826 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.226, allocations: 0 / 0.9826 GB, free: 25.46 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.0003484/0.2264, allocations: 339.8 kB / 0.9829 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.2264, allocations: 12.03 kB / 0.9829 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.2264, allocations: 12.78 kB / 0.9829 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.315e-05/0.2265, allocations: 160.4 kB / 0.9831 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.2266, allocations: 4.375 kB / 0.9831 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.2266, allocations: 12.36 kB / 0.9831 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.2267, allocations: 46 kB / 0.9832 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2267, allocations: 11.88 kB / 0.9832 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.2267, allocations: 4 kB / 0.9832 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2268, allocations: 0 / 0.9832 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.043e-05/0.2268, allocations: 27.97 kB / 0.9832 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.227, allocations: 169.6 kB / 0.9834 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.149e-05/0.2271, allocations: 58.56 kB / 0.9834 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.2271, allocations: 20.84 kB / 0.9834 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003608/0.2275, allocations: 0.5583 MB / 0.984 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.2275, allocations: 38.73 kB / 0.984 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.2275, allocations: 4 kB / 0.984 GB, free: 23.71 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.01678/0.2443, allocations: 4.204 MB / 0.9881 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.2444, allocations: 55.41 kB / 0.9882 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.542e-05/0.2444, allocations: 89.86 kB / 0.9883 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.173e-05/0.2445, allocations: 37.83 kB / 0.9883 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.767e-05/0.2445, allocations: 80.14 kB / 0.9884 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.941e-05/0.2446, allocations: 55.19 kB / 0.9884 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.2447, allocations: 8 kB / 0.9884 GB, free: 19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.2448, allocations: 318.8 kB / 0.9887 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/0.2452, allocations: 319.8 kB / 0.989 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.2457, allocations: 308.9 kB / 0.9893 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.2469, allocations: 0.7518 MB / 0.9901 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2469, allocations: 3.938 kB / 0.9901 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001253/0.2481, allocations: 0.7879 MB / 0.9908 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2482, allocations: 4 kB / 0.9909 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2482, allocations: 0 / 0.9909 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.2482, allocations: 4 kB / 0.9909 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/0.249, allocations: 99.88 kB / 0.991 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.249, allocations: 0 / 0.991 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/0.2494, allocations: 4 kB / 0.991 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.765e-05/0.2495, allocations: 39.97 kB / 0.991 GB, free: 16.37 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.0001443/0.2497, allocations: 121.8 kB / 0.9911 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.2497, allocations: 11.91 kB / 0.9911 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002755/0.2525, allocations: 1.385 MB / 0.9925 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2525, allocations: 3.984 kB / 0.9925 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2525, allocations: 0 / 0.9925 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.2526, allocations: 100.8 kB / 0.9926 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.304e-05/0.2527, allocations: 8 kB / 0.9926 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.2531, allocations: 15.94 kB / 0.9926 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.2532, allocations: 43.97 kB / 0.9926 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001397/0.2546, allocations: 0.9818 MB / 0.9936 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001879/0.2565, allocations: 1.541 MB / 0.9951 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004581/0.257, allocations: 428.5 kB / 0.9955 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.666e-05/0.257, allocations: 79.28 kB / 0.9956 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of Backend: time 5.11e-07/0.257, allocations: 0 / 0.9956 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.2583, allocations: 0.5528 MB / 0.9961 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005884/0.2589, allocations: 0.7336 MB / 0.9968 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of Templates: time 0.01217/0.271, allocations: 10.58 MB / 1.007 GB, free: 15.73 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)