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.599/1.599, allocations: 288.4 MB / 304.3 MB, free: 8.098 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.001056/0.001056, allocations: 172.6 kB / 372.9 MB, free: 10.16 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.386/1.386, allocations: 205.4 MB / 0.6317 GB, free: 9.941 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.0006964/0.0006965, allocations: 96.7 kB / 0.745 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004232/0.0004232, allocations: 17.81 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1725, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5871/0.7596, allocations: 138.6 MB / 1.116 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.7599, allocations: 81.72 kB / 1.116 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006765/0.7667, allocations: 2.362 MB / 1.118 GB, free: 32.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7668, allocations: 0 / 1.118 GB, free: 32.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.799e-06/0.7668, allocations: 0 / 1.118 GB, free: 32.13 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.0004094/0.7672, allocations: 348 kB / 1.119 GB, free: 31.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.7673, allocations: 11.5 kB / 1.119 GB, free: 31.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.7673, allocations: 9.469 kB / 1.119 GB, free: 31.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.7674, allocations: 167.3 kB / 1.119 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.7674, allocations: 384 / 1.119 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.7675, allocations: 11.44 kB / 1.119 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.7676, allocations: 50.23 kB / 1.119 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.7676, allocations: 192 / 1.119 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.7676, allocations: 3.938 kB / 1.119 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.7676, allocations: 0 / 1.119 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.537e-05/0.7677, allocations: 33.2 kB / 1.119 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.7679, allocations: 166.3 kB / 1.119 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.768, allocations: 57.08 kB / 1.119 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.848e-05/0.7681, allocations: 22.17 kB / 1.119 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004302/0.7685, allocations: 0.559 MB / 1.12 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.7685, allocations: 34.56 kB / 1.12 GB, free: 30.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.7685, allocations: 0 / 1.12 GB, free: 30.59 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.01697/0.7855, allocations: 4.212 MB / 1.124 GB, free: 29.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.7856, allocations: 55.34 kB / 1.124 GB, free: 29.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.035e-05/0.7857, allocations: 93.19 kB / 1.124 GB, free: 29.49 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.053e-05/0.7858, allocations: 33.08 kB / 1.124 GB, free: 29.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.7858, allocations: 80.14 kB / 1.124 GB, free: 29.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.962e-05/0.7859, allocations: 53.94 kB / 1.124 GB, free: 29.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.786, allocations: 8.062 kB / 1.124 GB, free: 29.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.7861, allocations: 321.4 kB / 1.125 GB, free: 29.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004584/0.7866, allocations: 310 kB / 1.125 GB, free: 29.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004395/0.787, allocations: 310 kB / 1.125 GB, free: 29.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.7882, allocations: 0.7554 MB / 1.126 GB, free: 29.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7882, allocations: 0 / 1.126 GB, free: 29.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001246/0.7895, allocations: 0.7842 MB / 1.127 GB, free: 28.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.7895, allocations: 7.75 kB / 1.127 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7895, allocations: 0 / 1.127 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.7896, allocations: 4 kB / 1.127 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007407/0.7903, allocations: 95.73 kB / 1.127 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.7903, allocations: 0 / 1.127 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.7908, allocations: 7.75 kB / 1.127 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.768e-05/0.7909, allocations: 36.83 kB / 1.127 GB, free: 28.96 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.00017/0.791, allocations: 125.5 kB / 1.127 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.7911, allocations: 7.75 kB / 1.127 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/0.7939, allocations: 1.387 MB / 1.128 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.7939, allocations: 5.906 kB / 1.128 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7939, allocations: 0 / 1.128 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.7939, allocations: 2.953 kB / 1.128 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.7963, allocations: 1.795 MB / 1.13 GB, free: 28.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7963, allocations: 0 / 1.13 GB, free: 28.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007378/0.7971, allocations: 111 kB / 1.13 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.7971, allocations: 7.094 kB / 1.13 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-05/0.7972, allocations: 22.91 kB / 1.13 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.7972, allocations: 11.72 kB / 1.13 GB, free: 28.17 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7972, allocations: 0 / 1.13 GB, free: 28.17 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.7991, allocations: 1.449 MB / 1.132 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.7992, allocations: 100.4 kB / 1.132 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.457e-05/0.7993, allocations: 13.77 kB / 1.132 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004664/0.7997, allocations: 14.81 kB / 1.132 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.7999, allocations: 40.02 kB / 1.132 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.057e-05/0.8, allocations: 30.25 kB / 1.132 GB, free: 27.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.415e-05/0.8, allocations: 75.28 kB / 1.132 GB, free: 27.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8, allocations: 0 / 1.132 GB, free: 27.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005548/0.8006, allocations: 210.5 kB / 1.132 GB, free: 27.79 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.0004595/0.801, allocations: 261.6 kB / 1.132 GB, free: 27.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.8021, allocations: 0.7209 MB / 1.133 GB, free: 27.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8021, allocations: 0 / 1.133 GB, free: 27.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005382/0.8026, allocations: 454.1 kB / 1.134 GB, free: 27.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.8029, allocations: 18.12 kB / 1.134 GB, free: 27.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.8059, allocations: 0.8548 MB / 1.134 GB, free: 27.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.8062, allocations: 0.7145 MB / 1.135 GB, free: 26.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001402/0.8076, allocations: 297 kB / 1.135 GB, free: 26.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005125/0.8082, allocations: 94.88 kB / 1.135 GB, free: 26.54 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/0.8082, allocations: 0 / 1.135 GB, free: 26.54 MB / 0.698 GB Notification: Performance of Templates: time 0.01275/0.8209, allocations: 10.36 MB / 1.146 GB, free: 22.39 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)