Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 104.2 kB / 16.27 MB, free: 5.949 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.001162/0.001162, allocations: 187.5 kB / 17.19 MB, free: 5.59 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.52/1.52, 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.781/1.781, allocations: 292.3 MB / 0.5495 GB, free: 17.63 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.00144/0.00144, allocations: 79.12 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2769, allocations: 114.6 MB / 0.784 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.002132/0.2791, allocations: 0.7025 MB / 0.7847 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009588/0.28, allocations: 0.8048 MB / 0.7855 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.422e-05/0.2801, allocations: 0 / 0.7855 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.2801, allocations: 7.922 kB / 0.7855 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.127e-05/0.2802, allocations: 3.938 kB / 0.7855 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.787e-05/0.2803, allocations: 7.984 kB / 0.7855 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.625e-05/0.2804, allocations: 43.92 kB / 0.7856 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.2805, allocations: 11.98 kB / 0.7856 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.387e-05/0.2806, allocations: 27.86 kB / 0.7856 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.558e-05/0.2806, allocations: 19.91 kB / 0.7856 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.2807, allocations: 4 kB / 0.7856 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.2807, allocations: 4 kB / 0.7856 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.2807, allocations: 7.984 kB / 0.7857 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.2808, allocations: 19.88 kB / 0.7857 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.191e-05/0.2809, allocations: 39.88 kB / 0.7857 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2809, allocations: 0 / 0.7857 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2809, allocations: 4 kB / 0.7857 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2809, allocations: 0 / 0.7857 GB, free: 2.102 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005297/0.2814, allocations: 359.7 kB / 0.7861 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2815, allocations: 8.031 kB / 0.7861 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.2815, allocations: 8.844 kB / 0.7861 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.2817, allocations: 164.3 kB / 0.7862 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2817, allocations: 8.375 kB / 0.7862 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.2817, allocations: 384 / 0.7862 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.282, allocations: 78.14 kB / 0.7863 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.282, allocations: 4.188 kB / 0.7863 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.282, allocations: 3.938 kB / 0.7863 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.282, allocations: 3.938 kB / 0.7863 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.2823, allocations: 59.94 kB / 0.7864 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.2827, allocations: 268.9 kB / 0.7866 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.2829, allocations: 62.47 kB / 0.7867 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.283, allocations: 40.86 kB / 0.7867 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.2831, allocations: 7.938 kB / 0.7867 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.2831, allocations: 38.55 kB / 0.7868 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2831, allocations: 0 / 0.7868 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005277/0.2836, allocations: 129.6 kB / 0.7869 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.2837, allocations: 51.41 kB / 0.787 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.992e-05/0.2838, allocations: 109.8 kB / 0.7871 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.2838, allocations: 25.7 kB / 0.7871 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.2839, allocations: 88.05 kB / 0.7872 GB, free: 420 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.2839, allocations: 7.891 kB / 0.7872 GB, free: 412 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.2839, allocations: 17.72 kB / 0.7872 GB, free: 388 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2841, allocations: 318.8 kB / 0.7875 GB, free: 60 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.2842, allocations: 35.95 kB / 0.7875 GB, free: 24 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4317/0.716, allocations: 27.7 kB / 0.7876 GB, free: 49.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.7163, allocations: 65.28 kB / 0.7876 GB, free: 49.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.7163, allocations: 3.75 kB / 0.7876 GB, free: 49.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003538/0.7167, allocations: 97.55 kB / 0.7877 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.7167, allocations: 8.125 kB / 0.7877 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.7167, allocations: 0 / 0.7877 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.7168, allocations: 0 / 0.7877 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.7169, allocations: 19.84 kB / 0.7877 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.7169, allocations: 3.656 kB / 0.7877 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.867e-05/0.717, allocations: 10.42 kB / 0.7878 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.717, allocations: 2.75 kB / 0.7878 GB, free: 49.22 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 (3): * Single equations (assignments): 3 * 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 5.921e-05/0.7171, allocations: 109.7 kB / 0.7879 GB, free: 49.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.7171, allocations: 5.781 kB / 0.7879 GB, free: 49.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.7171, allocations: 14.73 kB / 0.7879 GB, free: 49.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7172, allocations: 4.562 kB / 0.7879 GB, free: 49.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7172, allocations: 1.938 kB / 0.7879 GB, free: 49.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.7172, allocations: 0 / 0.7879 GB, free: 49.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.7173, allocations: 172.8 kB / 0.788 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7173, allocations: 0 / 0.788 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.849e-05/0.7174, allocations: 18.58 kB / 0.7881 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7174, allocations: 3.141 kB / 0.7881 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.7174, allocations: 0.625 kB / 0.7881 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7174, allocations: 0 / 0.7881 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7175, allocations: 1.531 kB / 0.7881 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.7178, allocations: 202.7 kB / 0.7883 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.7178, allocations: 80.45 kB / 0.7883 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.7178, allocations: 0 / 0.7883 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.7179, allocations: 15.06 kB / 0.7884 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.718, allocations: 3.234 kB / 0.7884 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.718, allocations: 2.844 kB / 0.7884 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.263e-05/0.718, allocations: 91.27 kB / 0.7884 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.718, allocations: 2.688 kB / 0.7885 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002122/0.7182, allocations: 13.94 kB / 0.7885 GB, free: 48.61 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0001123/0.7184, allocations: 98.38 kB / 0.7886 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.7187, allocations: 69.92 kB / 0.7886 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.7187, allocations: 0 / 0.7886 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.7189, allocations: 36.97 kB / 0.7887 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.7192, allocations: 9.609 kB / 0.7887 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.7195, allocations: 142.3 kB / 0.7888 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.7196, allocations: 0.6839 MB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.7197, allocations: 11.25 kB / 0.7895 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.7197, allocations: 1.969 kB / 0.7895 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of Templates: time 0.00196/0.7216, allocations: 0.7424 MB / 0.7902 GB, free: 47.69 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)