Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.71/3.71, allocations: 251.1 MB / 266.7 MB, free: 11.52 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.0026/0.0026, allocations: 186.3 kB / 326.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.848/3.848, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.00144/0.00144, allocations: 98.41 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007076/0.0007078, allocations: 12.94 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3156, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3467/0.6624, allocations: 131.9 MB / 1.028 GB, free: 13.51 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004671/0.6629, allocations: 83.95 kB / 1.028 GB, free: 13.43 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.01439/0.6773, allocations: 1.872 MB / 1.03 GB, free: 11.55 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.356e-06/0.6774, allocations: 0 / 1.03 GB, free: 11.55 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.6774, allocations: 0 / 1.03 GB, free: 11.55 MB / 0.6824 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.000682/0.6781, allocations: 357.5 kB / 1.031 GB, free: 11.15 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 6.235e-05/0.6782, allocations: 8.031 kB / 1.031 GB, free: 11.14 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.6783, allocations: 0.9375 kB / 1.031 GB, free: 11.14 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.6785, allocations: 172.4 kB / 1.031 GB, free: 10.94 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.6786, allocations: 384 / 1.031 GB, free: 10.94 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.6786, allocations: 384 / 1.031 GB, free: 10.94 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.6788, allocations: 50.19 kB / 1.031 GB, free: 10.88 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.6789, allocations: 192 / 1.031 GB, free: 10.88 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.6789, allocations: 7.938 kB / 1.031 GB, free: 10.88 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.679, allocations: 0 / 1.031 GB, free: 10.88 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.608e-05/0.6791, allocations: 12 kB / 1.031 GB, free: 10.86 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.6794, allocations: 153.7 kB / 1.031 GB, free: 10.66 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.6797, allocations: 46.62 kB / 1.031 GB, free: 10.61 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.41e-05/0.6798, allocations: 28.91 kB / 1.031 GB, free: 10.58 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009737/0.6808, allocations: 0.5544 MB / 1.032 GB, free: 9.895 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/0.6809, allocations: 34.5 kB / 1.032 GB, free: 9.852 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=5): time 4.709e-06/0.6809, allocations: 0 / 1.032 GB, free: 9.852 MB / 0.6824 GB Notification: Performance of matching and sorting (n=8): time 0.00422/0.6851, allocations: 470.3 kB / 1.032 GB, free: 9.34 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.6853, allocations: 51.41 kB / 1.032 GB, free: 9.277 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.6854, allocations: 93.86 kB / 1.032 GB, free: 9.176 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.6854, allocations: 33.7 kB / 1.032 GB, free: 9.137 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.6855, allocations: 80.14 kB / 1.032 GB, free: 9.055 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 7.079e-05/0.6856, allocations: 27.64 kB / 1.032 GB, free: 9.027 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.6856, allocations: 3.938 kB / 1.032 GB, free: 9.023 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.6858, allocations: 310.8 kB / 1.033 GB, free: 8.711 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.686, allocations: 19.98 kB / 1.033 GB, free: 8.691 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.6861, allocations: 23.94 kB / 1.033 GB, free: 8.668 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.6862, allocations: 28.06 kB / 1.033 GB, free: 8.641 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.6863, allocations: 3.984 kB / 1.033 GB, free: 8.637 MB / 0.6824 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003695/0.6866, allocations: 89.47 kB / 1.033 GB, free: 8.543 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.6867, allocations: 4 kB / 1.033 GB, free: 8.539 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.6867, allocations: 0 / 1.033 GB, free: 8.539 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.6868, allocations: 4 kB / 1.033 GB, free: 8.535 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.687, allocations: 12 kB / 1.033 GB, free: 8.523 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.6871, allocations: 0 / 1.033 GB, free: 8.523 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.767e-05/0.6872, allocations: 4 kB / 1.033 GB, free: 8.52 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.6872, allocations: 4 kB / 1.033 GB, free: 8.516 MB / 0.6824 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.0001693/0.6874, allocations: 117.8 kB / 1.033 GB, free: 8.391 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.6875, allocations: 7.938 kB / 1.033 GB, free: 8.383 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005448/0.6881, allocations: 105.6 kB / 1.033 GB, free: 8.27 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.6881, allocations: 0 / 1.033 GB, free: 8.27 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6881, allocations: 4 kB / 1.033 GB, free: 8.266 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.6882, allocations: 0 / 1.033 GB, free: 8.266 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.6885, allocations: 165.9 kB / 1.033 GB, free: 8.055 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6885, allocations: 0 / 1.033 GB, free: 8.055 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.6888, allocations: 23.92 kB / 1.033 GB, free: 8.031 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.6888, allocations: 3.938 kB / 1.033 GB, free: 8.027 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.6889, allocations: 0 / 1.033 GB, free: 8.027 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.6889, allocations: 0 / 1.033 GB, free: 8.027 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6889, allocations: 0 / 1.033 GB, free: 8.027 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.6895, allocations: 145 kB / 1.033 GB, free: 7.867 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 8.334e-05/0.6896, allocations: 93.06 kB / 1.033 GB, free: 7.758 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.6897, allocations: 0 / 1.033 GB, free: 7.758 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.6898, allocations: 0 / 1.033 GB, free: 7.758 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.6899, allocations: 7.984 kB / 1.033 GB, free: 7.75 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.69, allocations: 8 kB / 1.033 GB, free: 7.742 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 6.366e-05/0.69, allocations: 75.28 kB / 1.033 GB, free: 7.668 MB / 0.6824 GB Notification: Performance of sort global known variables: time 6.21e-07/0.6901, allocations: 0 / 1.033 GB, free: 7.668 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.000579/0.6907, allocations: 36.09 kB / 1.034 GB, free: 7.633 MB / 0.6824 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.0004417/0.6911, allocations: 135.1 kB / 1.034 GB, free: 7.492 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0003605/0.6915, allocations: 51.92 kB / 1.034 GB, free: 7.441 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.6916, allocations: 0 / 1.034 GB, free: 7.441 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.6917, allocations: 27.98 kB / 1.034 GB, free: 7.414 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.6921, allocations: 11.94 kB / 1.034 GB, free: 7.402 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008172/0.6929, allocations: 166 kB / 1.034 GB, free: 7.215 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.6934, allocations: 0.6809 MB / 1.035 GB, free: 6.508 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0002001/0.6936, allocations: 8 kB / 1.035 GB, free: 6.5 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.79e-05/0.6937, allocations: 11.44 kB / 1.035 GB, free: 6.488 MB / 0.6824 GB Notification: Performance of SimCode: time 1.734e-06/0.6937, allocations: 0 / 1.035 GB, free: 6.488 MB / 0.6824 GB Notification: Performance of Templates: time 0.006208/0.6999, allocations: 0.7449 MB / 1.035 GB, free: 5.75 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)