Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001213/0.001212, allocations: 195.1 kB / 16.14 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.92/2.92, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.86 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3622, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.004879/0.3671, allocations: 3.606 MB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003642/0.3708, allocations: 2.093 MB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005239/0.3714, allocations: 23.94 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004635/0.3719, allocations: 126.8 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.3723, allocations: 91.28 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.3734, allocations: 451 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001123/0.3746, allocations: 1.139 MB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008397/0.3754, allocations: 0.5836 MB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004805/0.3759, allocations: 370.2 kB / 1.076 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004065/0.3763, allocations: 441.5 kB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.3764, allocations: 60 kB / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.3766, allocations: 79.92 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.3768, allocations: 183.2 kB / 1.077 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003449/0.3771, allocations: 441.2 kB / 1.077 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.3782, allocations: 1.328 MB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3782, allocations: 0 / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.92e-07/0.3782, allocations: 0 / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.3782, allocations: 4 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002475/0.3807, allocations: 1.368 MB / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3807, allocations: 12.03 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.3809, allocations: 115.6 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007225/0.3817, allocations: 0.5907 MB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.656e-05/0.3817, allocations: 70.38 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.3819, allocations: 92.38 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.3833, allocations: 0.8602 MB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.3833, allocations: 4.125 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.458e-05/0.3834, allocations: 39.94 kB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.3834, allocations: 24 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.3847, allocations: 0.6324 MB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004246/0.389, allocations: 2.995 MB / 1.085 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.3904, allocations: 0.679 MB / 1.086 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006257/0.391, allocations: 386.5 kB / 1.086 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.414e-05/0.3911, allocations: 8.562 kB / 1.086 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006799/0.3918, allocations: 347 kB / 1.086 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=68): time 2.835e-06/0.3918, allocations: 4 kB / 1.086 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68): time 0.00168/0.3935, allocations: 0.822 MB / 1.087 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.3936, allocations: 200.4 kB / 1.087 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007756/0.3944, allocations: 0.6801 MB / 1.088 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.891e-05/0.3945, allocations: 45.7 kB / 1.088 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.3949, allocations: 436.8 kB / 1.088 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.395, allocations: 228.7 kB / 1.089 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.3952, allocations: 142.7 kB / 1.089 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3954, allocations: 337.9 kB / 1.089 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006782/0.3961, allocations: 296.7 kB / 1.089 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000756/0.3968, allocations: 478.2 kB / 1.09 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.398, allocations: 0.6693 MB / 1.09 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.398, allocations: 7.938 kB / 1.09 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001745/0.3998, allocations: 0.8807 MB / 1.091 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.954e-05/0.3999, allocations: 41.69 kB / 1.091 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3999, allocations: 4 kB / 1.091 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.3999, allocations: 8 kB / 1.091 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.4006, allocations: 155.8 kB / 1.092 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.4006, allocations: 11.94 kB / 1.092 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00064/0.4012, allocations: 147 kB / 1.092 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.4013, allocations: 28 kB / 1.092 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000677/0.402, allocations: 402.6 kB / 1.092 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005475/0.4025, allocations: 414.3 kB / 1.092 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000778/0.4033, allocations: 0.5638 MB / 1.093 GB, free: 144 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.617e-06/0.4033, allocations: 4 kB / 1.093 GB, free: 140 kB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001285/0.4046, allocations: 0.7634 MB / 1.094 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.4047, allocations: 37.69 kB / 1.094 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4047, allocations: 4 kB / 1.094 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.4047, allocations: 4 kB / 1.094 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.4052, allocations: 135.8 kB / 1.094 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.4052, allocations: 16.3 kB / 1.094 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/0.4058, allocations: 111.4 kB / 1.094 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/0.4058, allocations: 32 kB / 1.094 GB, free: 15.02 MB / 0.8575 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 (90): * Single equations (assignments): 89 * 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.0002162/0.4061, allocations: 228.1 kB / 1.094 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.4e-05/0.4062, allocations: 78.97 kB / 1.094 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.4074, allocations: 0.6593 MB / 1.095 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.4075, allocations: 12 kB / 1.095 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.4075, allocations: 4 kB / 1.095 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.4075, allocations: 4.172 kB / 1.095 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.4101, allocations: 1.659 MB / 1.097 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.4101, allocations: 8.156 kB / 1.097 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.4106, allocations: 139.8 kB / 1.097 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.4107, allocations: 4 kB / 1.097 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/0.4107, allocations: 16 kB / 1.097 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/0.4107, allocations: 4 kB / 1.097 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.4107, allocations: 4 kB / 1.097 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.4126, allocations: 1.089 MB / 1.098 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.4127, allocations: 171.9 kB / 1.098 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/0.4128, allocations: 27.92 kB / 1.098 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.4132, allocations: 47.95 kB / 1.098 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/0.4133, allocations: 40.45 kB / 1.098 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.4134, allocations: 23.98 kB / 1.098 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005959/0.414, allocations: 483 kB / 1.099 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.81e-07/0.414, allocations: 4 kB / 1.099 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008995/0.4149, allocations: 322.8 kB / 1.099 GB, free: 9.855 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (68): * Single equations (assignments): 67 * 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.000261/0.4151, allocations: 119.1 kB / 1.099 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002247/0.4174, allocations: 1.148 MB / 1.1 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.4174, allocations: 4.359 kB / 1.1 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005645/0.418, allocations: 307 kB / 1.101 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009588/0.419, allocations: 183.7 kB / 1.101 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.4217, allocations: 1.849 MB / 1.102 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.4223, allocations: 0.9784 MB / 1.103 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004217/0.4227, allocations: 97.91 kB / 1.104 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.4229, allocations: 63.42 kB / 1.104 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of SimCode: time 1.683e-06/0.4229, allocations: 4 kB / 1.104 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of Templates: time 0.0171/0.44, allocations: 9.21 MB / 1.113 GB, free: 11.89 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1)