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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009102/0.0009103, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00762/0.00762, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.839/1.839, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.862/1.862, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0007975/0.0007979, allocations: 20.25 kB / 0.6743 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3298, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003932/0.3338, allocations: 3.119 MB / 0.7909 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004374/0.3382, allocations: 2.042 MB / 0.7929 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009312/0.3392, allocations: 19.94 kB / 0.7929 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.3396, allocations: 122.8 kB / 0.7931 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006457/0.3403, allocations: 115.1 kB / 0.7932 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.3414, allocations: 430.6 kB / 0.7936 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001247/0.3426, allocations: 1.123 MB / 0.7947 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008437/0.3435, allocations: 0.5403 MB / 0.7952 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/0.3439, allocations: 294.2 kB / 0.7955 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003897/0.3443, allocations: 345.6 kB / 0.7958 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.314e-05/0.3444, allocations: 35.94 kB / 0.7959 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.3446, allocations: 43.92 kB / 0.7959 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.3448, allocations: 143.1 kB / 0.796 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003492/0.3451, allocations: 414.9 kB / 0.7964 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.3464, allocations: 1.277 MB / 0.7977 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3464, allocations: 0 / 0.7977 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3464, allocations: 0 / 0.7977 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.3464, allocations: 0 / 0.7977 GB, free: 1.469 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002494/0.3489, allocations: 1.258 MB / 0.7989 GB, free: 156 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/0.349, allocations: 12.03 kB / 0.7989 GB, free: 144 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.3492, allocations: 119.5 kB / 0.799 GB, free: 24 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.3502, allocations: 0.6499 MB / 0.7997 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.427e-05/0.3503, allocations: 62.38 kB / 0.7997 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.3505, allocations: 88.38 kB / 0.7998 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.3521, allocations: 0.8367 MB / 0.8006 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.3521, allocations: 7.938 kB / 0.8006 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.379e-05/0.3522, allocations: 32 kB / 0.8007 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.3522, allocations: 20 kB / 0.8007 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.3536, allocations: 0.6519 MB / 0.8013 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004186/0.3578, allocations: 2.851 MB / 0.8041 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.3593, allocations: 0.7131 MB / 0.8048 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007388/0.36, allocations: 365.7 kB / 0.8052 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-05/0.3601, allocations: 8.562 kB / 0.8052 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007032/0.3608, allocations: 343.7 kB / 0.8055 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 2.736e-06/0.3608, allocations: 3.938 kB / 0.8055 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.002105/0.3629, allocations: 0.8221 MB / 0.8063 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.3631, allocations: 192.5 kB / 0.8065 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009863/0.3641, allocations: 0.7117 MB / 0.8072 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.704e-05/0.3642, allocations: 41.7 kB / 0.8072 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/0.3646, allocations: 451.7 kB / 0.8076 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.3648, allocations: 201.1 kB / 0.8078 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.365, allocations: 61.69 kB / 0.8079 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3652, allocations: 341.9 kB / 0.8082 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007527/0.3659, allocations: 277.5 kB / 0.8085 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009229/0.3669, allocations: 464.8 kB / 0.8089 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.3684, allocations: 0.6651 MB / 0.8096 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.3684, allocations: 4 kB / 0.8096 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001661/0.3701, allocations: 0.8529 MB / 0.8104 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001781/0.3703, allocations: 207.4 kB / 0.8106 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3704, allocations: 4 kB / 0.8106 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.3705, allocations: 8.094 kB / 0.8106 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/0.3711, allocations: 159.7 kB / 0.8108 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.3711, allocations: 7.984 kB / 0.8108 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007614/0.3718, allocations: 171.1 kB / 0.8109 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/0.3719, allocations: 28 kB / 0.811 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.3719, allocations: 4 kB / 0.811 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001141/0.3731, allocations: 0.61 MB / 0.8116 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3731, allocations: 4 kB / 0.8116 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.3731, allocations: 4 kB / 0.8116 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.3735, allocations: 123.8 kB / 0.8117 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3735, allocations: 4 kB / 0.8117 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005815/0.3741, allocations: 131.4 kB / 0.8118 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.3742, allocations: 27.98 kB / 0.8119 GB, free: 2.43 MB / 0.6231 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.0007504/0.375, allocations: 296.9 kB / 0.8121 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.3751, allocations: 90.91 kB / 0.8122 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.3753, allocations: 88.02 kB / 0.8123 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.3753, allocations: 8 kB / 0.8123 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.3753, allocations: 0 / 0.8123 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.3754, allocations: 3.984 kB / 0.8123 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.3765, allocations: 0.7629 MB / 0.8131 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3765, allocations: 3.938 kB / 0.8131 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005165/0.3771, allocations: 135.7 kB / 0.8132 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.3771, allocations: 0 / 0.8132 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.3771, allocations: 12 kB / 0.8132 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.3771, allocations: 4 kB / 0.8132 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3771, allocations: 4 kB / 0.8132 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.379, allocations: 0.9448 MB / 0.8141 GB, free: 4 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.3792, allocations: 167.9 kB / 0.8143 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.392e-05/0.3793, allocations: 12 kB / 0.8143 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.3796, allocations: 67.89 kB / 0.8144 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/0.3797, allocations: 32.52 kB / 0.8144 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.3798, allocations: 16 kB / 0.8144 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006685/0.3804, allocations: 0.4912 MB / 0.8149 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.3805, allocations: 0 / 0.8149 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008636/0.3813, allocations: 318.7 kB / 0.8152 GB, free: 14.89 MB / 0.6387 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.0002701/0.3816, allocations: 119.2 kB / 0.8153 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002504/0.3841, allocations: 1.077 MB / 0.8164 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.3841, allocations: 4.062 kB / 0.8164 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006275/0.3848, allocations: 295.1 kB / 0.8167 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009337/0.3857, allocations: 167.1 kB / 0.8168 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.3891, allocations: 1.819 MB / 0.8186 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.3902, allocations: 0.9821 MB / 0.8195 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005231/0.3907, allocations: 105.8 kB / 0.8197 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.3909, allocations: 59.42 kB / 0.8197 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.183e-06/0.3909, allocations: 0 / 0.8197 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.02031/0.4113, allocations: 8.749 MB / 0.8283 GB, free: 1.543 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: