Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.624/2.624, allocations: 285 MB / 292.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 188.8 kB / 360.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.3 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001405/0.001404, allocations: 98.83 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.476e-05, allocations: 8 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8282/0.8283, allocations: 115.2 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2427/1.071, allocations: 137.4 MB / 1.098 GB, free: 3.086 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/1.071, allocations: 75.95 kB / 1.098 GB, free: 3.012 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008697/1.08, allocations: 1.83 MB / 1.1 GB, free: 1.215 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/1.08, allocations: 0 / 1.1 GB, free: 1.215 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.935e-06/1.08, allocations: 0 / 1.1 GB, free: 1.215 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000436/1.081, allocations: 352.4 kB / 1.1 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.081, allocations: 13.72 kB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/1.081, allocations: 1.203 kB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/1.081, allocations: 164.4 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/1.081, allocations: 0.7812 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/1.081, allocations: 7.906 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.738e-05/1.081, allocations: 12.59 kB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.422e-05/1.081, allocations: 42.38 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/1.081, allocations: 0 / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/1.081, allocations: 0.6875 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/1.081, allocations: 0.5938 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/1.081, allocations: 138.8 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/1.082, allocations: 43.45 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/1.082, allocations: 17.77 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006046/1.082, allocations: 0.5569 MB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/1.082, allocations: 39.2 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/1.082, allocations: 0.7188 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.001135/1.083, allocations: 344 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/1.084, allocations: 54.56 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.093e-05/1.084, allocations: 89.52 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/1.084, allocations: 30.39 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/1.084, allocations: 80.95 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/1.084, allocations: 27.5 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/1.084, allocations: 4 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.084, allocations: 320.2 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.948e-05/1.084, allocations: 12 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.757e-05/1.084, allocations: 24.47 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/1.084, allocations: 19.98 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.084, allocations: 4.828 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002258/1.084, allocations: 79.47 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.084, allocations: 6 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.084, allocations: 0 / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/1.085, allocations: 7.938 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/1.085, allocations: 15.98 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/1.085, allocations: 0 / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.271e-05/1.085, allocations: 2.5 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/1.085, allocations: 4 kB / 1.102 GB, free: 14.4 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.74e-05/1.085, allocations: 104.8 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/1.085, allocations: 7.859 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/1.085, allocations: 105.3 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/1.085, allocations: 4 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/1.085, allocations: 1.312 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/1.085, allocations: 0.7969 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/1.085, allocations: 142.2 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.086, allocations: 0 / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/1.086, allocations: 19.98 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/1.086, allocations: 3.953 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/1.086, allocations: 3.312 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/1.086, allocations: 4 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.086, allocations: 0 / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/1.086, allocations: 129 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/1.086, allocations: 81.02 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/1.086, allocations: 3.953 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/1.086, allocations: 10.91 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/1.086, allocations: 4.922 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/1.086, allocations: 4 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.646e-05/1.086, allocations: 79.22 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.81e-07/1.086, allocations: 0 / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005459/1.087, allocations: 27.94 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0004424/1.087, allocations: 135.2 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002495/1.088, allocations: 48.03 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.088, allocations: 4 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/1.088, allocations: 24 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/1.088, allocations: 10.84 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/1.089, allocations: 96.36 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/1.089, allocations: 0.6807 MB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001427/1.089, allocations: 17.42 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/1.089, allocations: 11.44 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of SimCode: time 7.52e-07/1.089, allocations: 0 / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of Templates: time 0.003888/1.093, allocations: 0.7314 MB / 1.104 GB, free: 11.83 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)