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.001132/0.001132, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001342, allocations: 69 kB / 0.912 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3046, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.007773/0.3125, allocations: 5.556 MB / 1.074 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003943/0.3164, allocations: 1.782 MB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.3176, allocations: 31.88 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008653/0.3185, allocations: 257.3 kB / 1.076 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.3197, allocations: 194 kB / 1.076 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.3215, allocations: 0.623 MB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002608/0.3241, allocations: 1.605 MB / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.3256, allocations: 0.8126 MB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006425/0.3263, allocations: 0.5251 MB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006508/0.3269, allocations: 0.5867 MB / 1.08 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003127/0.3273, allocations: 160 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/0.3276, allocations: 172 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002625/0.3278, allocations: 322.8 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006534/0.3285, allocations: 0.6487 MB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.3302, allocations: 1.842 MB / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3302, allocations: 0 / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3302, allocations: 0 / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.436e-05/0.3303, allocations: 0 / 1.083 GB, free: 11.19 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.003139/0.3334, allocations: 1.695 MB / 1.085 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3335, allocations: 8.031 kB / 1.085 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.3337, allocations: 159.1 kB / 1.085 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009934/0.3347, allocations: 0.7431 MB / 1.085 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.158e-05/0.3348, allocations: 86.55 kB / 1.086 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.335, allocations: 124.4 kB / 1.086 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.3368, allocations: 1.081 MB / 1.087 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.3368, allocations: 8.109 kB / 1.087 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.341e-05/0.3369, allocations: 51.94 kB / 1.087 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.3369, allocations: 32 kB / 1.087 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/0.3385, allocations: 0.8043 MB / 1.088 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00523/0.3438, allocations: 3.897 MB / 1.091 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.3459, allocations: 0.9522 MB / 1.092 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007965/0.3467, allocations: 450.6 kB / 1.093 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.3467, allocations: 16.64 kB / 1.093 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008801/0.3476, allocations: 423.3 kB / 1.093 GB, free: 364 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=84): time 2.725e-06/0.3476, allocations: 0 / 1.093 GB, free: 364 kB / 0.8419 GB Notification: Performance of matching and sorting (n=84): time 0.002122/0.3497, allocations: 1.026 MB / 1.094 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.3499, allocations: 214.6 kB / 1.094 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.351, allocations: 0.8644 MB / 1.095 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.3511, allocations: 45.7 kB / 1.095 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/0.3515, allocations: 0.5542 MB / 1.096 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.3517, allocations: 287.8 kB / 1.096 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.352, allocations: 178.5 kB / 1.096 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3522, allocations: 345.9 kB / 1.097 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007398/0.3529, allocations: 356.5 kB / 1.097 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008643/0.3538, allocations: 0.5722 MB / 1.097 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.3553, allocations: 0.8361 MB / 1.098 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.3553, allocations: 0 / 1.098 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001955/0.3573, allocations: 1.064 MB / 1.099 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.855e-05/0.3573, allocations: 41.7 kB / 1.099 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.3573, allocations: 7.984 kB / 1.099 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.3574, allocations: 8 kB / 1.099 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007533/0.3581, allocations: 195.7 kB / 1.1 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.3582, allocations: 11.94 kB / 1.1 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007582/0.3589, allocations: 170.9 kB / 1.1 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/0.359, allocations: 39.98 kB / 1.1 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007236/0.3597, allocations: 458 kB / 1.1 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005981/0.3603, allocations: 0.5053 MB / 1.101 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009341/0.3613, allocations: 0.7113 MB / 1.101 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.026e-06/0.3613, allocations: 0 / 1.101 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.001401/0.3627, allocations: 0.9157 MB / 1.102 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.3627, allocations: 41.69 kB / 1.102 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3628, allocations: 8 kB / 1.102 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.3628, allocations: 8 kB / 1.102 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006087/0.3634, allocations: 167.7 kB / 1.103 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.3634, allocations: 11.94 kB / 1.103 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006881/0.3641, allocations: 139.6 kB / 1.103 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.3642, allocations: 39.98 kB / 1.103 GB, free: 6.121 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.0002419/0.3644, allocations: 245.2 kB / 1.103 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.3646, allocations: 106.7 kB / 1.103 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.3648, allocations: 114.9 kB / 1.103 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.3648, allocations: 12 kB / 1.103 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3648, allocations: 0 / 1.103 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.3648, allocations: 7.969 kB / 1.103 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.3659, allocations: 0.9902 MB / 1.104 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.3659, allocations: 0 / 1.104 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006836/0.3666, allocations: 159.8 kB / 1.104 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.3666, allocations: 0 / 1.104 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.175e-05/0.3667, allocations: 23.98 kB / 1.104 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3667, allocations: 4 kB / 1.104 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3667, allocations: 4 kB / 1.104 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.3689, allocations: 1.19 MB / 1.105 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.3691, allocations: 195.5 kB / 1.106 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.3692, allocations: 16 kB / 1.106 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/0.3696, allocations: 59.94 kB / 1.106 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.385e-05/0.3697, allocations: 44.94 kB / 1.106 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/0.3697, allocations: 31.92 kB / 1.106 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007411/0.3705, allocations: 0.5828 MB / 1.106 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.81e-07/0.3705, allocations: 0 / 1.106 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009773/0.3715, allocations: 406.3 kB / 1.107 GB, free: 1.848 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.000204/0.3717, allocations: 138.8 kB / 1.107 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002852/0.3746, allocations: 1.393 MB / 1.108 GB, free: 296 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3746, allocations: 0 / 1.108 GB, free: 296 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006932/0.3753, allocations: 377.7 kB / 1.109 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.3763, allocations: 250.1 kB / 1.109 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.3793, allocations: 1.897 MB / 1.111 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/0.3799, allocations: 1.081 MB / 1.112 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004974/0.3804, allocations: 127.9 kB / 1.112 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.3806, allocations: 71.42 kB / 1.112 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of SimCode: time 3.8e-07/0.3806, allocations: 4 kB / 1.112 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of Templates: time 0.0261/0.4067, allocations: 12.16 MB / 1.124 GB, free: 428 kB / 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)