Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001731/0.001731, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002212/0.002212, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.798/2.798, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 62.22 kB / 0.9116 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2963, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.006836/0.3032, allocations: 5.512 MB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004678/0.3079, allocations: 1.7 MB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.309, allocations: 31.88 kB / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006856/0.3097, allocations: 194.2 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007512/0.3105, allocations: 135 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.3118, allocations: 0.5379 MB / 1.076 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001732/0.3136, allocations: 1.609 MB / 1.077 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.3147, allocations: 0.8088 MB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006361/0.3154, allocations: 0.5367 MB / 1.079 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005593/0.316, allocations: 0.575 MB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.3162, allocations: 160 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.3164, allocations: 172 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002581/0.3167, allocations: 326.8 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005477/0.3173, allocations: 0.6447 MB / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.3188, allocations: 1.842 MB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3188, allocations: 0 / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.265e-06/0.3189, allocations: 7.938 kB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.565e-05/0.3189, allocations: 0 / 1.082 GB, free: 11.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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003142/0.322, allocations: 1.695 MB / 1.084 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3221, allocations: 8.031 kB / 1.084 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002447/0.3223, allocations: 155.1 kB / 1.084 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009763/0.3233, allocations: 0.7393 MB / 1.085 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-05/0.3234, allocations: 90.55 kB / 1.085 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.3236, allocations: 116.4 kB / 1.085 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.3255, allocations: 1.089 MB / 1.086 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.3255, allocations: 4.125 kB / 1.086 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.54e-05/0.3256, allocations: 55.92 kB / 1.086 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.3256, allocations: 28 kB / 1.086 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.3272, allocations: 0.8043 MB / 1.087 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005101/0.3323, allocations: 3.905 MB / 1.091 GB, free: 2.887 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.3344, allocations: 0.9483 MB / 1.092 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007838/0.3352, allocations: 454.6 kB / 1.092 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.325e-05/0.3352, allocations: 12.66 kB / 1.092 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000907/0.3361, allocations: 419.3 kB / 1.092 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=84): time 3.717e-06/0.3362, allocations: 0 / 1.092 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of matching and sorting (n=84): time 0.002256/0.3384, allocations: 1.03 MB / 1.093 GB, free: 16 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.3386, allocations: 214.6 kB / 1.094 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.3396, allocations: 0.8605 MB / 1.094 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.853e-05/0.3397, allocations: 45.7 kB / 1.094 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000455/0.3402, allocations: 0.5581 MB / 1.095 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.3405, allocations: 287.8 kB / 1.095 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003044/0.3408, allocations: 178.5 kB / 1.095 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3409, allocations: 353.8 kB / 1.096 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007588/0.3417, allocations: 344.7 kB / 1.096 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009001/0.3426, allocations: 0.5717 MB / 1.097 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.3441, allocations: 0.84 MB / 1.098 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3441, allocations: 0 / 1.098 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002007/0.3461, allocations: 1.072 MB / 1.099 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.801e-05/0.3462, allocations: 41.69 kB / 1.099 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3462, allocations: 4 kB / 1.099 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.3462, allocations: 8 kB / 1.099 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000757/0.347, allocations: 195.7 kB / 1.099 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.347, allocations: 12.06 kB / 1.099 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007971/0.3478, allocations: 170.9 kB / 1.099 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.973e-05/0.3479, allocations: 39.98 kB / 1.099 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007866/0.3487, allocations: 461.9 kB / 1.099 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005896/0.3493, allocations: 0.5053 MB / 1.1 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009453/0.3502, allocations: 0.7074 MB / 1.101 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.508e-06/0.3502, allocations: 3.984 kB / 1.101 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.001405/0.3516, allocations: 0.9194 MB / 1.102 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.3517, allocations: 33.7 kB / 1.102 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3517, allocations: 8 kB / 1.102 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.3517, allocations: 8.562 kB / 1.102 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/0.3523, allocations: 171.8 kB / 1.102 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.3524, allocations: 15.92 kB / 1.102 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006511/0.353, allocations: 131.2 kB / 1.102 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/0.3531, allocations: 39.98 kB / 1.102 GB, free: 6.812 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.0002552/0.3533, allocations: 244 kB / 1.102 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.3535, allocations: 106.7 kB / 1.102 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.3537, allocations: 114.9 kB / 1.102 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.3537, allocations: 15.98 kB / 1.102 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.3538, allocations: 0 / 1.102 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.3538, allocations: 3.984 kB / 1.102 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.3549, allocations: 0.9786 MB / 1.103 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3549, allocations: 4 kB / 1.103 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006883/0.3556, allocations: 163.8 kB / 1.103 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3556, allocations: 0 / 1.103 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/0.3557, allocations: 23.98 kB / 1.104 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3557, allocations: 0 / 1.104 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3557, allocations: 4 kB / 1.104 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.3578, allocations: 1.194 MB / 1.105 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.358, allocations: 199.5 kB / 1.105 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.721e-05/0.3581, allocations: 16 kB / 1.105 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.3585, allocations: 55.94 kB / 1.105 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.3586, allocations: 44.94 kB / 1.105 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.3587, allocations: 27.92 kB / 1.105 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007155/0.3594, allocations: 0.5867 MB / 1.106 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3594, allocations: 0 / 1.106 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00094/0.3604, allocations: 414.3 kB / 1.106 GB, free: 2.535 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.0002104/0.3606, allocations: 131.1 kB / 1.106 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0028/0.3634, allocations: 1.389 MB / 1.107 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3634, allocations: 4.188 kB / 1.107 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006513/0.3641, allocations: 377.5 kB / 1.108 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.3651, allocations: 255.3 kB / 1.108 GB, free: 384 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.3683, allocations: 2.356 MB / 1.11 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000629/0.369, allocations: 1.081 MB / 1.111 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005407/0.3695, allocations: 131.8 kB / 1.112 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.3697, allocations: 75.42 kB / 1.112 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of SimCode: time 2.154e-06/0.3698, allocations: 0 / 1.112 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.02232/0.3921, allocations: 12.11 MB / 1.123 GB, free: 0.6797 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)