Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.377/2.377, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 179.1 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.406/2.406, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 104.7 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004747, allocations: 17.88 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2472, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.006363/0.2536, allocations: 4.667 MB / 0.9035 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004897/0.2586, allocations: 1.725 MB / 0.9051 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.2601, allocations: 31.88 kB / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005207/0.2607, allocations: 114.6 kB / 0.9053 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.2624, allocations: 252.8 kB / 0.9055 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.264, allocations: 379.5 kB / 0.9059 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00251/0.2666, allocations: 0.9103 MB / 0.9068 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.2677, allocations: 0.4902 MB / 0.9073 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006529/0.2684, allocations: 342.1 kB / 0.9076 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004762/0.2689, allocations: 401.3 kB / 0.908 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.269, allocations: 36 kB / 0.908 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.2692, allocations: 36 kB / 0.908 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.2693, allocations: 163.2 kB / 0.9082 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.2695, allocations: 217 kB / 0.9084 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.271, allocations: 1.294 MB / 0.9097 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.271, allocations: 0 / 0.9097 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.545e-06/0.271, allocations: 0 / 0.9097 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.085e-05/0.271, allocations: 0 / 0.9097 GB, free: 54.38 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.00434/0.2754, allocations: 1.525 MB / 0.9111 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.2755, allocations: 8.031 kB / 0.9112 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004019/0.2759, allocations: 166 kB / 0.9113 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.2774, allocations: 0.7307 MB / 0.912 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.588e-05/0.2775, allocations: 82.08 kB / 0.9121 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.2778, allocations: 115.9 kB / 0.9122 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/0.2806, allocations: 1.095 MB / 0.9133 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.488e-05/0.2807, allocations: 4 kB / 0.9133 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.2809, allocations: 47.98 kB / 0.9133 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.2809, allocations: 28 kB / 0.9134 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003015/0.2839, allocations: 0.8744 MB / 0.9142 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007717/0.2917, allocations: 4.144 MB / 0.9183 GB, free: 45.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004041/0.2958, allocations: 1.108 MB / 0.9193 GB, free: 44.13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.372e-05/0.2959, allocations: 16.98 kB / 0.9194 GB, free: 44.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001475/0.2974, allocations: 453.1 kB / 0.9198 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=84): time 4.729e-06/0.2974, allocations: 0 / 0.9198 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84): time 0.003858/0.3013, allocations: 1.155 MB / 0.9209 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/0.3014, allocations: 218.6 kB / 0.9211 GB, free: 42.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.3029, allocations: 0.886 MB / 0.922 GB, free: 41.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.3031, allocations: 41.7 kB / 0.922 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000459/0.3036, allocations: 0.547 MB / 0.9226 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.3038, allocations: 287.8 kB / 0.9228 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-05/0.3039, allocations: 16 kB / 0.9229 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.304, allocations: 341.9 kB / 0.9232 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.3053, allocations: 341.8 kB / 0.9235 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.3067, allocations: 0.5242 MB / 0.924 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.3081, allocations: 390.9 kB / 0.9244 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/0.3081, allocations: 7.984 kB / 0.9244 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003122/0.3113, allocations: 0.996 MB / 0.9254 GB, free: 37.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001893/0.3115, allocations: 0.7921 MB / 0.9261 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.3115, allocations: 0 / 0.9261 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.257e-05/0.3116, allocations: 8 kB / 0.9262 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.3131, allocations: 219.7 kB / 0.9264 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.3132, allocations: 7.984 kB / 0.9264 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.3144, allocations: 175 kB / 0.9265 GB, free: 36.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.861e-05/0.3145, allocations: 28 kB / 0.9266 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3145, allocations: 4 kB / 0.9266 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00183/0.3164, allocations: 0.6912 MB / 0.9272 GB, free: 35.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3164, allocations: 3.984 kB / 0.9272 GB, free: 35.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3164, allocations: 8 kB / 0.9273 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.3176, allocations: 171.7 kB / 0.9274 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.3177, allocations: 15.89 kB / 0.9274 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009541/0.3186, allocations: 127.2 kB / 0.9276 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/0.3187, allocations: 24 kB / 0.9276 GB, free: 35.46 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006332/0.3194, allocations: 331 kB / 0.9279 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.3196, allocations: 114.6 kB / 0.928 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.3198, allocations: 119.2 kB / 0.9281 GB, free: 34.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.3199, allocations: 8 kB / 0.9281 GB, free: 34.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.3199, allocations: 7.953 kB / 0.9281 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.3199, allocations: 7.922 kB / 0.9281 GB, free: 34.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.3213, allocations: 0.9715 MB / 0.9291 GB, free: 33.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.3213, allocations: 0 / 0.9291 GB, free: 33.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/0.3228, allocations: 183.8 kB / 0.9293 GB, free: 33.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.406e-05/0.3228, allocations: 4 kB / 0.9293 GB, free: 33.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.378e-05/0.3229, allocations: 12 kB / 0.9293 GB, free: 33.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.3229, allocations: 4 kB / 0.9293 GB, free: 33.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3229, allocations: 0 / 0.9293 GB, free: 33.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004074/0.327, allocations: 1.319 MB / 0.9306 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003323/0.3274, allocations: 195.5 kB / 0.9308 GB, free: 32.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.3276, allocations: 23.88 kB / 0.9308 GB, free: 32.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000849/0.3284, allocations: 83.92 kB / 0.9309 GB, free: 32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.3286, allocations: 56.92 kB / 0.9309 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/0.3287, allocations: 16 kB / 0.9309 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00107/0.3298, allocations: 0.5995 MB / 0.9315 GB, free: 31.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3298, allocations: 0 / 0.9315 GB, free: 31.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001256/0.3311, allocations: 378.5 kB / 0.9319 GB, free: 30.95 MB / 0.6042 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,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002319/0.3313, allocations: 131.1 kB / 0.932 GB, free: 30.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003781/0.3351, allocations: 1.209 MB / 0.9332 GB, free: 29.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.3352, allocations: 0 / 0.9332 GB, free: 29.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.3366, allocations: 422.3 kB / 0.9336 GB, free: 29.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.3383, allocations: 232.3 kB / 0.9338 GB, free: 28.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004553/0.3429, allocations: 2.27 MB / 0.936 GB, free: 26.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/0.3435, allocations: 1.101 MB / 0.9371 GB, free: 25.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009365/0.3445, allocations: 140.1 kB / 0.9372 GB, free: 25.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003536/0.3448, allocations: 71.42 kB / 0.9373 GB, free: 25.33 MB / 0.6042 GB Notification: Performance of SimCode: time 1.372e-06/0.3449, allocations: 0 / 0.9373 GB, free: 25.33 MB / 0.6042 GB Notification: Performance of Templates: time 0.03002/0.3749, allocations: 10.21 MB / 0.9473 GB, free: 15.22 MB / 0.6042 GB