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.0009029/0.000903, allocations: 97.64 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.007495/0.007495, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.414/1.414, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.84/2.84, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 10.22 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.295, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.006081/0.3011, allocations: 4.991 MB / 1.079 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003581/0.3047, allocations: 1.696 MB / 1.081 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008834/0.3056, allocations: 35.88 kB / 1.081 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004523/0.3061, allocations: 190.2 kB / 1.081 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005602/0.3066, allocations: 131 kB / 1.081 GB, free: 472 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.3077, allocations: 0.5378 MB / 1.082 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001348/0.309, allocations: 1.48 MB / 1.083 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.3101, allocations: 0.7659 MB / 1.084 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00036/0.3105, allocations: 365.7 kB / 1.084 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003884/0.3108, allocations: 424.9 kB / 1.084 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.971e-05/0.3109, allocations: 36 kB / 1.085 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.3111, allocations: 55.92 kB / 1.085 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.3113, allocations: 182.8 kB / 1.085 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003882/0.3117, allocations: 0.5058 MB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.313, allocations: 1.697 MB / 1.087 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.313, allocations: 0 / 1.087 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.934e-06/0.313, allocations: 0 / 1.087 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.3131, allocations: 4 kB / 1.087 GB, free: 10.37 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.00269/0.3158, allocations: 1.497 MB / 1.088 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3158, allocations: 8.031 kB / 1.088 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.316, allocations: 163.1 kB / 1.089 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009439/0.317, allocations: 0.7431 MB / 1.089 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.078e-05/0.3171, allocations: 86.55 kB / 1.089 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.3172, allocations: 116.3 kB / 1.089 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.3193, allocations: 1.116 MB / 1.091 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.3193, allocations: 4.125 kB / 1.091 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.731e-05/0.3194, allocations: 55.94 kB / 1.091 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.3194, allocations: 28 kB / 1.091 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.3212, allocations: 0.8551 MB / 1.091 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005229/0.3264, allocations: 3.936 MB / 1.095 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/0.3286, allocations: 1.038 MB / 1.096 GB, free: 416 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008545/0.3295, allocations: 478.5 kB / 1.097 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.116e-05/0.3296, allocations: 16.62 kB / 1.097 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008742/0.3305, allocations: 451.3 kB / 1.097 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=84): time 2.585e-06/0.3305, allocations: 3.938 kB / 1.097 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=84): time 0.002248/0.3327, allocations: 1.093 MB / 1.098 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.3328, allocations: 222.6 kB / 1.099 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.3339, allocations: 0.8605 MB / 1.099 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.131e-05/0.334, allocations: 45.7 kB / 1.099 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004229/0.3344, allocations: 0.5542 MB / 1.1 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.3346, allocations: 287.8 kB / 1.1 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.3348, allocations: 81.67 kB / 1.1 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3349, allocations: 349.8 kB / 1.101 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007972/0.3357, allocations: 369.8 kB / 1.101 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009608/0.3367, allocations: 0.5951 MB / 1.102 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/0.3383, allocations: 0.8947 MB / 1.102 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3383, allocations: 0 / 1.102 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002095/0.3404, allocations: 1.111 MB / 1.104 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002227/0.3406, allocations: 251.7 kB / 1.104 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.3407, allocations: 4 kB / 1.104 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.3407, allocations: 8 kB / 1.104 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007838/0.3415, allocations: 215.6 kB / 1.104 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/0.3415, allocations: 19.86 kB / 1.104 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008121/0.3423, allocations: 202.9 kB / 1.104 GB, free: 8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.672e-05/0.3424, allocations: 39.98 kB / 1.104 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.3424, allocations: 4 kB / 1.104 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001251/0.3437, allocations: 0.8136 MB / 1.105 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3437, allocations: 4 kB / 1.105 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.3437, allocations: 8 kB / 1.105 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/0.3443, allocations: 171.7 kB / 1.105 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.3444, allocations: 11.94 kB / 1.105 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/0.3451, allocations: 155.5 kB / 1.105 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/0.3451, allocations: 39.98 kB / 1.105 GB, free: 6.754 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.0005556/0.3457, allocations: 346.8 kB / 1.106 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.3458, allocations: 106.7 kB / 1.106 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.3461, allocations: 118.9 kB / 1.106 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.3461, allocations: 8 kB / 1.106 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.3461, allocations: 0 / 1.106 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.3461, allocations: 3.984 kB / 1.106 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.3474, allocations: 0.9786 MB / 1.107 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3474, allocations: 7.984 kB / 1.107 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/0.3482, allocations: 171.8 kB / 1.107 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3482, allocations: 0 / 1.107 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-05/0.3482, allocations: 20 kB / 1.107 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3482, allocations: 0 / 1.107 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3483, allocations: 4 kB / 1.107 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.3506, allocations: 1.276 MB / 1.108 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.3508, allocations: 195.5 kB / 1.109 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.063e-05/0.3509, allocations: 16 kB / 1.109 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.3513, allocations: 71.94 kB / 1.109 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.403e-05/0.3514, allocations: 52.94 kB / 1.109 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.3515, allocations: 23.98 kB / 1.109 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008006/0.3523, allocations: 0.5867 MB / 1.109 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3523, allocations: 0 / 1.109 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001015/0.3533, allocations: 410.3 kB / 1.11 GB, free: 2.277 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.0002414/0.3535, allocations: 131 kB / 1.11 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002396/0.3559, allocations: 1.405 MB / 1.111 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.356, allocations: 0.5625 kB / 1.111 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007363/0.3567, allocations: 401.6 kB / 1.112 GB, free: 332 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3578, allocations: 242.2 kB / 1.112 GB, free: 88 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.361, allocations: 2.405 MB / 1.114 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006128/0.3616, allocations: 1.074 MB / 1.115 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005177/0.3621, allocations: 127.9 kB / 1.115 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.3624, allocations: 79.42 kB / 1.115 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of SimCode: time 4.3e-07/0.3624, allocations: 4 kB / 1.115 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.02075/0.3831, allocations: 11.5 MB / 1.127 GB, free: 0.957 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)