Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.591/1.591, allocations: 285.4 MB / 298 MB, free: 6.047 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 180.8 kB / 366.4 MB, free: 2.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.1 MB / 0.6248 GB, free: 7.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009277/0.0009275, allocations: 96.44 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.913e-05/3.917e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8115/0.8115, allocations: 115.3 MB / 0.9709 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2199/1.032, allocations: 139.4 MB / 1.107 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/1.032, allocations: 75.59 kB / 1.107 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03549/1.067, allocations: 13.76 MB / 1.121 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.954e-06/1.067, allocations: 0 / 1.121 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.105e-05/1.067, allocations: 24 kB / 1.121 GB, free: 14.67 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001762/1.069, allocations: 1.036 MB / 1.122 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/1.069, allocations: 12.02 kB / 1.122 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/1.07, allocations: 114.7 kB / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/1.071, allocations: 0.586 MB / 1.122 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.629e-05/1.071, allocations: 70 kB / 1.122 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/1.071, allocations: 91.91 kB / 1.122 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/1.072, allocations: 0.7887 MB / 1.123 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/1.072, allocations: 11.27 kB / 1.123 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.065e-05/1.072, allocations: 36 kB / 1.123 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/1.072, allocations: 20 kB / 1.123 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009315/1.073, allocations: 0.5233 MB / 1.124 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003717/1.077, allocations: 2.519 MB / 1.126 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/1.078, allocations: 1.206 MB / 1.127 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/1.079, allocations: 314.6 kB / 1.128 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.965e-05/1.079, allocations: 12.55 kB / 1.128 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004872/1.079, allocations: 295.2 kB / 1.128 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 2.955e-06/1.079, allocations: 4 kB / 1.128 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.0008365/1.08, allocations: 0.4943 MB / 1.129 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.925e-05/1.08, allocations: 162.8 kB / 1.129 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006608/1.081, allocations: 0.523 MB / 1.129 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/1.081, allocations: 45.69 kB / 1.129 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/1.081, allocations: 408.3 kB / 1.13 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/1.081, allocations: 240.5 kB / 1.13 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/1.081, allocations: 8 kB / 1.13 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.081, allocations: 334 kB / 1.13 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/1.082, allocations: 165.6 kB / 1.13 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/1.082, allocations: 281.1 kB / 1.131 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/1.082, allocations: 202 kB / 1.131 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/1.082, allocations: 3.953 kB / 1.131 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008074/1.083, allocations: 0.5502 MB / 1.131 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-05/1.083, allocations: 185.2 kB / 1.132 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.083, allocations: 4 kB / 1.132 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/1.083, allocations: 0 / 1.132 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005955/1.084, allocations: 151.8 kB / 1.132 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/1.084, allocations: 7.984 kB / 1.132 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/1.084, allocations: 107.3 kB / 1.132 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/1.084, allocations: 21.81 kB / 1.132 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.084, allocations: 4 kB / 1.132 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006415/1.085, allocations: 450.7 kB / 1.132 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/1.085, allocations: 0 / 1.132 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.56e-06/1.085, allocations: 4 kB / 1.132 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/1.086, allocations: 125.8 kB / 1.132 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/1.086, allocations: 0 / 1.132 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/1.086, allocations: 83.38 kB / 1.132 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/1.086, allocations: 16 kB / 1.132 GB, free: 2.074 MB / 0.7292 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0001423/1.086, allocations: 140.9 kB / 1.133 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.29e-05/1.086, allocations: 79.02 kB / 1.133 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/1.086, allocations: 87.19 kB / 1.133 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/1.086, allocations: 8 kB / 1.133 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/1.086, allocations: 0 / 1.133 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/1.086, allocations: 7.984 kB / 1.133 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/1.088, allocations: 1.496 MB / 1.134 GB, free: 192 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/1.088, allocations: 2.875 kB / 1.134 GB, free: 192 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/1.089, allocations: 135.8 kB / 1.134 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/1.089, allocations: 4 kB / 1.134 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/1.089, allocations: 12 kB / 1.134 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/1.089, allocations: 4 kB / 1.134 GB, free: 36 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.089, allocations: 0 / 1.134 GB, free: 36 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/1.09, allocations: 0.8778 MB / 1.135 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/1.09, allocations: 156 kB / 1.135 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/1.091, allocations: 19.56 kB / 1.135 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/1.091, allocations: 55.95 kB / 1.135 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/1.091, allocations: 44.53 kB / 1.135 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/1.091, allocations: 23.94 kB / 1.136 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004744/1.091, allocations: 419.2 kB / 1.136 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/1.091, allocations: 0 / 1.136 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006592/1.092, allocations: 291.2 kB / 1.136 GB, free: 14.14 MB / 0.7448 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 69 * 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.0002247/1.092, allocations: 127.2 kB / 1.136 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001131/1.094, allocations: 0.736 MB / 1.137 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.094, allocations: 4 kB / 1.137 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003351/1.094, allocations: 247.2 kB / 1.137 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/1.095, allocations: 135.6 kB / 1.137 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/1.096, allocations: 1.132 MB / 1.139 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/1.097, allocations: 1.003 MB / 1.139 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004694/1.097, allocations: 124.1 kB / 1.14 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/1.098, allocations: 51.36 kB / 1.14 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/1.098, allocations: 4 kB / 1.14 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.01537/1.113, allocations: 7.699 MB / 1.147 GB, free: 2.98 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)