Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008402/0.0008402, allocations: 98.03 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.005552/0.005552, allocations: 169.5 kB / 16.27 MB, free: 6.648 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.388/1.388, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.779/2.779, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003939, allocations: 11.53 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2915, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.006003/0.2975, allocations: 4.983 MB / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003523/0.3011, allocations: 1.708 MB / 1.081 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.3022, allocations: 35.81 kB / 1.081 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004921/0.3027, allocations: 190.2 kB / 1.081 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000649/0.3033, allocations: 135 kB / 1.081 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.3045, allocations: 0.5337 MB / 1.082 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00132/0.3058, allocations: 1.476 MB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.3068, allocations: 0.7737 MB / 1.084 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003849/0.3072, allocations: 365.6 kB / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.3076, allocations: 425 kB / 1.085 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.613e-05/0.3077, allocations: 36 kB / 1.085 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.3078, allocations: 47.98 kB / 1.085 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.308, allocations: 186.8 kB / 1.085 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000375/0.3084, allocations: 0.5059 MB / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.3098, allocations: 1.697 MB / 1.087 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3098, allocations: 0 / 1.087 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3098, allocations: 0 / 1.087 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.641e-05/0.3099, allocations: 0 / 1.087 GB, free: 10.35 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.00271/0.3126, allocations: 1.501 MB / 1.088 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3126, allocations: 8.031 kB / 1.088 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.3129, allocations: 155.1 kB / 1.089 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00094/0.3138, allocations: 0.7431 MB / 1.089 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.836e-05/0.3139, allocations: 94.48 kB / 1.089 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.3141, allocations: 120.3 kB / 1.089 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.3161, allocations: 1.113 MB / 1.091 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.3161, allocations: 4.125 kB / 1.091 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.454e-05/0.3162, allocations: 51.94 kB / 1.091 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.3162, allocations: 24 kB / 1.091 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.3179, allocations: 0.8551 MB / 1.091 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005208/0.3232, allocations: 3.94 MB / 1.095 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/0.3254, allocations: 1.026 MB / 1.096 GB, free: 412 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008265/0.3262, allocations: 486.5 kB / 1.097 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.728e-05/0.3263, allocations: 16.58 kB / 1.097 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008623/0.3271, allocations: 447.3 kB / 1.097 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=84): time 3.126e-06/0.3271, allocations: 0 / 1.097 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=84): time 0.002438/0.3296, allocations: 1.101 MB / 1.098 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.3297, allocations: 218.6 kB / 1.099 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.3309, allocations: 0.8566 MB / 1.099 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.336e-05/0.331, allocations: 49.69 kB / 1.099 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004367/0.3315, allocations: 0.5541 MB / 1.1 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.3317, allocations: 287.8 kB / 1.1 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.3319, allocations: 89.61 kB / 1.1 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.332, allocations: 353.8 kB / 1.101 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007703/0.3328, allocations: 357.8 kB / 1.101 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000957/0.3338, allocations: 0.6068 MB / 1.102 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.3354, allocations: 0.8869 MB / 1.102 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.3354, allocations: 0 / 1.102 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002095/0.3375, allocations: 1.115 MB / 1.104 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001691/0.3377, allocations: 246.3 kB / 1.104 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.3377, allocations: 8 kB / 1.104 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.3377, allocations: 8 kB / 1.104 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007838/0.3385, allocations: 211.6 kB / 1.104 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.3385, allocations: 15.94 kB / 1.104 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008245/0.3394, allocations: 202.9 kB / 1.104 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.3395, allocations: 39.98 kB / 1.104 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/0.3395, allocations: 4 kB / 1.104 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001267/0.3407, allocations: 0.8096 MB / 1.105 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3408, allocations: 4 kB / 1.105 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3408, allocations: 12.56 kB / 1.105 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/0.3414, allocations: 171.7 kB / 1.105 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.3414, allocations: 15.94 kB / 1.105 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006943/0.3421, allocations: 152.5 kB / 1.105 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.3422, allocations: 39.98 kB / 1.105 GB, free: 6.746 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noLimPID.noTri.y,limPI.noTri.y,limPIDOri.noTri.y,limPID.noTri.y,pulse.booPul.y,$PRE.pulse.booPul.y,limP.noTri.y,limPD.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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.0004866/0.3427, allocations: 349.5 kB / 1.106 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.3428, allocations: 106.7 kB / 1.106 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.343, allocations: 114.9 kB / 1.106 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.343, allocations: 8 kB / 1.106 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.343, allocations: 8 kB / 1.106 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3431, allocations: 3.984 kB / 1.106 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.3442, allocations: 0.9825 MB / 1.107 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3442, allocations: 0 / 1.107 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/0.3449, allocations: 171.8 kB / 1.107 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.345, allocations: 4 kB / 1.107 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/0.345, allocations: 16 kB / 1.107 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.345, allocations: 4 kB / 1.107 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.345, allocations: 0 / 1.107 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/0.3474, allocations: 1.272 MB / 1.108 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.3476, allocations: 195.5 kB / 1.109 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.621e-05/0.3477, allocations: 16 kB / 1.109 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004444/0.3482, allocations: 75.94 kB / 1.109 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.046e-05/0.3483, allocations: 44.94 kB / 1.109 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.3483, allocations: 23.98 kB / 1.109 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000798/0.3491, allocations: 0.5867 MB / 1.109 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3491, allocations: 3.938 kB / 1.109 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001017/0.3501, allocations: 410.3 kB / 1.11 GB, free: 2.27 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.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 (84): * Single equations (assignments): 83 * 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.0002329/0.3504, allocations: 139 kB / 1.11 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002535/0.3529, allocations: 1.405 MB / 1.111 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.353, allocations: 3.938 kB / 1.111 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007067/0.3537, allocations: 398.2 kB / 1.112 GB, free: 316 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.3548, allocations: 243.8 kB / 1.112 GB, free: 72 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.358, allocations: 2.399 MB / 1.114 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/0.3586, allocations: 1.077 MB / 1.115 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005064/0.3592, allocations: 127.9 kB / 1.115 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.3594, allocations: 83.41 kB / 1.115 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/0.3594, allocations: 0 / 1.115 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of Templates: time 0.02075/0.3801, allocations: 11.49 MB / 1.127 GB, free: 0.9492 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)