Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.88/2.88, allocations: 284.8 MB / 297.3 MB, free: 6.367 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002468/0.002468, allocations: 180.8 kB / 365.7 MB, free: 2.574 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.257/2.257, allocations: 205.1 MB / 0.6241 GB, free: 8.152 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002066/0.002065, allocations: 105 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.909e-05/3.919e-05, allocations: 8 kB / 0.8575 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8049/0.8049, allocations: 115.2 MB / 0.97 GB, free: 78.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2739/1.079, allocations: 139.6 MB / 1.106 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/1.079, allocations: 79.02 kB / 1.106 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.07837/1.158, allocations: 15.95 MB / 1.122 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.255e-06/1.158, allocations: 0 / 1.122 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.5e-05/1.158, allocations: 20 kB / 1.122 GB, free: 12.88 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.003074/1.161, allocations: 1.089 MB / 1.123 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/1.161, allocations: 12.03 kB / 1.123 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000476/1.162, allocations: 118.6 kB / 1.123 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/1.164, allocations: 0.6414 MB / 1.124 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/1.164, allocations: 66 kB / 1.124 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002743/1.164, allocations: 88 kB / 1.124 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/1.166, allocations: 0.7622 MB / 1.125 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/1.166, allocations: 3.188 kB / 1.125 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/1.166, allocations: 36 kB / 1.125 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/1.166, allocations: 20 kB / 1.125 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/1.168, allocations: 0.5194 MB / 1.125 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007077/1.175, allocations: 2.679 MB / 1.128 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/1.177, allocations: 0.5717 MB / 1.128 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006939/1.178, allocations: 267.1 kB / 1.129 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.265e-05/1.178, allocations: 16.58 kB / 1.129 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007685/1.179, allocations: 291.1 kB / 1.129 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 3.076e-06/1.179, allocations: 0 / 1.129 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.001493/1.18, allocations: 0.5058 MB / 1.129 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/1.18, allocations: 188.5 kB / 1.13 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/1.182, allocations: 0.6177 MB / 1.13 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001575/1.182, allocations: 45.7 kB / 1.13 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005075/1.182, allocations: 440.2 kB / 1.131 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/1.183, allocations: 201 kB / 1.131 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/1.183, allocations: 19.98 kB / 1.131 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.183, allocations: 326 kB / 1.131 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006233/1.183, allocations: 201.5 kB / 1.131 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007728/1.184, allocations: 342.1 kB / 1.132 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006814/1.185, allocations: 259.6 kB / 1.132 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/1.185, allocations: 4 kB / 1.132 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001885/1.187, allocations: 0.6635 MB / 1.133 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002945/1.187, allocations: 0.5693 MB / 1.133 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.187, allocations: 0 / 1.133 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/1.187, allocations: 8 kB / 1.133 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/1.188, allocations: 143.8 kB / 1.133 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/1.188, allocations: 4 kB / 1.133 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/1.19, allocations: 159.2 kB / 1.134 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.542e-05/1.19, allocations: 27.98 kB / 1.134 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.19, allocations: 4 kB / 1.134 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001508/1.191, allocations: 0.5536 MB / 1.134 GB, free: 76 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.191, allocations: 0 / 1.134 GB, free: 76 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/1.191, allocations: 5.875 kB / 1.134 GB, free: 72 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/1.192, allocations: 115.4 kB / 1.134 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/1.192, allocations: 8 kB / 1.134 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/1.193, allocations: 115.4 kB / 1.134 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/1.193, allocations: 23.95 kB / 1.134 GB, free: 15.82 MB / 0.7448 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 () * 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.0002772/1.194, allocations: 142.3 kB / 1.134 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/1.194, allocations: 90.86 kB / 1.135 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/1.194, allocations: 88.36 kB / 1.135 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/1.194, allocations: 8 kB / 1.135 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.194, allocations: 0 / 1.135 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/1.194, allocations: 3.984 kB / 1.135 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002714/1.197, allocations: 1.34 MB / 1.136 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.197, allocations: 0 / 1.136 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/1.198, allocations: 127.8 kB / 1.136 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/1.198, allocations: 4 kB / 1.136 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/1.198, allocations: 15.98 kB / 1.136 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.198, allocations: 4 kB / 1.136 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.198, allocations: 0 / 1.136 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/1.2, allocations: 0.8612 MB / 1.137 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/1.201, allocations: 175.9 kB / 1.137 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/1.201, allocations: 15.56 kB / 1.137 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007407/1.202, allocations: 59.95 kB / 1.137 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.202, allocations: 36.45 kB / 1.137 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.968e-05/1.202, allocations: 19.98 kB / 1.137 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001044/1.203, allocations: 0.4952 MB / 1.138 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.91e-07/1.203, allocations: 0 / 1.138 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001287/1.204, allocations: 306.9 kB / 1.138 GB, free: 11.94 MB / 0.7448 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 () * 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.0003219/1.204, allocations: 139.1 kB / 1.138 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002539/1.207, allocations: 0.9405 MB / 1.139 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.207, allocations: 0 / 1.139 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006536/1.208, allocations: 239.8 kB / 1.139 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/1.209, allocations: 163.2 kB / 1.139 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/1.212, allocations: 1.06 MB / 1.141 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007151/1.213, allocations: 1.011 MB / 1.142 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001027/1.214, allocations: 140.2 kB / 1.142 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/1.214, allocations: 51.42 kB / 1.142 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of SimCode: time 1.272e-06/1.214, allocations: 0 / 1.142 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of Templates: time 0.03165/1.246, allocations: 9.894 MB / 1.151 GB, free: 14.43 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)