Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7633/0.7633, allocations: 132.4 MB / 139.9 MB, free: 15.39 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001087/0.001087, allocations: 169.2 kB / 171.8 MB, free: 2.055 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.297/1.297, allocations: 170.6 MB / 374.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001694/0.001694, allocations: 115.9 kB / 444.8 MB, free: 9.195 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4584/0.4584, allocations: 73.41 MB / 0.6666 GB, free: 46.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.5842, allocations: 101.2 MB / 0.7654 GB, free: 3.613 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.5845, allocations: 83.03 kB / 0.7655 GB, free: 3.535 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005261/0.5898, allocations: 1.819 MB / 0.7673 GB, free: 1.758 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5898, allocations: 0.8438 kB / 0.7673 GB, free: 1.758 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.5898, allocations: 0.9688 kB / 0.7673 GB, free: 1.758 MB / 474.7 MB 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.000323/0.5901, allocations: 345.3 kB / 0.7676 GB, free: 1.379 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5902, allocations: 12.03 kB / 0.7676 GB, free: 1.367 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.5902, allocations: 2.031 kB / 0.7676 GB, free: 1.367 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.5904, allocations: 169.8 kB / 0.7678 GB, free: 1.164 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.5904, allocations: 4 kB / 0.7678 GB, free: 1.16 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.5904, allocations: 0 / 0.7678 GB, free: 1.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.518e-05/0.5905, allocations: 12 kB / 0.7678 GB, free: 1.148 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.359e-05/0.5906, allocations: 47.8 kB / 0.7679 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.5906, allocations: 3.609 kB / 0.7679 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.5906, allocations: 0 / 0.7679 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.5906, allocations: 0 / 0.7679 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.5908, allocations: 134.9 kB / 0.768 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.161e-05/0.5909, allocations: 39.39 kB / 0.768 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.617e-05/0.5909, allocations: 23.36 kB / 0.7681 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004523/0.5914, allocations: 0.5561 MB / 0.7686 GB, free: 184 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.5914, allocations: 34.56 kB / 0.7686 GB, free: 140 kB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.5914, allocations: 0 / 0.7686 GB, free: 140 kB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008309/0.5923, allocations: 354.7 kB / 0.769 GB, free: 15.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.5923, allocations: 51.41 kB / 0.769 GB, free: 15.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.022e-05/0.5924, allocations: 92.94 kB / 0.7691 GB, free: 15.58 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.5924, allocations: 26.92 kB / 0.7691 GB, free: 15.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.864e-05/0.5924, allocations: 84.27 kB / 0.7692 GB, free: 15.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.5925, allocations: 27.64 kB / 0.7692 GB, free: 15.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.5925, allocations: 0 / 0.7692 GB, free: 15.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5926, allocations: 314.8 kB / 0.7695 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.219e-05/0.5926, allocations: 12 kB / 0.7695 GB, free: 15.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.441e-05/0.5927, allocations: 20 kB / 0.7696 GB, free: 15.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.986e-05/0.5928, allocations: 21.58 kB / 0.7696 GB, free: 15.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5928, allocations: 0 / 0.7696 GB, free: 15.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001435/0.5929, allocations: 85.52 kB / 0.7697 GB, free: 14.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.5929, allocations: 8 kB / 0.7697 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.593, allocations: 4 kB / 0.7697 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.593, allocations: 0 / 0.7697 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.5931, allocations: 19.94 kB / 0.7697 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5931, allocations: 7.219 kB / 0.7697 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.657e-05/0.5932, allocations: 0.6875 kB / 0.7697 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.5932, allocations: 4 kB / 0.7697 GB, free: 14.94 MB / 490.7 MB 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 6.822e-05/0.5932, allocations: 101.8 kB / 0.7698 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.5933, allocations: 4 kB / 0.7698 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.5935, allocations: 94.06 kB / 0.7699 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5935, allocations: 0 / 0.7699 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.5935, allocations: 0 / 0.7699 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.5935, allocations: 5.703 kB / 0.7699 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.5937, allocations: 150.2 kB / 0.7701 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5937, allocations: 4 kB / 0.7701 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.5938, allocations: 15.94 kB / 0.7701 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5938, allocations: 0 / 0.7701 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.5938, allocations: 4 kB / 0.7701 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.5938, allocations: 5.953 kB / 0.7701 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5938, allocations: 0 / 0.7701 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.594, allocations: 128.2 kB / 0.7702 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.5941, allocations: 77.77 kB / 0.7703 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.5941, allocations: 12.08 kB / 0.7703 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.164e-05/0.5942, allocations: 3.938 kB / 0.7703 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.5942, allocations: 8 kB / 0.7703 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.5942, allocations: 0 / 0.7703 GB, free: 14.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.52e-05/0.5942, allocations: 79.22 kB / 0.7704 GB, free: 14.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5942, allocations: 4 kB / 0.7704 GB, free: 14.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.5945, allocations: 31.92 kB / 0.7704 GB, free: 14.14 MB / 490.7 MB 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.0001697/0.5946, allocations: 127.2 kB / 0.7705 GB, free: 14.01 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.5948, allocations: 48.09 kB / 0.7706 GB, free: 13.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5948, allocations: 0 / 0.7706 GB, free: 13.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.5948, allocations: 27.94 kB / 0.7706 GB, free: 13.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.5949, allocations: 11.42 kB / 0.7706 GB, free: 13.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.5952, allocations: 96.64 kB / 0.7707 GB, free: 13.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.5955, allocations: 0.6846 MB / 0.7714 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.794e-05/0.5955, allocations: 13.88 kB / 0.7714 GB, free: 13.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.5956, allocations: 11.44 kB / 0.7714 GB, free: 13.08 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5956, allocations: 0 / 0.7714 GB, free: 13.08 MB / 490.7 MB Notification: Performance of Templates: time 0.002605/0.5982, allocations: 0.7309 MB / 0.7721 GB, free: 12.38 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)