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.363/2.363, allocations: 253.2 MB / 260.6 MB, free: 7.406 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 183.9 kB / 319.9 MB, free: 3.039 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.156/2.156, allocations: 205.5 MB / 0.5708 GB, free: 15.18 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.001086/0.001086, allocations: 89.7 kB / 0.6751 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.903e-05/2.901e-05, allocations: 12 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2001, allocations: 106.3 MB / 0.8887 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8842/1.084, allocations: 134.6 MB / 1.02 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/1.085, allocations: 80.58 kB / 1.02 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.09857/1.183, allocations: 18.39 MB / 1.038 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.957e-06/1.183, allocations: 0 / 1.038 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001557/1.184, allocations: 24 kB / 1.038 GB, free: 3.227 MB / 0.6511 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.004536/1.188, allocations: 1.114 MB / 1.039 GB, free: 2.137 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.658e-05/1.188, allocations: 8.031 kB / 1.039 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006453/1.189, allocations: 134.4 kB / 1.039 GB, free: 1.996 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/1.192, allocations: 0.6455 MB / 1.04 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.13e-05/1.192, allocations: 32 kB / 1.04 GB, free: 1.387 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/1.192, allocations: 66.66 kB / 1.04 GB, free: 1.324 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002637/1.195, allocations: 0.533 MB / 1.041 GB, free: 1.004 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003031/1.198, allocations: 0.7615 MB / 1.041 GB, free: 412 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.965e-05/1.198, allocations: 7.938 kB / 1.041 GB, free: 404 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/1.198, allocations: 0 / 1.041 GB, free: 404 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.038e-05/1.198, allocations: 24 kB / 1.041 GB, free: 380 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0114/1.21, allocations: 3.225 MB / 1.045 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/1.212, allocations: 0.6042 MB / 1.045 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/1.213, allocations: 331 kB / 1.046 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.212e-05/1.213, allocations: 8.781 kB / 1.046 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/1.214, allocations: 291.6 kB / 1.046 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 7.815e-06/1.214, allocations: 0 / 1.046 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.002158/1.216, allocations: 0.5238 MB / 1.046 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/1.217, allocations: 166.9 kB / 1.046 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/1.218, allocations: 0.498 MB / 1.047 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003586/1.219, allocations: 25.7 kB / 1.047 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001351/1.22, allocations: 473.1 kB / 1.047 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007062/1.221, allocations: 254.6 kB / 1.048 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/1.221, allocations: 0 / 1.048 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0004/1.221, allocations: 333.5 kB / 1.048 GB, free: 11 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007667/1.222, allocations: 185.9 kB / 1.048 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006784/1.223, allocations: 309.5 kB / 1.048 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006405/1.224, allocations: 224.8 kB / 1.049 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/1.224, allocations: 4 kB / 1.049 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001674/1.225, allocations: 0.5921 MB / 1.049 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002569/1.226, allocations: 463 kB / 1.05 GB, free: 9.594 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.226, allocations: 4 kB / 1.05 GB, free: 9.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/1.226, allocations: 8 kB / 1.05 GB, free: 9.582 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/1.228, allocations: 170.6 kB / 1.05 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.162e-05/1.228, allocations: 4 kB / 1.05 GB, free: 9.418 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/1.229, allocations: 83.48 kB / 1.05 GB, free: 9.336 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/1.229, allocations: 26.55 kB / 1.05 GB, free: 9.316 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/1.229, allocations: 4 kB / 1.05 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002366/1.232, allocations: 474.3 kB / 1.05 GB, free: 8.992 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.232, allocations: 0 / 1.05 GB, free: 8.992 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/1.232, allocations: 4 kB / 1.05 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/1.234, allocations: 137.1 kB / 1.051 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.309e-05/1.234, allocations: 4 kB / 1.051 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/1.235, allocations: 67.53 kB / 1.051 GB, free: 8.789 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.235, allocations: 22.88 kB / 1.051 GB, free: 8.773 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,greEquThr.y,intWitRes4.trigger_internal,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete 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.0003377/1.235, allocations: 124.5 kB / 1.051 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003083/1.236, allocations: 75.06 kB / 1.051 GB, free: 8.574 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/1.236, allocations: 86.56 kB / 1.051 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/1.236, allocations: 12 kB / 1.051 GB, free: 8.508 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/1.236, allocations: 0 / 1.051 GB, free: 8.508 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/1.236, allocations: 3.984 kB / 1.051 GB, free: 8.504 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004114/1.24, allocations: 1.425 MB / 1.052 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/1.24, allocations: 0 / 1.052 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/1.242, allocations: 150.4 kB / 1.052 GB, free: 7.312 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.769e-05/1.242, allocations: 7.938 kB / 1.052 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/1.242, allocations: 3.938 kB / 1.052 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/1.242, allocations: 4 kB / 1.053 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.242, allocations: 80 / 1.053 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/1.244, allocations: 0.9162 MB / 1.053 GB, free: 6.637 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/1.244, allocations: 163.8 kB / 1.054 GB, free: 6.461 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/1.244, allocations: 0 / 1.054 GB, free: 6.461 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006768/1.245, allocations: 43.97 kB / 1.054 GB, free: 6.418 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/1.245, allocations: 44.22 kB / 1.054 GB, free: 6.379 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.878e-05/1.245, allocations: 18.48 kB / 1.054 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006946/1.246, allocations: 376.9 kB / 1.054 GB, free: 6.098 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.9e-07/1.246, allocations: 4 kB / 1.054 GB, free: 6.094 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001204/1.247, allocations: 298.3 kB / 1.054 GB, free: 5.801 MB / 0.6667 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 (greEquThr.y,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.000269/1.247, allocations: 113.2 kB / 1.054 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002024/1.249, allocations: 0.811 MB / 1.055 GB, free: 5.137 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/1.25, allocations: 0 / 1.055 GB, free: 5.137 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006001/1.25, allocations: 262.6 kB / 1.055 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/1.252, allocations: 190.2 kB / 1.056 GB, free: 4.812 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/1.255, allocations: 1.232 MB / 1.057 GB, free: 3.695 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008837/1.256, allocations: 1.042 MB / 1.058 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00109/1.257, allocations: 130 kB / 1.058 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/1.257, allocations: 58.8 kB / 1.058 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of SimCode: time 4.258e-06/1.257, allocations: 0 / 1.058 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of Templates: time 0.02822/1.285, allocations: 8.24 MB / 1.066 GB, free: 10.28 MB / 0.6823 GB