Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.84/1.84, allocations: 292.3 MB / 308.1 MB, free: 4.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002052/0.002052, allocations: 190.4 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.1 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 102.2 kB / 0.748 GB, free: 61.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001076, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2881, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.005278/0.2934, allocations: 3.579 MB / 0.9857 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003563/0.297, allocations: 2.073 MB / 0.9878 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008416/0.2979, allocations: 19.94 kB / 0.9878 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005754/0.2985, allocations: 118.8 kB / 0.9879 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000733/0.2993, allocations: 115.1 kB / 0.988 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.3005, allocations: 431.5 kB / 0.9884 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001421/0.302, allocations: 1.135 MB / 0.9895 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008498/0.3028, allocations: 0.5442 MB / 0.9901 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004269/0.3033, allocations: 370.2 kB / 0.9904 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000435/0.3037, allocations: 441.5 kB / 0.9908 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.3038, allocations: 60 kB / 0.9909 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.304, allocations: 67.98 kB / 0.9909 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.3041, allocations: 195.1 kB / 0.9911 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.3045, allocations: 445.1 kB / 0.9916 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0009988/0.3055, allocations: 1.328 MB / 0.9929 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3055, allocations: 7.922 kB / 0.9929 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3055, allocations: 0 / 0.9929 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.3055, allocations: 0 / 0.9929 GB, free: 15.41 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002296/0.3078, allocations: 1.402 MB / 0.9942 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3079, allocations: 12.03 kB / 0.9942 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.308, allocations: 119.5 kB / 0.9944 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/0.3088, allocations: 0.646 MB / 0.995 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.259e-05/0.3089, allocations: 66.38 kB / 0.9951 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.309, allocations: 92.28 kB / 0.9951 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.3104, allocations: 0.8094 MB / 0.9959 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.3104, allocations: 4.188 kB / 0.9959 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-05/0.3105, allocations: 39.94 kB / 0.996 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.3105, allocations: 20 kB / 0.996 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.3118, allocations: 0.6012 MB / 0.9966 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004066/0.3159, allocations: 2.82 MB / 0.9993 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.3172, allocations: 0.6662 MB / 1 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005799/0.3178, allocations: 333.7 kB / 1 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.3179, allocations: 8.5 kB / 1 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000732/0.3186, allocations: 331.5 kB / 1.001 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=59): time 3.737e-06/0.3186, allocations: 0 / 1.001 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59): time 0.001646/0.3203, allocations: 0.7596 MB / 1.001 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.879e-05/0.3204, allocations: 188.5 kB / 1.002 GB, free: 6.219 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008399/0.3212, allocations: 0.7077 MB / 1.002 GB, free: 5.504 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.833e-05/0.3213, allocations: 41.7 kB / 1.002 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/0.3217, allocations: 459.7 kB / 1.003 GB, free: 5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.3218, allocations: 197.1 kB / 1.003 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.3221, allocations: 142.2 kB / 1.003 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3222, allocations: 330 kB / 1.003 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005789/0.3228, allocations: 267.6 kB / 1.004 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007413/0.3236, allocations: 448.2 kB / 1.004 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.3247, allocations: 0.6222 MB / 1.005 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.3247, allocations: 4 kB / 1.005 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001538/0.3263, allocations: 0.8095 MB / 1.005 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/0.3263, allocations: 46.27 kB / 1.005 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.3264, allocations: 384 / 1.005 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.3264, allocations: 12 kB / 1.005 GB, free: 2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/0.327, allocations: 143.8 kB / 1.006 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-05/0.327, allocations: 8 kB / 1.006 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006428/0.3277, allocations: 139.1 kB / 1.006 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.3277, allocations: 27.98 kB / 1.006 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006095/0.3283, allocations: 365.7 kB / 1.006 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004651/0.3288, allocations: 380.6 kB / 1.007 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006929/0.3295, allocations: 0.5168 MB / 1.007 GB, free: 328 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.3295, allocations: 0 / 1.007 GB, free: 328 kB / 0.7292 GB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.0009773/0.3305, allocations: 0.6964 MB / 1.008 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.3306, allocations: 37.7 kB / 1.008 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.3306, allocations: 0 / 1.008 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-06/0.3306, allocations: 8.375 kB / 1.008 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.331, allocations: 123.8 kB / 1.008 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.331, allocations: 7.938 kB / 1.008 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/0.3315, allocations: 103.5 kB / 1.008 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.3316, allocations: 31.98 kB / 1.008 GB, free: 15.3 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002039/0.3318, allocations: 224.1 kB / 1.008 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.3319, allocations: 82.91 kB / 1.008 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.3321, allocations: 88.02 kB / 1.008 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3321, allocations: 4 kB / 1.008 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.3321, allocations: 0 / 1.008 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-06/0.3321, allocations: 3.984 kB / 1.008 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008863/0.333, allocations: 0.7744 MB / 1.009 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.333, allocations: 0 / 1.009 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.3335, allocations: 115.8 kB / 1.009 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3335, allocations: 8 kB / 1.009 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.3336, allocations: 12.19 kB / 1.009 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3336, allocations: 0 / 1.009 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3336, allocations: 3.938 kB / 1.009 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00761/0.3412, allocations: 4.764 MB / 1.014 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.3414, allocations: 160 kB / 1.014 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.546e-05/0.3415, allocations: 12 kB / 1.014 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.3418, allocations: 47.94 kB / 1.014 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.3419, allocations: 32.52 kB / 1.014 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.3419, allocations: 16 kB / 1.014 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005761/0.3425, allocations: 499 kB / 1.015 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.332e-06/0.3425, allocations: 4 kB / 1.015 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00109/0.3436, allocations: 414.5 kB / 1.015 GB, free: 7.82 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002073/0.3438, allocations: 127.1 kB / 1.015 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001782/0.3456, allocations: 1.038 MB / 1.016 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3456, allocations: 0 / 1.016 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005072/0.3461, allocations: 275.2 kB / 1.016 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008202/0.347, allocations: 161.7 kB / 1.017 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.3496, allocations: 2.124 MB / 1.019 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.3502, allocations: 0.9901 MB / 1.02 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003807/0.3506, allocations: 109.9 kB / 1.02 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.3508, allocations: 67.42 kB / 1.02 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.3508, allocations: 0 / 1.02 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of Templates: time 0.4655/0.8163, allocations: 9.807 MB / 1.029 GB, free: 95.71 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)