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.571/2.571, allocations: 284.8 MB / 297.3 MB, free: 6.301 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.001464/0.001464, allocations: 176.8 kB / 365.7 MB, free: 2.57 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 1.977/1.977, allocations: 205.1 MB / 0.6241 GB, free: 8.203 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.001523/0.001522, allocations: 97.61 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.756e-05/3.776e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.888/0.8881, allocations: 115.2 MB / 0.97 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2481/1.136, allocations: 138.1 MB / 1.105 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/1.137, allocations: 79.94 kB / 1.105 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00878/1.145, allocations: 1.83 MB / 1.107 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.813e-06/1.145, allocations: 0 / 1.107 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.357e-06/1.145, allocations: 1.219 kB / 1.107 GB, free: 12.46 MB / 0.7136 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.0004005/1.146, allocations: 348.2 kB / 1.107 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/1.146, allocations: 8.031 kB / 1.107 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/1.146, allocations: 9.203 kB / 1.107 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/1.146, allocations: 171.7 kB / 1.107 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/1.146, allocations: 5.234 kB / 1.107 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/1.146, allocations: 7.906 kB / 1.107 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/1.146, allocations: 37.7 kB / 1.107 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/1.146, allocations: 4.891 kB / 1.107 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/1.146, allocations: 4 kB / 1.107 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/1.146, allocations: 0.9062 kB / 1.107 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.327e-05/1.147, allocations: 13.16 kB / 1.107 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/1.147, allocations: 166.2 kB / 1.107 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/1.147, allocations: 42.14 kB / 1.107 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/1.147, allocations: 18.67 kB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000604/1.148, allocations: 0.5583 MB / 1.108 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/1.148, allocations: 35.81 kB / 1.108 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.944e-06/1.148, allocations: 0 / 1.108 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.002513/1.15, allocations: 446.3 kB / 1.109 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/1.15, allocations: 51.41 kB / 1.109 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.512e-05/1.15, allocations: 90.53 kB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/1.15, allocations: 29.7 kB / 1.109 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/1.15, allocations: 80.14 kB / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.854e-05/1.15, allocations: 34.55 kB / 1.109 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/1.15, allocations: 0.5938 kB / 1.109 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.151, allocations: 316 kB / 1.109 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.405e-05/1.151, allocations: 20 kB / 1.109 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/1.151, allocations: 21.59 kB / 1.109 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.272e-05/1.151, allocations: 19.98 kB / 1.109 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/1.151, allocations: 0 / 1.109 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002188/1.151, allocations: 81.62 kB / 1.109 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/1.151, allocations: 8.875 kB / 1.109 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.151, allocations: 0 / 1.109 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/1.151, allocations: 0 / 1.109 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/1.151, allocations: 20.77 kB / 1.109 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/1.151, allocations: 2.656 kB / 1.109 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/1.151, allocations: 6.625 kB / 1.109 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/1.151, allocations: 11.94 kB / 1.109 GB, free: 9.488 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 9.323e-05/1.152, allocations: 107 kB / 1.109 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/1.152, allocations: 7.906 kB / 1.109 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/1.152, allocations: 100.1 kB / 1.109 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.152, allocations: 0 / 1.109 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.152, allocations: 0 / 1.109 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/1.152, allocations: 7.984 kB / 1.109 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/1.152, allocations: 172.1 kB / 1.11 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.152, allocations: 0 / 1.11 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/1.152, allocations: 16.11 kB / 1.11 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/1.152, allocations: 4 kB / 1.11 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/1.152, allocations: 4 kB / 1.11 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.152, allocations: 0 / 1.11 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.153, allocations: 0 / 1.11 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/1.153, allocations: 137 kB / 1.11 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/1.153, allocations: 81.02 kB / 1.11 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/1.153, allocations: 3.938 kB / 1.11 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.064e-05/1.153, allocations: 4.031 kB / 1.11 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/1.153, allocations: 8.062 kB / 1.11 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/1.153, allocations: 7.984 kB / 1.11 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.614e-05/1.153, allocations: 75.28 kB / 1.11 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.81e-07/1.153, allocations: 0 / 1.11 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003219/1.154, allocations: 31.94 kB / 1.11 GB, free: 8.637 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.0002982/1.154, allocations: 131.2 kB / 1.11 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002201/1.154, allocations: 53.7 kB / 1.11 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.154, allocations: 4.094 kB / 1.11 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.262e-05/1.154, allocations: 28 kB / 1.11 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/1.154, allocations: 4 kB / 1.11 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/1.155, allocations: 117.2 kB / 1.11 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/1.155, allocations: 0.6809 MB / 1.111 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001236/1.155, allocations: 11.7 kB / 1.111 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/1.155, allocations: 23 kB / 1.111 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of SimCode: time 1.042e-06/1.155, allocations: 0 / 1.111 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of Templates: time 0.004138/1.16, allocations: 0.7429 MB / 1.112 GB, free: 6.832 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)