Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.79/4.79, allocations: 0.5623 GB / 0.5775 GB, free: 3.348 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002549/0.002549, allocations: 360.9 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.344/4.344, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001771/0.001771, allocations: 177.3 kB / 1.226 GB, free: 35.96 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004743, allocations: 12 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2123, allocations: 115.3 MB / 1.461 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.239, allocations: 138.2 MB / 1.596 GB, free: 3.496 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004196/1.24, allocations: 78.39 kB / 1.596 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.01303/1.253, allocations: 1.852 MB / 1.598 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.295e-06/1.253, allocations: 0 / 1.598 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.738e-06/1.253, allocations: 0 / 1.598 GB, free: 1.863 MB / 0.6667 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.0005755/1.253, allocations: 353.1 kB / 1.598 GB, free: 1.477 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/1.254, allocations: 8.031 kB / 1.599 GB, free: 1.469 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/1.254, allocations: 4.609 kB / 1.599 GB, free: 1.465 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/1.254, allocations: 171 kB / 1.599 GB, free: 1.258 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/1.254, allocations: 0 / 1.599 GB, free: 1.258 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/1.254, allocations: 7.891 kB / 1.599 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/1.254, allocations: 47.56 kB / 1.599 GB, free: 1.203 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/1.254, allocations: 0 / 1.599 GB, free: 1.203 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/1.254, allocations: 4 kB / 1.599 GB, free: 1.199 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/1.254, allocations: 0 / 1.599 GB, free: 1.199 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.376e-05/1.254, allocations: 21.67 kB / 1.599 GB, free: 1.184 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/1.255, allocations: 164.1 kB / 1.599 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/1.255, allocations: 40.64 kB / 1.599 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.495e-05/1.255, allocations: 23.47 kB / 1.599 GB, free: 0.918 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008418/1.256, allocations: 0.5544 MB / 1.6 GB, free: 240 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/1.256, allocations: 33.75 kB / 1.6 GB, free: 200 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=5): time 2.956e-06/1.256, allocations: 4 kB / 1.6 GB, free: 196 kB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.004323/1.26, allocations: 458 kB / 1.6 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/1.26, allocations: 55.41 kB / 1.6 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/1.26, allocations: 93.8 kB / 1.6 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/1.26, allocations: 29.7 kB / 1.6 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/1.261, allocations: 83.58 kB / 1.6 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.126e-05/1.261, allocations: 31.48 kB / 1.6 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.908e-05/1.261, allocations: 0 / 1.6 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002412/1.261, allocations: 314.8 kB / 1.601 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/1.261, allocations: 18.98 kB / 1.601 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/1.261, allocations: 26.92 kB / 1.601 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/1.261, allocations: 22.5 kB / 1.601 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.261, allocations: 0 / 1.601 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003642/1.262, allocations: 85.81 kB / 1.601 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/1.262, allocations: 4 kB / 1.601 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/1.262, allocations: 0 / 1.601 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/1.262, allocations: 4 kB / 1.601 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/1.262, allocations: 15.94 kB / 1.601 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/1.262, allocations: 0 / 1.601 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.742e-05/1.262, allocations: 3.062 kB / 1.601 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/1.262, allocations: 7.984 kB / 1.601 GB, free: 14.96 MB / 0.6823 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 (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 0.0001536/1.263, allocations: 117 kB / 1.601 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/1.263, allocations: 7.906 kB / 1.601 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005615/1.263, allocations: 94.95 kB / 1.601 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.263, allocations: 4 kB / 1.601 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.263, allocations: 0 / 1.601 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/1.263, allocations: 3.984 kB / 1.601 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/1.264, allocations: 174.9 kB / 1.601 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.264, allocations: 3.938 kB / 1.601 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/1.264, allocations: 19.98 kB / 1.601 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/1.264, allocations: 0 / 1.601 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/1.264, allocations: 0 / 1.601 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.264, allocations: 0 / 1.601 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.264, allocations: 0 / 1.601 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/1.264, allocations: 133.6 kB / 1.601 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/1.265, allocations: 85.05 kB / 1.601 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/1.265, allocations: 3 kB / 1.601 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/1.265, allocations: 7.875 kB / 1.601 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/1.265, allocations: 7.984 kB / 1.601 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/1.265, allocations: 4 kB / 1.601 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.446e-05/1.265, allocations: 78.59 kB / 1.601 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.8e-07/1.265, allocations: 4.156 kB / 1.601 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003098/1.265, allocations: 28.03 kB / 1.601 GB, free: 14.17 MB / 0.6823 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 () * Number of clocked 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.0002726/1.265, allocations: 142.8 kB / 1.602 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000191/1.266, allocations: 48.39 kB / 1.602 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.266, allocations: 3.938 kB / 1.602 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/1.266, allocations: 34.17 kB / 1.602 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/1.266, allocations: 3.953 kB / 1.602 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/1.266, allocations: 154.2 kB / 1.602 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/1.267, allocations: 0.6887 MB / 1.603 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001323/1.267, allocations: 12.19 kB / 1.603 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/1.267, allocations: 11.44 kB / 1.603 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of SimCode: time 8.62e-07/1.267, allocations: 0 / 1.603 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of Templates: time 0.003871/1.271, allocations: 0.7538 MB / 1.603 GB, free: 12.32 MB / 0.6823 GB