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.233/2.233, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001508/0.001508, allocations: 178.8 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.43/2.43, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001106/0.001106, allocations: 96.41 kB / 0.6811 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004701, allocations: 12.94 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.219, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2342/0.4533, allocations: 134.4 MB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.4536, allocations: 87.89 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09253/0.5462, allocations: 21.89 MB / 1.052 GB, free: 4.926 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.875e-06/0.5463, allocations: 0 / 1.052 GB, free: 4.926 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001118/0.5464, allocations: 32 kB / 1.052 GB, free: 4.895 MB / 0.698 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.004669/0.5511, allocations: 1.509 MB / 1.053 GB, free: 3.328 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.5511, allocations: 8.031 kB / 1.053 GB, free: 3.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004216/0.5516, allocations: 162.1 kB / 1.053 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/0.5548, allocations: 0.7696 MB / 1.054 GB, free: 2.348 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.555, allocations: 82.08 kB / 1.054 GB, free: 2.266 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004902/0.5555, allocations: 123.8 kB / 1.054 GB, free: 2.145 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005993/0.5615, allocations: 1.106 MB / 1.055 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-05/0.5616, allocations: 0 / 1.055 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/0.5619, allocations: 47.94 kB / 1.055 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.209e-05/0.5619, allocations: 24 kB / 1.055 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6118/1.174, allocations: 0.907 MB / 1.056 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008696/1.182, allocations: 3.935 MB / 1.06 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004584/1.187, allocations: 1.156 MB / 1.061 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.221e-05/1.187, allocations: 10.98 kB / 1.061 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0016/1.189, allocations: 477.8 kB / 1.062 GB, free: 141.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=88): time 4.308e-06/1.189, allocations: 0 / 1.062 GB, free: 141.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=88): time 0.004253/1.193, allocations: 1.185 MB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.973e-05/1.193, allocations: 220.2 kB / 1.063 GB, free: 140.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/1.195, allocations: 0.778 MB / 1.064 GB, free: 140.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000214/1.195, allocations: 45.95 kB / 1.064 GB, free: 140.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005362/1.196, allocations: 0.5382 MB / 1.064 GB, free: 140.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003275/1.196, allocations: 296.3 kB / 1.065 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.906e-05/1.196, allocations: 14.44 kB / 1.065 GB, free: 140.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.207e-05/1.196, allocations: 347.1 kB / 1.065 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/1.198, allocations: 348.2 kB / 1.065 GB, free: 140.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/1.199, allocations: 0.5029 MB / 1.066 GB, free: 139.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/1.201, allocations: 396.4 kB / 1.066 GB, free: 139.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/1.201, allocations: 0.8125 kB / 1.066 GB, free: 139.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003716/1.204, allocations: 0.9946 MB / 1.067 GB, free: 139.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/1.205, allocations: 461.9 kB / 1.068 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.205, allocations: 0.8125 kB / 1.068 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/1.205, allocations: 6.078 kB / 1.068 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/1.206, allocations: 215.2 kB / 1.068 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/1.206, allocations: 4.734 kB / 1.068 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/1.208, allocations: 161.4 kB / 1.068 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/1.208, allocations: 27.91 kB / 1.068 GB, free: 139.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.208, allocations: 4.453 kB / 1.068 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002102/1.21, allocations: 0.682 MB / 1.069 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.21, allocations: 6.734 kB / 1.069 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/1.21, allocations: 8.891 kB / 1.069 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/1.211, allocations: 170.3 kB / 1.069 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/1.211, allocations: 8.453 kB / 1.069 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/1.213, allocations: 129.7 kB / 1.069 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-05/1.213, allocations: 24.12 kB / 1.069 GB, free: 139.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.0008116/1.213, allocations: 330.1 kB / 1.069 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/1.214, allocations: 111.2 kB / 1.069 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000307/1.214, allocations: 124.9 kB / 1.07 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/1.214, allocations: 13.05 kB / 1.07 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/1.214, allocations: 0.8125 kB / 1.07 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/1.214, allocations: 8.312 kB / 1.07 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/1.216, allocations: 0.9902 MB / 1.071 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/1.216, allocations: 0.8438 kB / 1.071 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/1.218, allocations: 190.8 kB / 1.071 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/1.218, allocations: 3.469 kB / 1.071 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.959e-05/1.218, allocations: 21.05 kB / 1.071 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.26e-05/1.218, allocations: 6.453 kB / 1.071 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.218, allocations: 3.953 kB / 1.071 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005212/1.223, allocations: 1.362 MB / 1.072 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000457/1.224, allocations: 200.4 kB / 1.072 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/1.224, allocations: 20.31 kB / 1.072 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/1.225, allocations: 89.78 kB / 1.072 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/1.225, allocations: 59.02 kB / 1.072 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.802e-05/1.225, allocations: 23.17 kB / 1.072 GB, free: 138.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00158/1.227, allocations: 0.6042 MB / 1.073 GB, free: 138.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.6e-07/1.227, allocations: 0 / 1.073 GB, free: 138.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002474/1.23, allocations: 379.7 kB / 1.073 GB, free: 138.2 MB / 0.698 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 (88): * Single equations (assignments): 86 * 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.0003038/1.23, allocations: 143.4 kB / 1.074 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004399/1.234, allocations: 1.223 MB / 1.075 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.234, allocations: 0 / 1.075 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/1.236, allocations: 431.8 kB / 1.075 GB, free: 138 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/1.238, allocations: 237.9 kB / 1.075 GB, free: 138 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007527/1.246, allocations: 2.263 MB / 1.078 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/1.247, allocations: 1.108 MB / 1.079 GB, free: 136.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002037/1.249, allocations: 136.7 kB / 1.079 GB, free: 136.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007065/1.25, allocations: 81.02 kB / 1.079 GB, free: 136.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.372e-06/1.25, allocations: 1.094 kB / 1.079 GB, free: 136.1 MB / 0.698 GB Notification: Performance of Templates: time 0.03447/1.285, allocations: 10.38 MB / 1.089 GB, free: 135.6 MB / 0.698 GB