Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 102.9 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 195.1 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.692/1.692, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 66.81 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.173, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.002247/0.1753, allocations: 1.416 MB / 0.7862 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003876/0.1757, allocations: 212.2 kB / 0.7864 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.1757, allocations: 0 / 0.7864 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.1758, allocations: 7.938 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.1759, allocations: 15.86 kB / 0.7864 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 8.304e-05/0.176, allocations: 19.98 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.1761, allocations: 51.84 kB / 0.7865 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.301e-05/0.1762, allocations: 11.98 kB / 0.7865 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.888e-05/0.1763, allocations: 19.92 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.942e-05/0.1763, allocations: 27.86 kB / 0.7865 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1764, allocations: 4 kB / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.1764, allocations: 8 kB / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.1764, allocations: 7.984 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.1764, allocations: 19.86 kB / 0.7866 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.039e-05/0.1765, allocations: 43.86 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1765, allocations: 0 / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1765, allocations: 0 / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.1766, allocations: 0 / 0.7866 GB, free: 1.309 MB / 0.6544 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.0004386/0.177, allocations: 363.3 kB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.177, allocations: 11.97 kB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.1771, allocations: 12.94 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.1772, allocations: 176.2 kB / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.1772, allocations: 384 / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.1772, allocations: 12.31 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1774, allocations: 58.22 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.1774, allocations: 192 / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1774, allocations: 7.938 kB / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1775, allocations: 0 / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.1776, allocations: 43.95 kB / 0.7873 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.178, allocations: 281 kB / 0.7875 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.1783, allocations: 70.42 kB / 0.7876 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.697e-05/0.1784, allocations: 32.84 kB / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.1784, allocations: 0 / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.1784, allocations: 30.56 kB / 0.7877 GB, free: 68 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.973e-06/0.1784, allocations: 3.984 kB / 0.7877 GB, free: 64 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.3064/0.4848, allocations: 103.6 kB / 0.7878 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.4849, allocations: 55 kB / 0.7878 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.306e-05/0.4849, allocations: 109.8 kB / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.485, allocations: 28.95 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.485, allocations: 85.14 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.485, allocations: 17.42 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.4851, allocations: 18.12 kB / 0.7881 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.783e-05/0.4851, allocations: 319.6 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.96e-05/0.4852, allocations: 26.5 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.682e-05/0.4853, allocations: 22.5 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.4854, allocations: 54 kB / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4855, allocations: 1.5 kB / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002087/0.4857, allocations: 93.19 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.4857, allocations: 5.844 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4857, allocations: 0.8438 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4857, allocations: 3.75 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.332e-05/0.4858, allocations: 16.56 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.4858, allocations: 0.5625 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.4859, allocations: 8.984 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.4859, allocations: 2.438 kB / 0.7886 GB, free: 48.28 MB / 0.6544 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.513e-05/0.486, allocations: 113.4 kB / 0.7887 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.486, allocations: 5.281 kB / 0.7887 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.4862, allocations: 95.78 kB / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.4862, allocations: 4.453 kB / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.4862, allocations: 0 / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.4863, allocations: 0 / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.4864, allocations: 172 kB / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4864, allocations: 0.6562 kB / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.301e-05/0.4865, allocations: 10.8 kB / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4865, allocations: 3.875 kB / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.4865, allocations: 5.188 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4865, allocations: 1.938 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4865, allocations: 0 / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.4868, allocations: 208.9 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.4869, allocations: 81 kB / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.4869, allocations: 8.375 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.704e-05/0.487, allocations: 6.688 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.487, allocations: 3.875 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.487, allocations: 7.875 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.503e-05/0.487, allocations: 92.27 kB / 0.7894 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4871, allocations: 0 / 0.7894 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000219/0.4873, allocations: 11.91 kB / 0.7894 GB, free: 47.62 MB / 0.6544 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 7.465e-05/0.4874, allocations: 104.7 kB / 0.7895 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.4876, allocations: 58.28 kB / 0.7895 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.4876, allocations: 0 / 0.7895 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.382e-05/0.4877, allocations: 26.8 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.488, allocations: 6.188 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.4882, allocations: 144.1 kB / 0.7897 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.359e-05/0.4883, allocations: 0.6846 MB / 0.7904 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.368e-05/0.4884, allocations: 4.344 kB / 0.7904 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/0.4884, allocations: 11.31 kB / 0.7904 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.4884, allocations: 0 / 0.7904 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.002374/0.4908, allocations: 0.6172 MB / 0.791 GB, free: 46.73 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)