Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0009029/0.0009029, allocations: 97.72 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.006744/0.006744, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.48/1.48, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.978/2.978, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004437, allocations: 13.62 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3781, allocations: 162.2 MB / 1.074 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.004188/0.3823, allocations: 3.131 MB / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004002/0.3864, allocations: 2.073 MB / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007398/0.3871, allocations: 19.94 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.3875, allocations: 130.8 kB / 1.079 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.3879, allocations: 99.28 kB / 1.079 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.3891, allocations: 443 kB / 1.08 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001101/0.3902, allocations: 1.135 MB / 1.081 GB, free: 468 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008557/0.3911, allocations: 0.572 MB / 1.082 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003738/0.3915, allocations: 294.3 kB / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003773/0.3919, allocations: 345.6 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.947e-05/0.3919, allocations: 28 kB / 1.082 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.3921, allocations: 39.98 kB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.3922, allocations: 151.1 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003237/0.3925, allocations: 414.9 kB / 1.083 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.3936, allocations: 1.261 MB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3936, allocations: 4 kB / 1.084 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3936, allocations: 0 / 1.084 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.3936, allocations: 0 / 1.084 GB, free: 13.33 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.002264/0.3959, allocations: 1.224 MB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3959, allocations: 12.03 kB / 1.085 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.3962, allocations: 115.6 kB / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008411/0.397, allocations: 0.5908 MB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.877e-05/0.3971, allocations: 66.38 kB / 1.086 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.3972, allocations: 92.38 kB / 1.086 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.3988, allocations: 0.8836 MB / 1.087 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.3989, allocations: 4.188 kB / 1.087 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/0.3989, allocations: 39.92 kB / 1.087 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.399, allocations: 24 kB / 1.087 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.4004, allocations: 0.6754 MB / 1.088 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004463/0.4048, allocations: 3.027 MB / 1.091 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.4065, allocations: 0.7454 MB / 1.091 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007211/0.4072, allocations: 398.5 kB / 1.092 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.4073, allocations: 16.56 kB / 1.092 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007583/0.408, allocations: 363 kB / 1.092 GB, free: 4.824 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=68): time 3.717e-06/0.4081, allocations: 4 kB / 1.092 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68): time 0.002147/0.4102, allocations: 0.8923 MB / 1.093 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.4104, allocations: 196.5 kB / 1.093 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008355/0.4112, allocations: 0.6801 MB / 1.094 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.4113, allocations: 41.7 kB / 1.094 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.4116, allocations: 432.8 kB / 1.094 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.4118, allocations: 228.7 kB / 1.094 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.4119, allocations: 77.67 kB / 1.095 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.412, allocations: 337.9 kB / 1.095 GB, free: 1.871 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006914/0.4127, allocations: 305.8 kB / 1.095 GB, free: 1.574 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00085/0.4136, allocations: 0.4904 MB / 1.096 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.415, allocations: 0.72 MB / 1.096 GB, free: 256 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.415, allocations: 4 kB / 1.096 GB, free: 252 kB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001882/0.4169, allocations: 0.916 MB / 1.097 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002279/0.4172, allocations: 211.6 kB / 1.097 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.4172, allocations: 4 kB / 1.097 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.4172, allocations: 4 kB / 1.097 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006447/0.4179, allocations: 179.7 kB / 1.098 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.362e-05/0.4179, allocations: 11.94 kB / 1.098 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007661/0.4187, allocations: 175.2 kB / 1.098 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/0.4188, allocations: 27.94 kB / 1.098 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.707e-06/0.4188, allocations: 4 kB / 1.098 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001225/0.42, allocations: 0.6845 MB / 1.099 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.42, allocations: 0 / 1.099 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.42, allocations: 11.98 kB / 1.099 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.4205, allocations: 139.8 kB / 1.099 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.4206, allocations: 4 kB / 1.099 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006632/0.4212, allocations: 131.6 kB / 1.099 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/0.4213, allocations: 39.98 kB / 1.099 GB, free: 13.64 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.0005876/0.4219, allocations: 308.9 kB / 1.099 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.4221, allocations: 82.97 kB / 1.099 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/0.4237, allocations: 0.6945 MB / 1.1 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.4238, allocations: 8 kB / 1.1 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.4238, allocations: 0 / 1.1 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.4238, allocations: 3.984 kB / 1.1 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003502/0.4273, allocations: 1.706 MB / 1.102 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.852e-06/0.4273, allocations: 288 / 1.102 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005907/0.4279, allocations: 143.8 kB / 1.102 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.24e-05/0.428, allocations: 7.938 kB / 1.102 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/0.428, allocations: 20 kB / 1.102 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.246e-05/0.4281, allocations: 7.984 kB / 1.102 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/0.4281, allocations: 7.938 kB / 1.102 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.4304, allocations: 1.147 MB / 1.103 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.4306, allocations: 171.9 kB / 1.103 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.4307, allocations: 23.94 kB / 1.103 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/0.4312, allocations: 63.95 kB / 1.103 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.4313, allocations: 40.5 kB / 1.103 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.4313, allocations: 24 kB / 1.103 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006573/0.432, allocations: 479 kB / 1.104 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.432, allocations: 4 kB / 1.104 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001178/0.4332, allocations: 310.8 kB / 1.104 GB, free: 8.262 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.0003691/0.4336, allocations: 139 kB / 1.104 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002555/0.4361, allocations: 1.191 MB / 1.105 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4361, allocations: 0 / 1.105 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006221/0.4368, allocations: 335.7 kB / 1.106 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.438, allocations: 177.6 kB / 1.106 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.4409, allocations: 1.885 MB / 1.108 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006352/0.4416, allocations: 0.9785 MB / 1.108 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004725/0.4421, allocations: 105.9 kB / 1.109 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.4423, allocations: 63.42 kB / 1.109 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of SimCode: time 4.51e-07/0.4423, allocations: 0 / 1.109 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of Templates: time 0.02051/0.4628, allocations: 9.14 MB / 1.118 GB, free: 10.24 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1)