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.001181/0.001181, allocations: 103.3 kB / 16.27 MB, free: 5.98 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.001285/0.001285, allocations: 188.9 kB / 17.19 MB, free: 5.605 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.381/1.381, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.749/1.749, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.001486/0.001486, allocations: 67.89 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2258, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.003072/0.2289, allocations: 1.392 MB / 0.7854 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005069/0.2295, allocations: 220.2 kB / 0.7856 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.2296, allocations: 4 kB / 0.7856 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.2296, allocations: 3.938 kB / 0.7856 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.2298, allocations: 11.91 kB / 0.7856 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001066/0.2299, allocations: 19.92 kB / 0.7857 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.2301, allocations: 47.91 kB / 0.7857 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.2302, allocations: 15.94 kB / 0.7857 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.339e-05/0.2302, allocations: 19.92 kB / 0.7857 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.869e-05/0.2303, allocations: 27.86 kB / 0.7858 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.2303, allocations: 7.984 kB / 0.7858 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.392e-05/0.2304, allocations: 4 kB / 0.7858 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.2304, allocations: 7.984 kB / 0.7858 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.2304, allocations: 23.86 kB / 0.7858 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.2305, allocations: 39.88 kB / 0.7858 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2306, allocations: 0 / 0.7858 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2306, allocations: 0 / 0.7858 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.974e-06/0.2306, allocations: 4 kB / 0.7859 GB, free: 1.961 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.0005477/0.2311, allocations: 363.6 kB / 0.7862 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2312, allocations: 12.03 kB / 0.7862 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.2312, allocations: 4.922 kB / 0.7862 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.2314, allocations: 184.1 kB / 0.7864 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.2314, allocations: 4.375 kB / 0.7864 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.2315, allocations: 4.375 kB / 0.7864 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.2317, allocations: 62.22 kB / 0.7865 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2317, allocations: 4.125 kB / 0.7865 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.2317, allocations: 7.938 kB / 0.7865 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.2317, allocations: 7.938 kB / 0.7865 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.2319, allocations: 39.95 kB / 0.7865 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.2324, allocations: 273 kB / 0.7868 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.2327, allocations: 70.53 kB / 0.7868 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.2328, allocations: 32.78 kB / 0.7869 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.2328, allocations: 0 / 0.7869 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.2329, allocations: 34.56 kB / 0.7869 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.2329, allocations: 0 / 0.7869 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0003845/0.2333, allocations: 105.5 kB / 0.787 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.2333, allocations: 51.41 kB / 0.7871 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.48e-05/0.2334, allocations: 113.8 kB / 0.7872 GB, free: 432 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.2334, allocations: 25.7 kB / 0.7872 GB, free: 400 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.2335, allocations: 88.14 kB / 0.7873 GB, free: 308 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.2335, allocations: 19.67 kB / 0.7873 GB, free: 288 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.2336, allocations: 21.72 kB / 0.7873 GB, free: 260 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.4249/0.6585, allocations: 310.8 kB / 0.7876 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.6587, allocations: 26.5 kB / 0.7876 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.765e-05/0.6588, allocations: 22.58 kB / 0.7877 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.659, allocations: 55.03 kB / 0.7877 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.659, allocations: 3.75 kB / 0.7877 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002685/0.6593, allocations: 95.94 kB / 0.7878 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.6593, allocations: 5.781 kB / 0.7878 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6594, allocations: 0 / 0.7878 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.6594, allocations: 0.6562 kB / 0.7878 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.6595, allocations: 15 kB / 0.7878 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.6595, allocations: 0 / 0.7878 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.19e-05/0.6596, allocations: 8.641 kB / 0.7878 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.6596, allocations: 2.719 kB / 0.7878 GB, free: 48.44 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 6.815e-05/0.6597, allocations: 115.8 kB / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.6597, allocations: 6.594 kB / 0.788 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.66, allocations: 95.47 kB / 0.788 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.66, allocations: 0 / 0.788 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.66, allocations: 4.781 kB / 0.788 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.66, allocations: 0 / 0.788 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.6602, allocations: 174.9 kB / 0.7882 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6602, allocations: 0 / 0.7882 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.265e-05/0.6603, allocations: 11.38 kB / 0.7882 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.6603, allocations: 0 / 0.7882 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.6603, allocations: 9.406 kB / 0.7882 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.6603, allocations: 3.188 kB / 0.7882 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6603, allocations: 5.109 kB / 0.7882 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.6607, allocations: 202.6 kB / 0.7884 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.6607, allocations: 82.36 kB / 0.7885 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.6607, allocations: 3.5 kB / 0.7885 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.6608, allocations: 9.188 kB / 0.7885 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.6608, allocations: 3.938 kB / 0.7885 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.6609, allocations: 2.844 kB / 0.7885 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.697e-05/0.6609, allocations: 86.69 kB / 0.7886 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6609, allocations: 1.688 kB / 0.7886 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002126/0.6611, allocations: 10.94 kB / 0.7886 GB, free: 47.79 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 0.0001048/0.6612, allocations: 102.2 kB / 0.7887 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.6615, allocations: 56.17 kB / 0.7888 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6615, allocations: 3.984 kB / 0.7888 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.953e-05/0.6616, allocations: 33.78 kB / 0.7888 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.6619, allocations: 8.094 kB / 0.7888 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.6623, allocations: 173.4 kB / 0.789 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.6624, allocations: 0.6882 MB / 0.7897 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.6624, allocations: 7.438 kB / 0.7897 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.6624, allocations: 2.875 kB / 0.7897 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of Templates: time 0.002208/0.6646, allocations: 0.7984 MB / 0.7904 GB, free: 46.86 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 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)