Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 252 MB / 268 MB, free: 10.84 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.001089/0.001089, allocations: 171.4 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.0007136/0.0007137, allocations: 87.67 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003156, allocations: 12.12 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1846, allocations: 106.3 MB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001318/0.1859, allocations: 1.149 MB / 0.9026 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003583/0.1863, allocations: 216.2 kB / 0.9028 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.1864, allocations: 0 / 0.9028 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.1864, allocations: 3.938 kB / 0.9028 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.1866, allocations: 7.938 kB / 0.9028 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.276e-05/0.1867, allocations: 23.97 kB / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.66e-05/0.1868, allocations: 43.84 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.904e-05/0.1869, allocations: 12 kB / 0.9029 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.355e-05/0.1869, allocations: 19.86 kB / 0.9029 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.37e-05/0.187, allocations: 19.92 kB / 0.9029 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.187, allocations: 0 / 0.9029 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.187, allocations: 4 kB / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.187, allocations: 7.922 kB / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.1871, allocations: 45.62 kB / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.892e-05/0.1871, allocations: 35.92 kB / 0.903 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1871, allocations: 0 / 0.903 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1871, allocations: 0 / 0.903 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.1872, allocations: 3.938 kB / 0.903 GB, free: 61.87 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003974/0.1876, allocations: 359.6 kB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1876, allocations: 16.03 kB / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.514e-05/0.1876, allocations: 4.875 kB / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.867e-05/0.1877, allocations: 176.3 kB / 0.9035 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1877, allocations: 4.375 kB / 0.9036 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.1878, allocations: 384 / 0.9036 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.1879, allocations: 66.17 kB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.188, allocations: 192 / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.188, allocations: 7.938 kB / 0.9036 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.188, allocations: 4 kB / 0.9036 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.1882, allocations: 51.95 kB / 0.9037 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.1885, allocations: 288.8 kB / 0.904 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.1888, allocations: 74.48 kB / 0.904 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.164e-05/0.1889, allocations: 32.83 kB / 0.9041 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.1889, allocations: 7.984 kB / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.228e-05/0.1889, allocations: 38.56 kB / 0.9041 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1889, allocations: 0 / 0.9041 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003343/0.1893, allocations: 117.6 kB / 0.9042 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.1893, allocations: 51.41 kB / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.921e-05/0.1893, allocations: 113.8 kB / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.1894, allocations: 25.7 kB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.567e-05/0.1894, allocations: 88.12 kB / 0.9045 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.1894, allocations: 15.81 kB / 0.9045 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.1894, allocations: 0 / 0.9045 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.904e-05/0.1895, allocations: 318.8 kB / 0.9048 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.888e-05/0.1896, allocations: 31.98 kB / 0.9048 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.876e-05/0.1897, allocations: 23.98 kB / 0.9048 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.1898, allocations: 69.19 kB / 0.9049 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1898, allocations: 3.938 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001992/0.1901, allocations: 105.5 kB / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1901, allocations: 8 kB / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1901, allocations: 3.938 kB / 0.905 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1901, allocations: 0 / 0.905 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.1902, allocations: 15.98 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1902, allocations: 0 / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.867e-05/0.1903, allocations: 15.98 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.1903, allocations: 3.938 kB / 0.9051 GB, free: 59.55 MB / 0.6042 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.59e-05/0.1903, allocations: 117.8 kB / 0.9052 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.1904, allocations: 0 / 0.9052 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.1906, allocations: 109.4 kB / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1906, allocations: 0 / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1906, allocations: 4 kB / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1906, allocations: 0 / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.1907, allocations: 173.6 kB / 0.9055 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1908, allocations: 0 / 0.9055 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.521e-05/0.1908, allocations: 11.98 kB / 0.9055 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1909, allocations: 4.234 kB / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1909, allocations: 0 / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1909, allocations: 0 / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1909, allocations: 0 / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.1912, allocations: 227.4 kB / 0.9057 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.1912, allocations: 93.23 kB / 0.9058 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.1912, allocations: 7.984 kB / 0.9058 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.1913, allocations: 4 kB / 0.9058 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.1914, allocations: 11.92 kB / 0.9058 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.1914, allocations: 0 / 0.9058 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.585e-05/0.1914, allocations: 87.28 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1914, allocations: 0 / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001938/0.1916, allocations: 8 kB / 0.9059 GB, free: 58.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.972e-05/0.1917, allocations: 107.2 kB / 0.906 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.1919, allocations: 63.95 kB / 0.9061 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.192, allocations: 0 / 0.9061 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.791e-05/0.192, allocations: 35.92 kB / 0.9061 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.1923, allocations: 12.22 kB / 0.9061 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.1926, allocations: 194.2 kB / 0.9063 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.1927, allocations: 0.6926 MB / 0.907 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.1928, allocations: 11.44 kB / 0.907 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.1928, allocations: 0 / 0.907 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of Templates: time 0.001685/0.1945, allocations: 0.7931 MB / 0.9077 GB, free: 56.64 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)