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.7675/0.7675, allocations: 133.7 MB / 148.6 MB, free: 13.66 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.001205/0.001205, allocations: 178.5 kB / 180.9 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.64/1.64, allocations: 170.7 MB / 383.7 MB, free: 16.14 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.001729/0.001729, allocations: 113.5 kB / 454.6 MB, free: 9.715 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.1819/0.1824, allocations: 73.4 MB / 0.6812 GB, free: 5.535 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4957/0.6782, allocations: 101.9 MB / 0.7807 GB, free: 24.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.6785, allocations: 76.66 kB / 0.7808 GB, free: 24.47 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005245/0.6837, allocations: 1.837 MB / 0.7826 GB, free: 23.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.6838, allocations: 0 / 0.7826 GB, free: 23.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.6838, allocations: 0 / 0.7826 GB, free: 23.32 MB / 490.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.0003707/0.6842, allocations: 361.7 kB / 0.783 GB, free: 22.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.6842, allocations: 8.562 kB / 0.783 GB, free: 22.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.6843, allocations: 1.719 kB / 0.783 GB, free: 22.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.6844, allocations: 166.5 kB / 0.7831 GB, free: 22.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.6845, allocations: 7.938 kB / 0.7831 GB, free: 22.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.6845, allocations: 3.312 kB / 0.7831 GB, free: 22.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.6846, allocations: 41.27 kB / 0.7832 GB, free: 22.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.6847, allocations: 0.75 kB / 0.7832 GB, free: 22.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.6847, allocations: 3.5 kB / 0.7832 GB, free: 22.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.6847, allocations: 4 kB / 0.7832 GB, free: 22.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.423e-05/0.6848, allocations: 20.44 kB / 0.7832 GB, free: 22.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.685, allocations: 156.3 kB / 0.7834 GB, free: 22.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.6851, allocations: 46.95 kB / 0.7834 GB, free: 22.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004878/0.6856, allocations: 0.554 MB / 0.7839 GB, free: 21.76 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.6856, allocations: 39.12 kB / 0.784 GB, free: 21.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.452e-06/0.6856, allocations: 0 / 0.784 GB, free: 21.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.001858/0.6875, allocations: 463.9 kB / 0.7844 GB, free: 21.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.6875, allocations: 55.41 kB / 0.7845 GB, free: 21.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.898e-05/0.6876, allocations: 86.41 kB / 0.7846 GB, free: 21.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.6876, allocations: 25.7 kB / 0.7846 GB, free: 21.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.6877, allocations: 83.58 kB / 0.7847 GB, free: 21.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.6877, allocations: 29.44 kB / 0.7847 GB, free: 21.01 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.6877, allocations: 0 / 0.7847 GB, free: 21.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.339e-05/0.6878, allocations: 319.3 kB / 0.785 GB, free: 20.69 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-05/0.6879, allocations: 18 kB / 0.785 GB, free: 20.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-05/0.6879, allocations: 25.12 kB / 0.785 GB, free: 20.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.551e-05/0.688, allocations: 19.56 kB / 0.7851 GB, free: 20.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.688, allocations: 4 kB / 0.7851 GB, free: 20.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001264/0.6881, allocations: 84.98 kB / 0.7851 GB, free: 20.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.6881, allocations: 4 kB / 0.7851 GB, free: 20.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.6881, allocations: 0 / 0.7851 GB, free: 20.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.6882, allocations: 4.562 kB / 0.7851 GB, free: 20.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.6883, allocations: 13.78 kB / 0.7852 GB, free: 20.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.6883, allocations: 1.5 kB / 0.7852 GB, free: 20.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.522e-05/0.6884, allocations: 8.75 kB / 0.7852 GB, free: 20.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.6884, allocations: 3.688 kB / 0.7852 GB, free: 20.56 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 () * 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 8.132e-05/0.6885, allocations: 110.6 kB / 0.7853 GB, free: 20.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.6885, allocations: 3.812 kB / 0.7853 GB, free: 20.44 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.6887, allocations: 106.7 kB / 0.7854 GB, free: 20.37 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.6887, allocations: 3.984 kB / 0.7854 GB, free: 20.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.6887, allocations: 8.562 kB / 0.7854 GB, free: 20.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6887, allocations: 4.594 kB / 0.7854 GB, free: 20.35 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.6889, allocations: 170.6 kB / 0.7856 GB, free: 20.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6889, allocations: 0 / 0.7856 GB, free: 20.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.689, allocations: 15.52 kB / 0.7856 GB, free: 20.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.689, allocations: 0.7031 kB / 0.7856 GB, free: 20.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.689, allocations: 4 kB / 0.7856 GB, free: 20.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.689, allocations: 0 / 0.7856 GB, free: 20.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.689, allocations: 8.609 kB / 0.7856 GB, free: 20.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.6893, allocations: 130.5 kB / 0.7857 GB, free: 20.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.6893, allocations: 77.72 kB / 0.7858 GB, free: 19.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.6894, allocations: 4.547 kB / 0.7858 GB, free: 19.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.482e-05/0.6894, allocations: 4.359 kB / 0.7858 GB, free: 19.92 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.6894, allocations: 6.156 kB / 0.7858 GB, free: 19.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.6895, allocations: 4.453 kB / 0.7858 GB, free: 19.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.17e-05/0.6895, allocations: 79.34 kB / 0.7859 GB, free: 19.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6895, allocations: 4 kB / 0.7859 GB, free: 19.83 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000249/0.6897, allocations: 37.52 kB / 0.7859 GB, free: 19.8 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 () * 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.0001958/0.69, allocations: 131.1 kB / 0.786 GB, free: 19.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.6901, allocations: 53.22 kB / 0.7861 GB, free: 19.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6901, allocations: 0 / 0.7861 GB, free: 19.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.305e-05/0.6902, allocations: 33.64 kB / 0.7861 GB, free: 19.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.6903, allocations: 3.5 kB / 0.7861 GB, free: 19.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.6906, allocations: 156.9 kB / 0.7863 GB, free: 19.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.6908, allocations: 0.6827 MB / 0.7869 GB, free: 18.76 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.703e-05/0.6909, allocations: 12.89 kB / 0.787 GB, free: 18.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.6909, allocations: 12.05 kB / 0.787 GB, free: 18.73 MB / 490.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6909, allocations: 0 / 0.787 GB, free: 18.73 MB / 490.7 MB Notification: Performance of Templates: time 0.003023/0.694, allocations: 0.7332 MB / 0.7877 GB, free: 18.32 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)