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.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.284/2.284, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.001628/0.001628, allocations: 186.4 kB / 325.6 MB, free: 2.828 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.452/2.452, allocations: 205.4 MB / 0.5766 GB, free: 20.79 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.001476/0.001476, allocations: 92.88 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004731, allocations: 19.72 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2694, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.005976/0.2754, allocations: 3.712 MB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003813/0.2793, allocations: 1.362 MB / 0.9039 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009884/0.2804, allocations: 27.88 kB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.2806, allocations: 83.02 kB / 0.904 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.2818, allocations: 169.2 kB / 0.9041 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009516/0.2827, allocations: 275.7 kB / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001732/0.2845, allocations: 0.7178 MB / 0.9051 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009796/0.2855, allocations: 477.2 kB / 0.9055 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004159/0.286, allocations: 266.4 kB / 0.9058 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003562/0.2863, allocations: 321.8 kB / 0.9061 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.2865, allocations: 28 kB / 0.9061 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.629e-05/0.2866, allocations: 28 kB / 0.9062 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.2867, allocations: 143.2 kB / 0.9063 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.2869, allocations: 185.1 kB / 0.9065 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.288, allocations: 1.072 MB / 0.9075 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2881, allocations: 0 / 0.9075 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.865e-06/0.2881, allocations: 0 / 0.9075 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.632e-05/0.2881, allocations: 0 / 0.9075 GB, free: 56.59 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.003229/0.2913, allocations: 1.297 MB / 0.9088 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.2914, allocations: 8.031 kB / 0.9088 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/0.2917, allocations: 134.4 kB / 0.9089 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.293, allocations: 0.6257 MB / 0.9095 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.241e-05/0.2931, allocations: 78 kB / 0.9096 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.2933, allocations: 96 kB / 0.9097 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/0.2958, allocations: 0.967 MB / 0.9106 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.092e-05/0.2959, allocations: 3.938 kB / 0.9106 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.296, allocations: 44 kB / 0.9107 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.296, allocations: 28 kB / 0.9107 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.2982, allocations: 0.6909 MB / 0.9114 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00668/0.305, allocations: 3.584 MB / 0.9149 GB, free: 48.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/0.307, allocations: 0.7301 MB / 0.9156 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.548e-05/0.3071, allocations: 8.656 kB / 0.9156 GB, free: 48.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.3081, allocations: 364.4 kB / 0.916 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=74): time 3.446e-06/0.3082, allocations: 4 kB / 0.916 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74): time 0.002686/0.3108, allocations: 0.8873 MB / 0.9168 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.311, allocations: 162.9 kB / 0.917 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.3121, allocations: 0.6767 MB / 0.9176 GB, free: 45.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.3122, allocations: 45.64 kB / 0.9177 GB, free: 45.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/0.3126, allocations: 483.8 kB / 0.9182 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.3128, allocations: 252.4 kB / 0.9184 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.3129, allocations: 16 kB / 0.9184 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.3129, allocations: 334 kB / 0.9187 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000857/0.3138, allocations: 257.9 kB / 0.919 GB, free: 44.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009181/0.3147, allocations: 399.7 kB / 0.9194 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008967/0.3157, allocations: 302.9 kB / 0.9196 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.3157, allocations: 3.953 kB / 0.9196 GB, free: 43.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0022/0.3179, allocations: 0.7776 MB / 0.9204 GB, free: 42.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.3181, allocations: 0.6162 MB / 0.921 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.3181, allocations: 0 / 0.921 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.3182, allocations: 8 kB / 0.921 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.3194, allocations: 167.8 kB / 0.9212 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.3194, allocations: 4 kB / 0.9212 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007984/0.3202, allocations: 119.2 kB / 0.9213 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.557e-05/0.3203, allocations: 28 kB / 0.9213 GB, free: 42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3203, allocations: 4 kB / 0.9213 GB, free: 42 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001294/0.3216, allocations: 0.5582 MB / 0.9219 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3217, allocations: 0 / 0.9219 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3217, allocations: 8.188 kB / 0.9219 GB, free: 41.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009402/0.3226, allocations: 135.8 kB / 0.922 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.3227, allocations: 7.938 kB / 0.922 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006408/0.3233, allocations: 91.25 kB / 0.9221 GB, free: 41.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/0.3234, allocations: 24 kB / 0.9221 GB, free: 41.18 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (intWitRes4.trigger_internal,$whenCondition1,limPIDInp.trigger,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * 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.0005441/0.3239, allocations: 309 kB / 0.9224 GB, free: 40.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.3241, allocations: 94.86 kB / 0.9225 GB, free: 40.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.3243, allocations: 92.81 kB / 0.9226 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3243, allocations: 8 kB / 0.9226 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.3244, allocations: 0 / 0.9226 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.3244, allocations: 3.984 kB / 0.9226 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003476/0.3279, allocations: 1.679 MB / 0.9242 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.3279, allocations: 0 / 0.9242 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.3291, allocations: 135.8 kB / 0.9244 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/0.3291, allocations: 4 kB / 0.9244 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.4e-05/0.3292, allocations: 19.98 kB / 0.9244 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.3292, allocations: 8 kB / 0.9244 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3292, allocations: 0 / 0.9244 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002932/0.3321, allocations: 1.092 MB / 0.9255 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.3324, allocations: 175.8 kB / 0.9256 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.3326, allocations: 20.19 kB / 0.9257 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006231/0.3333, allocations: 51.97 kB / 0.9257 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.3334, allocations: 40.53 kB / 0.9258 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.3335, allocations: 28.08 kB / 0.9258 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007817/0.3343, allocations: 471 kB / 0.9262 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.7e-07/0.3343, allocations: 4 kB / 0.9262 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001136/0.3354, allocations: 338.3 kB / 0.9266 GB, free: 36.54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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 Backend phase and start with SimCode phase: time 0.0002245/0.3357, allocations: 125.2 kB / 0.9267 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002695/0.3384, allocations: 0.9465 MB / 0.9276 GB, free: 35.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.3385, allocations: 0 / 0.9276 GB, free: 35.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009372/0.3394, allocations: 324.2 kB / 0.9279 GB, free: 35.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.3409, allocations: 189.1 kB / 0.9281 GB, free: 34.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/0.3451, allocations: 2.039 MB / 0.9301 GB, free: 32.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005395/0.3457, allocations: 1.041 MB / 0.9311 GB, free: 31.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006945/0.3465, allocations: 102.3 kB / 0.9312 GB, free: 31.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.3468, allocations: 63.42 kB / 0.9313 GB, free: 31.67 MB / 0.6042 GB Notification: Performance of SimCode: time 9.82e-07/0.3468, allocations: 0 / 0.9313 GB, free: 31.67 MB / 0.6042 GB Notification: Performance of Templates: time 0.02384/0.3706, allocations: 7.799 MB / 0.9389 GB, free: 23.95 MB / 0.6042 GB