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.001533/0.001533, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.755/1.755, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.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.847/1.847, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001562/0.001563, allocations: 70.34 kB / 0.6715 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3328, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.002795/0.3357, allocations: 0.7052 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.3368, allocations: 0.8048 MB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.3368, allocations: 0 / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/0.3369, allocations: 4 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.726e-05/0.337, allocations: 11.86 kB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.92e-05/0.3371, allocations: 7.984 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.575e-05/0.3372, allocations: 47.86 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3373, allocations: 11.98 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.788e-05/0.3374, allocations: 19.92 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.3375, allocations: 19.92 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.3375, allocations: 4 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.3375, allocations: 0 / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.3375, allocations: 11.98 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.3376, allocations: 19.88 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.444e-05/0.3377, allocations: 43.84 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3377, allocations: 0 / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.856e-06/0.3377, allocations: 8 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.3377, allocations: 0 / 0.7851 GB, free: 11.75 MB / 0.6075 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.000635/0.3383, allocations: 355.7 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3384, allocations: 8.031 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.3384, allocations: 12.78 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3386, allocations: 168.2 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.3386, allocations: 4.375 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.3386, allocations: 12.36 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.3389, allocations: 66.22 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3389, allocations: 192 / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3389, allocations: 7.922 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.339, allocations: 4 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.3392, allocations: 63.92 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.3397, allocations: 264.9 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.3399, allocations: 58.48 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.34, allocations: 40.91 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.3401, allocations: 0 / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3401, allocations: 38.56 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3401, allocations: 0 / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005328/0.3406, allocations: 129.5 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.3407, allocations: 51.41 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.014e-05/0.3408, allocations: 105.8 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.3408, allocations: 25.7 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.3409, allocations: 96.03 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.3409, allocations: 7.844 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.3409, allocations: 21.66 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3411, allocations: 314.8 kB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.3412, allocations: 35.97 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.3414, allocations: 27.97 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.3416, allocations: 68.78 kB / 0.787 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3417, allocations: 7.938 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003232/0.342, allocations: 97.56 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.342, allocations: 4 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.342, allocations: 0 / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.342, allocations: 3.984 kB / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3422, allocations: 15.98 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3422, allocations: 0 / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/0.3423, allocations: 19.89 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.3423, allocations: 4 kB / 0.7871 GB, free: 9.426 MB / 0.6075 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 8.359e-05/0.3424, allocations: 114.4 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.3424, allocations: 4 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.3424, allocations: 11.89 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3425, allocations: 0 / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3425, allocations: 0 / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3425, allocations: 0 / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.3426, allocations: 177.5 kB / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3426, allocations: 0 / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.3428, allocations: 23.92 kB / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3428, allocations: 0 / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3428, allocations: 3.984 kB / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3428, allocations: 0 / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3428, allocations: 0 / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.3432, allocations: 203.6 kB / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.3432, allocations: 77.11 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.3432, allocations: 0 / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3434, allocations: 19.97 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.3434, allocations: 0 / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.3434, allocations: 4 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.807e-05/0.3435, allocations: 91.27 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3435, allocations: 0 / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002181/0.3437, allocations: 8 kB / 0.7878 GB, free: 8.605 MB / 0.6075 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.0002567/0.344, allocations: 99.19 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003427/0.3443, allocations: 71.86 kB / 0.788 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3443, allocations: 4 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.3445, allocations: 35.97 kB / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.3448, allocations: 16.8 kB / 0.788 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.3452, allocations: 129.4 kB / 0.7881 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3454, allocations: 0.6846 MB / 0.7888 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.361e-05/0.3455, allocations: 3.984 kB / 0.7888 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.3455, allocations: 11.38 kB / 0.7888 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.3455, allocations: 4 kB / 0.7888 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of Templates: time 0.002937/0.3484, allocations: 0.6698 MB / 0.7895 GB, free: 6.828 MB / 0.6075 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)