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.001208/0.001208, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001291/0.001291, allocations: 187.3 kB / 16.25 MB, free: 6.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.743/1.743, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.845/1.845, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001412/0.001412, allocations: 73.22 kB / 0.671 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.337, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.00665/0.3437, allocations: 3.588 MB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005121/0.3489, allocations: 2.034 MB / 0.7884 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.3503, allocations: 19.94 kB / 0.7884 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006411/0.3509, allocations: 122.8 kB / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.3521, allocations: 115.2 kB / 0.7886 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.3538, allocations: 428.7 kB / 0.789 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002025/0.3559, allocations: 1.233 MB / 0.7902 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.3571, allocations: 0.5715 MB / 0.7908 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008061/0.3579, allocations: 442.2 kB / 0.7912 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006666/0.3586, allocations: 473.5 kB / 0.7916 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000246/0.3588, allocations: 124 kB / 0.7918 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002963/0.3591, allocations: 155.9 kB / 0.7919 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.3594, allocations: 251.1 kB / 0.7922 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005854/0.36, allocations: 0.505 MB / 0.7926 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.3619, allocations: 1.382 MB / 0.794 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.986e-06/0.3619, allocations: 0 / 0.794 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.607e-06/0.3619, allocations: 0 / 0.794 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.194e-05/0.362, allocations: 0 / 0.794 GB, free: 2.434 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.003295/0.3653, allocations: 1.406 MB / 0.7954 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3653, allocations: 8.031 kB / 0.7954 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.3656, allocations: 123.5 kB / 0.7955 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009327/0.3665, allocations: 0.646 MB / 0.7961 GB, free: 152 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.3666, allocations: 66.38 kB / 0.7962 GB, free: 84 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.3667, allocations: 88.41 kB / 0.7963 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.3682, allocations: 0.8133 MB / 0.7971 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.3682, allocations: 192 / 0.7971 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.481e-05/0.3683, allocations: 43.92 kB / 0.7971 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.3683, allocations: 20 kB / 0.7971 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.3696, allocations: 0.5973 MB / 0.7977 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004405/0.374, allocations: 2.828 MB / 0.8005 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.3754, allocations: 0.6547 MB / 0.8011 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006037/0.376, allocations: 337.7 kB / 0.8014 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.3761, allocations: 12.48 kB / 0.8014 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007817/0.3768, allocations: 323.5 kB / 0.8018 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 4.218e-06/0.3769, allocations: 0 / 0.8018 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.001932/0.3788, allocations: 0.7635 MB / 0.8025 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.379, allocations: 192.5 kB / 0.8027 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.38, allocations: 0.7117 MB / 0.8034 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.815e-05/0.3801, allocations: 37.7 kB / 0.8034 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.3805, allocations: 455.7 kB / 0.8039 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.3807, allocations: 197.1 kB / 0.804 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.3809, allocations: 134.2 kB / 0.8042 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3811, allocations: 334 kB / 0.8045 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/0.3817, allocations: 271.6 kB / 0.8047 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006992/0.3824, allocations: 443.6 kB / 0.8052 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.3836, allocations: 0.63 MB / 0.8058 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.3836, allocations: 0 / 0.8058 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001633/0.3852, allocations: 0.8136 MB / 0.8066 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.3853, allocations: 36.36 kB / 0.8066 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3853, allocations: 7.984 kB / 0.8066 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/0.3854, allocations: 4 kB / 0.8066 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005891/0.386, allocations: 152 kB / 0.8068 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.386, allocations: 8 kB / 0.8068 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006416/0.3866, allocations: 127.1 kB / 0.8069 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.3867, allocations: 31.98 kB / 0.8069 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006189/0.3873, allocations: 366.3 kB / 0.8073 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004878/0.3878, allocations: 392.8 kB / 0.8077 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007442/0.3886, allocations: 0.5051 MB / 0.8081 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5e-06/0.3886, allocations: 4 kB / 0.8081 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001165/0.3898, allocations: 0.6964 MB / 0.8088 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.515e-05/0.3898, allocations: 37.7 kB / 0.8089 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3898, allocations: 4 kB / 0.8089 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.3899, allocations: 4 kB / 0.8089 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.3903, allocations: 119.8 kB / 0.809 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.3903, allocations: 11.92 kB / 0.809 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.3909, allocations: 112 kB / 0.8091 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.3909, allocations: 27.94 kB / 0.8091 GB, free: 2.332 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.0002491/0.3912, allocations: 216.1 kB / 0.8093 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.3913, allocations: 86.91 kB / 0.8094 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.3915, allocations: 88.02 kB / 0.8095 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3915, allocations: 8 kB / 0.8095 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.3915, allocations: 4 kB / 0.8095 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3915, allocations: 3.984 kB / 0.8095 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009272/0.3925, allocations: 0.7667 MB / 0.8103 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3925, allocations: 0 / 0.8103 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005202/0.393, allocations: 115.8 kB / 0.8104 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.393, allocations: 4 kB / 0.8104 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.3931, allocations: 12 kB / 0.8104 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.3931, allocations: 3.984 kB / 0.8104 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3931, allocations: 4 kB / 0.8104 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.3948, allocations: 0.8938 MB / 0.8113 GB, free: 48 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.395, allocations: 164 kB / 0.8114 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/0.3951, allocations: 12 kB / 0.8114 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.3954, allocations: 43.95 kB / 0.8115 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.632e-05/0.3955, allocations: 32.52 kB / 0.8115 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.3955, allocations: 23.98 kB / 0.8115 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006166/0.3961, allocations: 495 kB / 0.812 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.553e-06/0.3961, allocations: 0 / 0.812 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008985/0.397, allocations: 318.7 kB / 0.8123 GB, free: 14.96 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.0002476/0.3973, allocations: 119.2 kB / 0.8124 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002089/0.3994, allocations: 1.065 MB / 0.8135 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.3994, allocations: 4.125 kB / 0.8135 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005076/0.3999, allocations: 271.1 kB / 0.8137 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008745/0.4008, allocations: 190.9 kB / 0.8139 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.4035, allocations: 1.783 MB / 0.8157 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/0.4042, allocations: 0.978 MB / 0.8166 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000445/0.4046, allocations: 101.9 kB / 0.8167 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.4048, allocations: 63.42 kB / 0.8168 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of SimCode: time 6.21e-07/0.4048, allocations: 0 / 0.8168 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of Templates: time 0.01748/0.4223, allocations: 9.214 MB / 0.8258 GB, free: 1.207 MB / 0.6387 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)