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.001222/0.001222, 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.001151/0.001151, allocations: 193.4 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 472.6 MB / 0.7451 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 64.61 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2723, 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.00738/0.2798, allocations: 5.57 MB / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003741/0.2835, allocations: 1.778 MB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009975/0.2846, allocations: 35.88 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007859/0.2854, allocations: 253.3 kB / 1.076 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009511/0.2864, allocations: 194 kB / 1.076 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.2877, allocations: 0.6234 MB / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001456/0.2891, allocations: 1.601 MB / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.2902, allocations: 0.8166 MB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004696/0.2906, allocations: 0.5212 MB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004587/0.2911, allocations: 0.5827 MB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.2913, allocations: 164 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.2915, allocations: 168 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.2917, allocations: 326.8 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000446/0.2922, allocations: 0.6563 MB / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.2936, allocations: 1.838 MB / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.2936, allocations: 4 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2936, allocations: 0 / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.2936, allocations: 0 / 1.083 GB, free: 11.18 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.002644/0.2963, allocations: 1.687 MB / 1.085 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2963, allocations: 8.031 kB / 1.085 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.2966, allocations: 159.1 kB / 1.085 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009158/0.2975, allocations: 0.7471 MB / 1.085 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.324e-05/0.2975, allocations: 86.55 kB / 1.086 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.2977, allocations: 120.4 kB / 1.086 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.2995, allocations: 1.081 MB / 1.087 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.2995, allocations: 8.125 kB / 1.087 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.058e-05/0.2996, allocations: 47.94 kB / 1.087 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.2996, allocations: 28 kB / 1.087 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.3012, allocations: 0.8082 MB / 1.088 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004962/0.3062, allocations: 3.905 MB / 1.091 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.3082, allocations: 0.9444 MB / 1.092 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007712/0.309, allocations: 458.6 kB / 1.093 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.93e-05/0.3091, allocations: 12.64 kB / 1.093 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008376/0.3099, allocations: 419.3 kB / 1.093 GB, free: 368 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=84): time 3.737e-06/0.3099, allocations: 4 kB / 1.093 GB, free: 364 kB / 0.8419 GB Notification: Performance of matching and sorting (n=84): time 0.002121/0.312, allocations: 1.022 MB / 1.094 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.857e-05/0.3122, allocations: 222.6 kB / 1.094 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.3132, allocations: 0.8605 MB / 1.095 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-05/0.3133, allocations: 41.7 kB / 1.095 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/0.3137, allocations: 0.5542 MB / 1.096 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.3139, allocations: 287.8 kB / 1.096 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002631/0.3142, allocations: 186.5 kB / 1.096 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3143, allocations: 345.9 kB / 1.097 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007276/0.315, allocations: 344.6 kB / 1.097 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008818/0.3159, allocations: 0.5722 MB / 1.097 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.3174, allocations: 0.84 MB / 1.098 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3174, allocations: 0 / 1.098 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001971/0.3194, allocations: 1.064 MB / 1.099 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.3194, allocations: 45.69 kB / 1.099 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.3195, allocations: 4 kB / 1.099 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.3195, allocations: 8 kB / 1.099 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/0.3203, allocations: 199.9 kB / 1.1 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.3203, allocations: 11.94 kB / 1.1 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007481/0.321, allocations: 170.8 kB / 1.1 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.396e-05/0.3211, allocations: 39.98 kB / 1.1 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007346/0.3219, allocations: 462 kB / 1.1 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005949/0.3225, allocations: 0.5054 MB / 1.101 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009132/0.3234, allocations: 0.7074 MB / 1.101 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.238e-06/0.3234, allocations: 8 kB / 1.101 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.00133/0.3247, allocations: 0.9155 MB / 1.102 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.3248, allocations: 38.27 kB / 1.102 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3248, allocations: 4 kB / 1.102 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.3248, allocations: 12 kB / 1.102 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.3254, allocations: 167.7 kB / 1.103 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.3254, allocations: 15.94 kB / 1.103 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006497/0.3261, allocations: 131.2 kB / 1.103 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.3262, allocations: 36 kB / 1.103 GB, free: 6.125 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.0002311/0.3264, allocations: 255.4 kB / 1.103 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.3265, allocations: 106.7 kB / 1.103 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.3267, allocations: 114.9 kB / 1.103 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3268, allocations: 8 kB / 1.103 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3268, allocations: 0 / 1.103 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.3268, allocations: 3.984 kB / 1.103 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.3278, allocations: 0.9902 MB / 1.104 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3278, allocations: 0 / 1.104 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006843/0.3285, allocations: 167.8 kB / 1.104 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3286, allocations: 4 kB / 1.104 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.3286, allocations: 16 kB / 1.104 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.3286, allocations: 4 kB / 1.104 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3286, allocations: 0 / 1.104 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.3308, allocations: 1.198 MB / 1.106 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.331, allocations: 195.5 kB / 1.106 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/0.3311, allocations: 20 kB / 1.106 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.3315, allocations: 51.94 kB / 1.106 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/0.3315, allocations: 44.94 kB / 1.106 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.3316, allocations: 31.92 kB / 1.106 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006963/0.3323, allocations: 0.5867 MB / 1.106 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3323, allocations: 4 kB / 1.106 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009424/0.3333, allocations: 402.3 kB / 1.107 GB, free: 1.844 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.0001881/0.3335, allocations: 127.2 kB / 1.107 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002806/0.3363, allocations: 1.397 MB / 1.108 GB, free: 296 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.3363, allocations: 0 / 1.108 GB, free: 296 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006753/0.337, allocations: 381.5 kB / 1.109 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.338, allocations: 257.1 kB / 1.109 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.3409, allocations: 1.892 MB / 1.111 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.3415, allocations: 1.081 MB / 1.112 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004895/0.342, allocations: 123.9 kB / 1.112 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.3422, allocations: 79.41 kB / 1.112 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of SimCode: time 9.21e-07/0.3422, allocations: 0 / 1.112 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of Templates: time 0.02123/0.3634, allocations: 12.16 MB / 1.124 GB, free: 416 kB / 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)