Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 293 MB / 309 MB, free: 4.793 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.001135/0.001135, allocations: 176.6 kB / 378.7 MB, free: 1.012 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.83/1.83, allocations: 205.4 MB / 0.6383 GB, free: 9.176 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.0009632/0.0009626, allocations: 89.77 kB / 0.7527 GB, free: 62.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004039, allocations: 15.98 kB / 0.8768 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2799, allocations: 116.4 MB / 0.9905 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7198/0.9998, allocations: 140.9 MB / 1.128 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/1, allocations: 74.36 kB / 1.128 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04002/1.04, allocations: 16.02 MB / 1.144 GB, free: 22.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.375e-06/1.04, allocations: 0 / 1.144 GB, free: 22.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.413e-05/1.04, allocations: 24 kB / 1.144 GB, free: 22.7 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002154/1.042, allocations: 1.249 MB / 1.145 GB, free: 21.53 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.043, allocations: 8.031 kB / 1.145 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/1.043, allocations: 124.9 kB / 1.145 GB, free: 21.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009262/1.044, allocations: 0.6736 MB / 1.146 GB, free: 20.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/1.044, allocations: 63.5 kB / 1.146 GB, free: 20.71 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/1.044, allocations: 85.55 kB / 1.146 GB, free: 20.63 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/1.045, allocations: 0.841 MB / 1.147 GB, free: 19.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/1.045, allocations: 3.938 kB / 1.147 GB, free: 19.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/1.045, allocations: 37.69 kB / 1.147 GB, free: 19.86 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/1.045, allocations: 24 kB / 1.147 GB, free: 19.84 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/1.046, allocations: 0.6627 MB / 1.147 GB, free: 19.25 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003746/1.05, allocations: 2.669 MB / 1.15 GB, free: 17.03 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/1.052, allocations: 0.775 MB / 1.151 GB, free: 16.33 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005111/1.052, allocations: 336.9 kB / 1.151 GB, free: 16.04 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.042e-05/1.052, allocations: 9.969 kB / 1.151 GB, free: 16.03 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006985/1.053, allocations: 366.1 kB / 1.152 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 3.897e-06/1.053, allocations: 0.8438 kB / 1.152 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.001701/1.055, allocations: 0.8582 MB / 1.152 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/1.055, allocations: 189.8 kB / 1.153 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008349/1.056, allocations: 0.7196 MB / 1.153 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.887e-05/1.056, allocations: 41.7 kB / 1.153 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/1.056, allocations: 440.6 kB / 1.154 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/1.056, allocations: 206.6 kB / 1.154 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/1.056, allocations: 12 kB / 1.154 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.507e-05/1.056, allocations: 333.8 kB / 1.154 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005238/1.057, allocations: 272.7 kB / 1.155 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005783/1.058, allocations: 414 kB / 1.155 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009601/1.058, allocations: 0.6042 MB / 1.155 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/1.058, allocations: 0 / 1.155 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00132/1.06, allocations: 0.8107 MB / 1.156 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.382e-05/1.06, allocations: 160.8 kB / 1.156 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/1.06, allocations: 0 / 1.156 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/1.06, allocations: 4 kB / 1.156 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/1.06, allocations: 151.6 kB / 1.157 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/1.061, allocations: 7.938 kB / 1.157 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005716/1.061, allocations: 150.1 kB / 1.157 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/1.061, allocations: 36.11 kB / 1.157 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/1.061, allocations: 4 kB / 1.157 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007882/1.062, allocations: 0.5614 MB / 1.157 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/1.062, allocations: 0 / 1.157 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.99e-06/1.062, allocations: 8 kB / 1.157 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/1.062, allocations: 106.2 kB / 1.157 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/1.062, allocations: 4 kB / 1.157 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/1.063, allocations: 120.1 kB / 1.158 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/1.063, allocations: 26.31 kB / 1.158 GB, free: 9.895 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * 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.0004263/1.063, allocations: 300.3 kB / 1.158 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/1.063, allocations: 90.81 kB / 1.158 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/1.064, allocations: 94.98 kB / 1.158 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/1.064, allocations: 4 kB / 1.158 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.064, allocations: 1.781 kB / 1.158 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/1.064, allocations: 1.5 kB / 1.158 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/1.065, allocations: 1.467 MB / 1.159 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.065, allocations: 0.6875 kB / 1.159 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/1.066, allocations: 127.5 kB / 1.16 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.066, allocations: 4 kB / 1.16 GB, free: 8.039 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/1.066, allocations: 14.81 kB / 1.16 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/1.066, allocations: 6.438 kB / 1.16 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.066, allocations: 7.875 kB / 1.16 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/1.068, allocations: 1.059 MB / 1.161 GB, free: 6.977 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/1.068, allocations: 171.9 kB / 1.161 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.465e-05/1.068, allocations: 12 kB / 1.161 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/1.068, allocations: 59.95 kB / 1.161 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/1.068, allocations: 36.5 kB / 1.161 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/1.068, allocations: 16 kB / 1.161 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005321/1.069, allocations: 0.5029 MB / 1.161 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/1.069, allocations: 0 / 1.161 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007411/1.07, allocations: 307.8 kB / 1.162 GB, free: 5.871 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002642/1.07, allocations: 139.1 kB / 1.162 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001538/1.071, allocations: 1.049 MB / 1.163 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.071, allocations: 0 / 1.163 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004693/1.072, allocations: 307.4 kB / 1.163 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008777/1.073, allocations: 170.5 kB / 1.163 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/1.075, allocations: 1.738 MB / 1.165 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/1.075, allocations: 0.9826 MB / 1.166 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004208/1.076, allocations: 104.2 kB / 1.166 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/1.076, allocations: 71.41 kB / 1.166 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of SimCode: time 1.252e-06/1.076, allocations: 0 / 1.166 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of Templates: time 0.01785/1.094, allocations: 8.725 MB / 1.175 GB, free: 8.695 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)