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.001584/0.001584, 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.002127/0.002127, allocations: 193.2 kB / 16.25 MB, free: 6.629 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.479/1.479, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.867/2.867, allocations: 472.6 MB / 0.7448 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 71.36 kB / 0.9115 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3614, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.004868/0.3664, allocations: 3.612 MB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004017/0.3704, allocations: 2.066 MB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000491/0.3709, allocations: 19.94 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00043/0.3714, allocations: 130.8 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.3717, allocations: 103.3 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.3728, allocations: 438.8 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001129/0.374, allocations: 1.256 MB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008639/0.3748, allocations: 0.6032 MB / 1.076 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004348/0.3753, allocations: 450.2 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004089/0.3757, allocations: 473.6 kB / 1.077 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.3759, allocations: 128 kB / 1.077 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.3761, allocations: 151.8 kB / 1.077 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.3763, allocations: 247.2 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003928/0.3767, allocations: 0.509 MB / 1.078 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.3778, allocations: 1.367 MB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.3778, allocations: 7.984 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3778, allocations: 4 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.782e-05/0.3778, allocations: 0 / 1.079 GB, free: 15.25 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.002355/0.3802, allocations: 1.368 MB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3802, allocations: 8.031 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.3804, allocations: 115.6 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007524/0.3812, allocations: 0.5947 MB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.449e-05/0.3813, allocations: 66.38 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.3814, allocations: 100.4 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.3829, allocations: 0.8524 MB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.3829, allocations: 4.125 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.957e-05/0.383, allocations: 43.92 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.383, allocations: 24 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.3843, allocations: 0.6324 MB / 1.083 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004361/0.3887, allocations: 2.995 MB / 1.086 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.3903, allocations: 0.679 MB / 1.086 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/0.3909, allocations: 378.6 kB / 1.087 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.768e-05/0.391, allocations: 17.58 kB / 1.087 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007139/0.3917, allocations: 347 kB / 1.087 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=68): time 2.985e-06/0.3917, allocations: 0 / 1.087 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68): time 0.001702/0.3934, allocations: 0.8259 MB / 1.088 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.964e-05/0.3935, allocations: 200.3 kB / 1.088 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007862/0.3943, allocations: 0.6762 MB / 1.089 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.3944, allocations: 45.7 kB / 1.089 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.3947, allocations: 435.8 kB / 1.089 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.3949, allocations: 228.7 kB / 1.089 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.3951, allocations: 146.6 kB / 1.089 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3953, allocations: 337.9 kB / 1.09 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006654/0.396, allocations: 296.7 kB / 1.09 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007812/0.3967, allocations: 482.2 kB / 1.09 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.398, allocations: 0.6654 MB / 1.091 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.398, allocations: 4 kB / 1.091 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001812/0.3998, allocations: 0.8885 MB / 1.092 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/0.3999, allocations: 41.7 kB / 1.092 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.3999, allocations: 0 / 1.092 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.3999, allocations: 8 kB / 1.092 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/0.4006, allocations: 159.8 kB / 1.092 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.297e-05/0.4006, allocations: 12.03 kB / 1.092 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/0.4013, allocations: 151 kB / 1.092 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/0.4013, allocations: 35.98 kB / 1.092 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006751/0.402, allocations: 394 kB / 1.093 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005487/0.4026, allocations: 418.3 kB / 1.093 GB, free: 120 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008307/0.4034, allocations: 0.5718 MB / 1.094 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.4034, allocations: 0 / 1.094 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001238/0.4047, allocations: 0.7633 MB / 1.094 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.4047, allocations: 38.8 kB / 1.095 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/0.4048, allocations: 4 kB / 1.095 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.4048, allocations: 8 kB / 1.095 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/0.4053, allocations: 135.8 kB / 1.095 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.4053, allocations: 8 kB / 1.095 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005887/0.4059, allocations: 111.8 kB / 1.095 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.406, allocations: 31.98 kB / 1.095 GB, free: 14.38 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.0002333/0.4062, allocations: 232 kB / 1.095 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.893e-05/0.4063, allocations: 78.97 kB / 1.095 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.4076, allocations: 0.6554 MB / 1.096 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.4076, allocations: 8 kB / 1.096 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.4077, allocations: 4 kB / 1.096 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.4077, allocations: 7.812 kB / 1.096 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002505/0.4102, allocations: 1.663 MB / 1.097 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.4102, allocations: 7.938 kB / 1.097 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005609/0.4108, allocations: 132.1 kB / 1.098 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.4108, allocations: 4 kB / 1.098 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.663e-05/0.4108, allocations: 20 kB / 1.098 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.558e-05/0.4109, allocations: 7.984 kB / 1.098 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.4109, allocations: 4 kB / 1.098 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.4127, allocations: 1.081 MB / 1.099 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.4129, allocations: 175.9 kB / 1.099 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.985e-05/0.413, allocations: 20 kB / 1.099 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.4133, allocations: 47.95 kB / 1.099 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-05/0.4134, allocations: 44.44 kB / 1.099 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.4135, allocations: 24 kB / 1.099 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005737/0.4141, allocations: 487 kB / 1.099 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4141, allocations: 0 / 1.099 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008962/0.415, allocations: 318.8 kB / 1.1 GB, free: 9.227 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.0002593/0.4152, allocations: 127.1 kB / 1.1 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002398/0.4176, allocations: 1.175 MB / 1.101 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.4177, allocations: 4 kB / 1.101 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005669/0.4182, allocations: 307.4 kB / 1.101 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.4193, allocations: 187 kB / 1.101 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.4219, allocations: 1.857 MB / 1.103 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005351/0.4225, allocations: 0.9743 MB / 1.104 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004325/0.4229, allocations: 97.91 kB / 1.104 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.4231, allocations: 63.42 kB / 1.104 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of SimCode: time 1.222e-06/0.4231, allocations: 0 / 1.104 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of Templates: time 0.01747/0.4406, allocations: 9.64 MB / 1.114 GB, free: 10.8 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)