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.001163/0.001163, 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.00124/0.00124, allocations: 196.7 kB / 16.14 MB, free: 6.66 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.465/1.465, 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.933/2.933, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 68.05 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4179, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.006123/0.4241, allocations: 3.61 MB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00425/0.4283, allocations: 2.085 MB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.4295, allocations: 27.94 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006924/0.4302, allocations: 130.8 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007534/0.431, allocations: 87.3 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.4323, allocations: 450.6 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001265/0.4335, allocations: 1.147 MB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008449/0.4344, allocations: 0.5759 MB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004265/0.4348, allocations: 370.2 kB / 1.076 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004172/0.4353, allocations: 433.6 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.4354, allocations: 64 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.4356, allocations: 75.92 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.4357, allocations: 191.2 kB / 1.077 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.4361, allocations: 449.1 kB / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.4373, allocations: 1.316 MB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4373, allocations: 4 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.91e-07/0.4373, allocations: 0 / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.4373, allocations: 0 / 1.078 GB, free: 15.91 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.002459/0.4398, allocations: 1.373 MB / 1.08 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.201e-05/0.4399, allocations: 8.031 kB / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.4401, allocations: 115.6 kB / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008115/0.4409, allocations: 0.5908 MB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.289e-05/0.441, allocations: 70.38 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.4411, allocations: 96.36 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.4426, allocations: 0.8641 MB / 1.081 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.4426, allocations: 192 / 1.081 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.039e-05/0.4427, allocations: 39.94 kB / 1.081 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.4427, allocations: 20 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.444, allocations: 0.6324 MB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00451/0.4485, allocations: 3.003 MB / 1.085 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.45, allocations: 0.6868 MB / 1.086 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006525/0.4507, allocations: 374.5 kB / 1.086 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.536e-05/0.4507, allocations: 12.55 kB / 1.086 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007753/0.4515, allocations: 343 kB / 1.086 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=68): time 2.785e-06/0.4515, allocations: 0 / 1.086 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68): time 0.001864/0.4534, allocations: 0.8376 MB / 1.087 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.4535, allocations: 188.5 kB / 1.087 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008442/0.4544, allocations: 0.6762 MB / 1.088 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.956e-05/0.4545, allocations: 41.7 kB / 1.088 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.4548, allocations: 440.8 kB / 1.088 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.455, allocations: 228.6 kB / 1.089 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.4552, allocations: 142.7 kB / 1.089 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4554, allocations: 337.9 kB / 1.089 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006752/0.4561, allocations: 296.7 kB / 1.089 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008706/0.4569, allocations: 482.2 kB / 1.09 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/0.4587, allocations: 0.6692 MB / 1.09 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.4587, allocations: 0 / 1.09 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002678/0.4614, allocations: 0.8886 MB / 1.091 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.491e-05/0.4615, allocations: 37.7 kB / 1.091 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.4615, allocations: 4 kB / 1.091 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.4615, allocations: 7.938 kB / 1.091 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008381/0.4624, allocations: 167.7 kB / 1.092 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/0.4624, allocations: 8 kB / 1.092 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.4635, allocations: 143 kB / 1.092 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-05/0.4636, allocations: 35.98 kB / 1.092 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001085/0.4647, allocations: 394 kB / 1.092 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008002/0.4655, allocations: 422.2 kB / 1.092 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008774/0.4664, allocations: 0.5678 MB / 1.093 GB, free: 164 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/0.4664, allocations: 0 / 1.093 GB, free: 164 kB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001462/0.4679, allocations: 0.7634 MB / 1.094 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.937e-05/0.468, allocations: 37.7 kB / 1.094 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.468, allocations: 3.984 kB / 1.094 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.468, allocations: 8 kB / 1.094 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000532/0.4685, allocations: 139.8 kB / 1.094 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.4686, allocations: 4.375 kB / 1.094 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006216/0.4692, allocations: 111.6 kB / 1.094 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.297e-05/0.4693, allocations: 31.98 kB / 1.094 GB, free: 15.04 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.0002744/0.4696, allocations: 232 kB / 1.094 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.4697, allocations: 86.91 kB / 1.094 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.4711, allocations: 0.6516 MB / 1.095 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.4712, allocations: 4 kB / 1.095 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.4712, allocations: 4 kB / 1.095 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.4712, allocations: 3.984 kB / 1.095 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.4741, allocations: 1.667 MB / 1.097 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.4741, allocations: 3.938 kB / 1.097 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005732/0.4747, allocations: 136.1 kB / 1.097 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.4747, allocations: 4 kB / 1.097 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/0.4748, allocations: 23.98 kB / 1.097 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.4748, allocations: 4 kB / 1.097 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.4748, allocations: 3.938 kB / 1.097 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.4768, allocations: 1.085 MB / 1.098 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.4771, allocations: 175.9 kB / 1.098 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.4772, allocations: 16 kB / 1.098 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00042/0.4777, allocations: 51.95 kB / 1.098 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.011e-05/0.4778, allocations: 40.5 kB / 1.098 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.4778, allocations: 24 kB / 1.098 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007485/0.4786, allocations: 486.9 kB / 1.099 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.41e-07/0.4786, allocations: 0 / 1.099 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001239/0.4798, allocations: 318.8 kB / 1.099 GB, free: 9.891 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.000345/0.4802, allocations: 127.1 kB / 1.099 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002666/0.4828, allocations: 1.148 MB / 1.1 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.4829, allocations: 0 / 1.1 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006008/0.4835, allocations: 303.3 kB / 1.1 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.4846, allocations: 183.2 kB / 1.101 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.4878, allocations: 1.85 MB / 1.102 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006957/0.4886, allocations: 0.9785 MB / 1.103 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004859/0.4891, allocations: 97.91 kB / 1.104 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.4893, allocations: 63.42 kB / 1.104 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of SimCode: time 7.72e-07/0.4893, allocations: 0 / 1.104 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of Templates: time 0.01916/0.5085, allocations: 9.213 MB / 1.113 GB, free: 11.92 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)