Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.905/4.905, allocations: 0.5623 GB / 0.5775 GB, free: 3.352 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002707/0.002706, allocations: 357.4 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.328/4.328, allocations: 410.7 MB / 1.113 GB, free: 6.051 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001876/0.001876, allocations: 187.6 kB / 1.226 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000497/0.0004972, allocations: 12 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7356/0.7361, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2085/0.9447, allocations: 142.7 MB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003577/0.9451, allocations: 91.94 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.06518/1.01, allocations: 17.42 MB / 1.618 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.076e-06/1.01, allocations: 0 / 1.618 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.726e-05/1.01, allocations: 23.66 kB / 1.618 GB, free: 124.2 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.003422/1.014, allocations: 1.248 MB / 1.619 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/1.014, allocations: 11.62 kB / 1.619 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004261/1.014, allocations: 126.5 kB / 1.619 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/1.016, allocations: 0.6007 MB / 1.62 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.362e-05/1.016, allocations: 70 kB / 1.62 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/1.016, allocations: 105.6 kB / 1.62 GB, free: 122 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/1.019, allocations: 0.9213 MB / 1.621 GB, free: 121 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/1.019, allocations: 3.938 kB / 1.621 GB, free: 121 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/1.019, allocations: 36.81 kB / 1.621 GB, free: 121 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/1.019, allocations: 24 kB / 1.621 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/1.021, allocations: 0.6998 MB / 1.622 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006353/1.028, allocations: 2.735 MB / 1.624 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/1.03, allocations: 0.7398 MB / 1.625 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/1.031, allocations: 417.5 kB / 1.625 GB, free: 116.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.225e-05/1.031, allocations: 8.656 kB / 1.625 GB, free: 116.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/1.032, allocations: 388.5 kB / 1.626 GB, free: 116 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=77): time 4.368e-06/1.032, allocations: 0 / 1.626 GB, free: 116 MB / 0.8542 GB Notification: Performance of matching and sorting (n=77): time 0.002872/1.035, allocations: 0.9092 MB / 1.627 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/1.035, allocations: 166.9 kB / 1.627 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/1.037, allocations: 0.6497 MB / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000189/1.037, allocations: 45.64 kB / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/1.037, allocations: 448.9 kB / 1.628 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/1.037, allocations: 260.1 kB / 1.628 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/1.037, allocations: 17.41 kB / 1.628 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.235e-05/1.038, allocations: 337.9 kB / 1.629 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008777/1.038, allocations: 253.5 kB / 1.629 GB, free: 112.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000986/1.039, allocations: 372.6 kB / 1.629 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009581/1.04, allocations: 295.6 kB / 1.629 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.041, allocations: 0 / 1.629 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002225/1.043, allocations: 0.7451 MB / 1.63 GB, free: 111.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.236e-05/1.043, allocations: 112 kB / 1.63 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.043, allocations: 3.938 kB / 1.63 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/1.043, allocations: 4 kB / 1.63 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/1.044, allocations: 171.3 kB / 1.63 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/1.044, allocations: 4 kB / 1.63 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008311/1.045, allocations: 114.2 kB / 1.631 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/1.045, allocations: 20 kB / 1.631 GB, free: 111 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/1.045, allocations: 4 kB / 1.631 GB, free: 111 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001221/1.046, allocations: 0.5374 MB / 1.631 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.046, allocations: 3.938 kB / 1.631 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/1.046, allocations: 4 kB / 1.631 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000986/1.047, allocations: 131.8 kB / 1.631 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/1.047, allocations: 4 kB / 1.631 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/1.048, allocations: 81.41 kB / 1.631 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/1.048, allocations: 24 kB / 1.631 GB, free: 110.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0005915/1.049, allocations: 305.8 kB / 1.632 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/1.049, allocations: 84.09 kB / 1.632 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/1.049, allocations: 92.66 kB / 1.632 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/1.049, allocations: 5.188 kB / 1.632 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.049, allocations: 4 kB / 1.632 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/1.049, allocations: 3.984 kB / 1.632 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003582/1.053, allocations: 1.705 MB / 1.633 GB, free: 108 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/1.053, allocations: 0.8125 kB / 1.633 GB, free: 108 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.054, allocations: 145.7 kB / 1.634 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/1.054, allocations: 4 kB / 1.634 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.189e-05/1.054, allocations: 17 kB / 1.634 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/1.054, allocations: 0 / 1.634 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.054, allocations: 0 / 1.634 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003/1.057, allocations: 1.138 MB / 1.635 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/1.058, allocations: 171.8 kB / 1.635 GB, free: 106.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/1.058, allocations: 16.5 kB / 1.635 GB, free: 106.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006557/1.058, allocations: 59.42 kB / 1.635 GB, free: 106.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/1.058, allocations: 41.2 kB / 1.635 GB, free: 106.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.093e-05/1.059, allocations: 23.98 kB / 1.635 GB, free: 106.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000795/1.059, allocations: 455.5 kB / 1.635 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.41e-07/1.059, allocations: 1.469 kB / 1.635 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00104/1.06, allocations: 322.5 kB / 1.636 GB, free: 105.6 MB / 0.8542 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: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * 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.0002243/1.061, allocations: 137.4 kB / 1.636 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002574/1.063, allocations: 0.9349 MB / 1.637 GB, free: 104.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.063, allocations: 0 / 1.637 GB, free: 104.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009405/1.064, allocations: 340.6 kB / 1.637 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/1.066, allocations: 171.1 kB / 1.637 GB, free: 104.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/1.07, allocations: 1.982 MB / 1.639 GB, free: 102.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/1.07, allocations: 1.029 MB / 1.64 GB, free: 101 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007343/1.071, allocations: 100.4 kB / 1.64 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/1.071, allocations: 63.42 kB / 1.64 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.313e-06/1.071, allocations: 0 / 1.64 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.02305/1.094, allocations: 7.398 MB / 1.648 GB, free: 93.57 MB / 0.8542 GB