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.201/2.201, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001659/0.001659, allocations: 179.2 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.6/2.6, 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.001077/0.001077, allocations: 92.3 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004733, allocations: 18.41 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2084, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2277/0.4362, allocations: 134.4 MB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.4366, allocations: 83.95 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07393/0.5106, allocations: 18.54 MB / 1.048 GB, free: 8.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5106, allocations: 0 / 1.048 GB, free: 8.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001515/0.5108, allocations: 28.12 kB / 1.048 GB, free: 8.152 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004095/0.5149, allocations: 1.277 MB / 1.05 GB, free: 6.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.515, allocations: 8.031 kB / 1.05 GB, free: 6.812 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005268/0.5155, allocations: 130.4 kB / 1.05 GB, free: 6.684 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.5175, allocations: 0.649 MB / 1.05 GB, free: 5.992 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.5176, allocations: 77.94 kB / 1.05 GB, free: 5.918 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/0.5179, allocations: 103.9 kB / 1.051 GB, free: 5.816 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003069/0.521, allocations: 0.967 MB / 1.052 GB, free: 4.801 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.155e-05/0.5211, allocations: 0 / 1.052 GB, free: 4.801 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.5212, allocations: 44 kB / 1.052 GB, free: 4.758 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.5213, allocations: 28 kB / 1.052 GB, free: 4.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/0.5239, allocations: 0.7104 MB / 1.052 GB, free: 4.023 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00785/0.5318, allocations: 3.411 MB / 1.056 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6918/1.224, allocations: 0.7476 MB / 1.056 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-05/1.224, allocations: 12.44 kB / 1.056 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/1.225, allocations: 372.6 kB / 1.057 GB, free: 144.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.918e-06/1.225, allocations: 0 / 1.057 GB, free: 144.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.00292/1.228, allocations: 0.9179 MB / 1.058 GB, free: 144.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/1.228, allocations: 167.4 kB / 1.058 GB, free: 144.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/1.229, allocations: 0.593 MB / 1.058 GB, free: 144 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001567/1.229, allocations: 41.86 kB / 1.058 GB, free: 143.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/1.23, allocations: 471.4 kB / 1.059 GB, free: 143.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/1.23, allocations: 262.2 kB / 1.059 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.938e-05/1.23, allocations: 15.75 kB / 1.059 GB, free: 143.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.368e-05/1.23, allocations: 333.2 kB / 1.059 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009459/1.231, allocations: 258 kB / 1.06 GB, free: 143.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009444/1.232, allocations: 387.9 kB / 1.06 GB, free: 143.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009071/1.233, allocations: 300.5 kB / 1.06 GB, free: 143.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.233, allocations: 0 / 1.06 GB, free: 143.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002234/1.235, allocations: 0.7742 MB / 1.061 GB, free: 143.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/1.235, allocations: 458.7 kB / 1.062 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.235, allocations: 0 / 1.062 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/1.236, allocations: 5.469 kB / 1.062 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/1.237, allocations: 166.3 kB / 1.062 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/1.237, allocations: 12.98 kB / 1.062 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008447/1.238, allocations: 108.5 kB / 1.062 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/1.238, allocations: 28.56 kB / 1.062 GB, free: 142.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.238, allocations: 5.438 kB / 1.062 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001316/1.239, allocations: 0.5454 MB / 1.062 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.239, allocations: 0 / 1.062 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/1.239, allocations: 9.406 kB / 1.062 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009547/1.24, allocations: 139.9 kB / 1.063 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/1.24, allocations: 6.219 kB / 1.063 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/1.241, allocations: 84.28 kB / 1.063 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/1.241, allocations: 21.98 kB / 1.063 GB, free: 142.6 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: 6 ($whenCondition1,greEquThr.y,intWitRes4.trigger_internal,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.0005979/1.241, allocations: 313.9 kB / 1.063 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/1.242, allocations: 86.17 kB / 1.063 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/1.242, allocations: 96.89 kB / 1.063 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/1.242, allocations: 9.094 kB / 1.063 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/1.242, allocations: 0 / 1.063 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/1.242, allocations: 6.609 kB / 1.063 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/1.246, allocations: 1.706 MB / 1.065 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/1.246, allocations: 0 / 1.065 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/1.247, allocations: 146.4 kB / 1.065 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/1.247, allocations: 2.625 kB / 1.065 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-05/1.247, allocations: 21.12 kB / 1.065 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.677e-06/1.248, allocations: 2.5 kB / 1.065 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.248, allocations: 1.719 kB / 1.065 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00453/1.252, allocations: 1.139 MB / 1.066 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005389/1.253, allocations: 165.5 kB / 1.066 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002842/1.253, allocations: 13.39 kB / 1.066 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007143/1.254, allocations: 58.28 kB / 1.066 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/1.254, allocations: 43.72 kB / 1.066 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.57e-05/1.254, allocations: 19.83 kB / 1.066 GB, free: 141.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001048/1.255, allocations: 473.9 kB / 1.067 GB, free: 141.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.61e-07/1.255, allocations: 4 kB / 1.067 GB, free: 141.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001407/1.256, allocations: 327.3 kB / 1.067 GB, free: 141.5 MB / 0.698 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 () * Number of clocked 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.0002906/1.257, allocations: 135.7 kB / 1.067 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003291/1.26, allocations: 0.9483 MB / 1.068 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.26, allocations: 0.8125 kB / 1.068 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/1.261, allocations: 344.1 kB / 1.068 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/1.263, allocations: 192.1 kB / 1.069 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/1.268, allocations: 2.036 MB / 1.071 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008113/1.269, allocations: 1.043 MB / 1.072 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008571/1.27, allocations: 106.5 kB / 1.072 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/1.27, allocations: 62.12 kB / 1.072 GB, free: 139.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.093e-06/1.27, allocations: 1.062 kB / 1.072 GB, free: 139.6 MB / 0.698 GB Notification: Performance of Templates: time 0.02808/1.298, allocations: 7.937 MB / 1.08 GB, free: 139.2 MB / 0.698 GB