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.678/1.678, allocations: 288.3 MB / 303.2 MB, free: 8.09 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.001135/0.001135, allocations: 184 kB / 371.8 MB, free: 10.14 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.712/1.712, allocations: 205.4 MB / 0.6306 GB, free: 9.91 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.000805/0.0008049, allocations: 90.86 kB / 0.7439 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 17.84 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2247, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7301/0.9549, allocations: 138.6 MB / 1.115 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001728/0.9551, allocations: 79.25 kB / 1.115 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006484/0.9616, allocations: 2.347 MB / 1.117 GB, free: 32.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9616, allocations: 0 / 1.117 GB, free: 32.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.9616, allocations: 0 / 1.117 GB, free: 32.16 MB / 0.698 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.000297/0.9619, allocations: 348.8 kB / 1.117 GB, free: 31.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.9619, allocations: 11.67 kB / 1.118 GB, free: 31.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.962, allocations: 12.28 kB / 1.118 GB, free: 31.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.945e-05/0.9621, allocations: 171 kB / 1.118 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.9621, allocations: 3.875 kB / 1.118 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.9621, allocations: 7.047 kB / 1.118 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.9623, allocations: 51.08 kB / 1.118 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.9623, allocations: 0 / 1.118 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.9623, allocations: 11.72 kB / 1.118 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.9623, allocations: 0 / 1.118 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.836e-05/0.9624, allocations: 18.55 kB / 1.118 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.9625, allocations: 173.7 kB / 1.118 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.991e-05/0.9626, allocations: 62.62 kB / 1.118 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003873/0.963, allocations: 0.5535 MB / 1.119 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.9631, allocations: 38.06 kB / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.9631, allocations: 0 / 1.119 GB, free: 30.61 MB / 0.698 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.02376/0.9868, allocations: 4.193 MB / 1.123 GB, free: 29.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.987, allocations: 55.31 kB / 1.123 GB, free: 29.63 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.987, allocations: 88.75 kB / 1.123 GB, free: 29.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.9872, allocations: 25.7 kB / 1.123 GB, free: 29.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.9872, allocations: 80.14 kB / 1.123 GB, free: 29.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.9874, allocations: 56.73 kB / 1.123 GB, free: 29.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.447e-05/0.9875, allocations: 3.688 kB / 1.123 GB, free: 29.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.9876, allocations: 325.1 kB / 1.123 GB, free: 29.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006733/0.9883, allocations: 313.5 kB / 1.124 GB, free: 29.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006502/0.989, allocations: 304.3 kB / 1.124 GB, free: 29.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009343/0.9899, allocations: 384.9 kB / 1.124 GB, free: 29.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9899, allocations: 0 / 1.124 GB, free: 29.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002075/0.992, allocations: 0.7924 MB / 1.125 GB, free: 29.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.9921, allocations: 8.844 kB / 1.125 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.9921, allocations: 0 / 1.125 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.9921, allocations: 3.938 kB / 1.125 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.9932, allocations: 91.81 kB / 1.125 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.9932, allocations: 0 / 1.125 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006256/0.9939, allocations: 14.84 kB / 1.125 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.994, allocations: 32 kB / 1.125 GB, free: 29.02 MB / 0.698 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.000387/0.9944, allocations: 124.8 kB / 1.125 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.9945, allocations: 7.781 kB / 1.125 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004798/0.9994, allocations: 1.386 MB / 1.127 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.9994, allocations: 3.875 kB / 1.127 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.9994, allocations: 4 kB / 1.127 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.9994, allocations: 3.094 kB / 1.127 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003706/1.003, allocations: 1.79 MB / 1.128 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/1.003, allocations: 7.812 kB / 1.128 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/1.004, allocations: 108.7 kB / 1.128 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.556e-05/1.004, allocations: 0 / 1.128 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/1.004, allocations: 33.94 kB / 1.129 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/1.004, allocations: 3.953 kB / 1.129 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.004, allocations: 0 / 1.129 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002993/1.007, allocations: 1.462 MB / 1.13 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/1.007, allocations: 96.69 kB / 1.13 GB, free: 27.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/1.008, allocations: 14.52 kB / 1.13 GB, free: 27.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006385/1.008, allocations: 15.38 kB / 1.13 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/1.008, allocations: 40.27 kB / 1.13 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/1.009, allocations: 30.47 kB / 1.13 GB, free: 27.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.69e-05/1.009, allocations: 79.56 kB / 1.13 GB, free: 27.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.009, allocations: 3.938 kB / 1.13 GB, free: 27.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009417/1.01, allocations: 202.8 kB / 1.13 GB, free: 27.81 MB / 0.698 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.0007678/1.01, allocations: 255.5 kB / 1.131 GB, free: 27.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001567/1.012, allocations: 0.7229 MB / 1.131 GB, free: 27.67 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.012, allocations: 0 / 1.131 GB, free: 27.67 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008539/1.013, allocations: 460.5 kB / 1.132 GB, free: 27.65 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/1.013, allocations: 11.19 kB / 1.132 GB, free: 27.65 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004155/1.017, allocations: 0.8494 MB / 1.133 GB, free: 27.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/1.018, allocations: 0.7222 MB / 1.133 GB, free: 26.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002269/1.02, allocations: 293.7 kB / 1.134 GB, free: 26.58 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000741/1.021, allocations: 94.91 kB / 1.134 GB, free: 26.57 MB / 0.698 GB Notification: Performance of SimCode: time 1.283e-06/1.021, allocations: 0 / 1.134 GB, free: 26.57 MB / 0.698 GB Notification: Performance of Templates: time 0.02144/1.042, allocations: 10.11 MB / 1.144 GB, free: 22.66 MB / 0.698 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)