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: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.429/1.429, allocations: 251.5 MB / 267.4 MB, free: 10.89 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.00109/0.001089, allocations: 169.7 kB / 326.5 MB, free: 2.652 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.972/1.972, allocations: 205 MB / 0.5766 GB, free: 20.48 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.0009125/0.0009124, allocations: 86.36 kB / 0.6803 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003672, allocations: 13.16 kB / 0.7938 GB, free: 136 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2718, allocations: 105.4 MB / 0.8967 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007905/0.2726, allocations: 358.9 kB / 0.8971 GB, free: 67.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.2743, allocations: 1.328 MB / 0.8984 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.614e-05/0.2744, allocations: 0 / 0.8984 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.2744, allocations: 4 kB / 0.8984 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.507e-05/0.2744, allocations: 0 / 0.8984 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.2747, allocations: 47.89 kB / 0.8984 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.699e-05/0.2748, allocations: 31.84 kB / 0.8985 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.2748, allocations: 11.92 kB / 0.8985 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.098e-05/0.2749, allocations: 4 kB / 0.8985 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.996e-05/0.2749, allocations: 15.92 kB / 0.8985 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.275, allocations: 4 kB / 0.8985 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.2752, allocations: 95.89 kB / 0.8986 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.2752, allocations: 4 kB / 0.8986 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.2752, allocations: 15.91 kB / 0.8986 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.52e-05/0.2753, allocations: 39.95 kB / 0.8986 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2754, allocations: 3.938 kB / 0.8987 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.552e-06/0.2754, allocations: 4 kB / 0.8987 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2754, allocations: 0 / 0.8987 GB, free: 65.7 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.0003869/0.2758, allocations: 339.5 kB / 0.899 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2758, allocations: 11.97 kB / 0.899 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.2758, allocations: 4.938 kB / 0.899 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.742e-05/0.2759, allocations: 164.4 kB / 0.8992 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.276, allocations: 8.359 kB / 0.8992 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.276, allocations: 12.3 kB / 0.8992 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.2761, allocations: 58 kB / 0.8992 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.2761, allocations: 7.891 kB / 0.8992 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2762, allocations: 0 / 0.8992 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2762, allocations: 4 kB / 0.8992 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.912e-05/0.2762, allocations: 19.98 kB / 0.8993 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.2764, allocations: 161.7 kB / 0.8994 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.2765, allocations: 58.5 kB / 0.8995 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.2765, allocations: 32.84 kB / 0.8995 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003711/0.2769, allocations: 0.5544 MB / 0.9 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.277, allocations: 34.5 kB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.277, allocations: 0 / 0.9001 GB, free: 63.96 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.01647/0.2934, allocations: 4.212 MB / 0.9042 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.2935, allocations: 55.34 kB / 0.9042 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.273e-05/0.2936, allocations: 105.8 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/0.2937, allocations: 25.7 kB / 0.9044 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.814e-05/0.2937, allocations: 80.14 kB / 0.9044 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.678e-05/0.2938, allocations: 63.09 kB / 0.9045 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.757e-05/0.2939, allocations: 21.7 kB / 0.9045 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.294, allocations: 322.9 kB / 0.9048 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.2944, allocations: 311.9 kB / 0.9051 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004243/0.2949, allocations: 314.7 kB / 0.9054 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.2961, allocations: 0.7506 MB / 0.9062 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2961, allocations: 0 / 0.9062 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001251/0.2974, allocations: 0.7929 MB / 0.9069 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.2974, allocations: 4 kB / 0.9069 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2974, allocations: 4 kB / 0.9069 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.2974, allocations: 4 kB / 0.9069 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/0.2982, allocations: 99.94 kB / 0.907 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.2982, allocations: 3.938 kB / 0.907 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.2986, allocations: 4 kB / 0.907 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-05/0.2987, allocations: 31.98 kB / 0.9071 GB, free: 56.58 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.0001774/0.2989, allocations: 125.8 kB / 0.9072 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.381e-05/0.299, allocations: 7.906 kB / 0.9072 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002839/0.3018, allocations: 1.392 MB / 0.9086 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3018, allocations: 8 kB / 0.9086 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3018, allocations: 0 / 0.9086 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3019, allocations: 0 / 0.9086 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.3043, allocations: 1.79 MB / 0.9103 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3043, allocations: 3.984 kB / 0.9103 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006708/0.305, allocations: 107.9 kB / 0.9104 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.305, allocations: 8.031 kB / 0.9104 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/0.3051, allocations: 27.94 kB / 0.9105 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3051, allocations: 0 / 0.9105 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3051, allocations: 4 kB / 0.9105 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.307, allocations: 1.465 MB / 0.9119 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.282e-05/0.3071, allocations: 96.89 kB / 0.912 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.981e-05/0.3072, allocations: 7.938 kB / 0.912 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.3077, allocations: 16.06 kB / 0.912 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.3078, allocations: 43.95 kB / 0.9121 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.426e-05/0.3079, allocations: 35.94 kB / 0.9121 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.3079, allocations: 75.28 kB / 0.9122 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.3079, allocations: 0 / 0.9122 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005352/0.3084, allocations: 168 kB / 0.9123 GB, free: 51.09 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.0005071/0.309, allocations: 227 kB / 0.9125 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.31, allocations: 0.7262 MB / 0.9132 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.31, allocations: 4 kB / 0.9133 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005138/0.3105, allocations: 447.8 kB / 0.9137 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.3108, allocations: 16.98 kB / 0.9137 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.3137, allocations: 0.8781 MB / 0.9146 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.3139, allocations: 0.7145 MB / 0.9152 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005032/0.3144, allocations: 95.41 kB / 0.9153 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of SimCode: time 8.52e-07/0.3144, allocations: 0 / 0.9153 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.01042/0.3249, allocations: 6.847 MB / 0.922 GB, free: 41.14 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)