Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.741/1.741, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001704/0.001704, allocations: 181 kB / 377.1 MB, free: 1.527 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.832/1.832, allocations: 205.4 MB / 0.6367 GB, free: 8.633 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.0009444/0.000944, allocations: 83.64 kB / 0.751 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003602, allocations: 12 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3042, allocations: 116.3 MB / 0.9884 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.795/1.099, allocations: 139.9 MB / 1.125 GB, free: 35.01 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/1.1, allocations: 77.83 kB / 1.125 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01499/1.115, allocations: 6.536 MB / 1.132 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.603e-06/1.115, allocations: 0 / 1.132 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.002e-05/1.115, allocations: 12 kB / 1.132 GB, free: 30.48 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0009211/1.116, allocations: 0.6704 MB / 1.132 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/1.116, allocations: 12.67 kB / 1.132 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.07e-05/1.116, allocations: 50.72 kB / 1.132 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005727/1.116, allocations: 377.1 kB / 1.133 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/1.116, allocations: 28.09 kB / 1.133 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.577e-05/1.116, allocations: 35.91 kB / 1.133 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005617/1.117, allocations: 361.4 kB / 1.133 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/1.117, allocations: 0.5625 kB / 1.133 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/1.117, allocations: 16.61 kB / 1.133 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/1.117, allocations: 8 kB / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004509/1.118, allocations: 269 kB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/1.119, allocations: 1.207 MB / 1.134 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005518/1.12, allocations: 287 kB / 1.135 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/1.12, allocations: 4.797 kB / 1.135 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003014/1.12, allocations: 180.9 kB / 1.135 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 1.883e-06/1.12, allocations: 7.922 kB / 1.135 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.0006109/1.121, allocations: 340.1 kB / 1.135 GB, free: 26.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/1.121, allocations: 137.2 kB / 1.135 GB, free: 26.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/1.121, allocations: 340.6 kB / 1.136 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/1.121, allocations: 34.31 kB / 1.136 GB, free: 26.47 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/1.121, allocations: 216.7 kB / 1.136 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/1.121, allocations: 81.44 kB / 1.136 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/1.121, allocations: 4 kB / 1.136 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.081e-05/1.121, allocations: 348 kB / 1.136 GB, free: 25.86 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/1.121, allocations: 104.9 kB / 1.136 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/1.122, allocations: 176.3 kB / 1.137 GB, free: 25.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/1.122, allocations: 112.9 kB / 1.137 GB, free: 25.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.122, allocations: 4 kB / 1.137 GB, free: 25.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004878/1.122, allocations: 338.5 kB / 1.137 GB, free: 25.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/1.122, allocations: 452.9 kB / 1.137 GB, free: 24.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.122, allocations: 0.6094 kB / 1.137 GB, free: 24.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/1.122, allocations: 4.562 kB / 1.137 GB, free: 24.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/1.123, allocations: 60.94 kB / 1.138 GB, free: 24.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/1.123, allocations: 0 / 1.138 GB, free: 24.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/1.123, allocations: 58.95 kB / 1.138 GB, free: 24.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/1.123, allocations: 12.84 kB / 1.138 GB, free: 24.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.061e-06/1.123, allocations: 0 / 1.138 GB, free: 24.57 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002829/1.123, allocations: 208.5 kB / 1.138 GB, free: 24.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-06/1.123, allocations: 0 / 1.138 GB, free: 24.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.449e-06/1.123, allocations: 4.625 kB / 1.138 GB, free: 24.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/1.123, allocations: 49.14 kB / 1.138 GB, free: 24.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/1.123, allocations: 4 kB / 1.138 GB, free: 24.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/1.124, allocations: 43.3 kB / 1.138 GB, free: 24.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/1.124, allocations: 7.938 kB / 1.138 GB, free: 24.29 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001316/1.124, allocations: 236.2 kB / 1.138 GB, free: 24.05 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/1.124, allocations: 32.38 kB / 1.138 GB, free: 24.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.546e-05/1.124, allocations: 44.34 kB / 1.138 GB, free: 23.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/1.124, allocations: 0 / 1.138 GB, free: 23.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-06/1.124, allocations: 4.75 kB / 1.138 GB, free: 23.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.124, allocations: 4.75 kB / 1.138 GB, free: 23.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/1.125, allocations: 0.9079 MB / 1.139 GB, free: 23.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/1.125, allocations: 0 / 1.139 GB, free: 23.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/1.125, allocations: 56.36 kB / 1.139 GB, free: 23.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.125, allocations: 3.953 kB / 1.139 GB, free: 23.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/1.125, allocations: 13.58 kB / 1.139 GB, free: 23.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.125, allocations: 0.8438 kB / 1.139 GB, free: 23.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.125, allocations: 5.031 kB / 1.139 GB, free: 23.04 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006797/1.126, allocations: 0.6851 MB / 1.14 GB, free: 22.31 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/1.126, allocations: 124.9 kB / 1.14 GB, free: 22.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/1.126, allocations: 4.562 kB / 1.14 GB, free: 22.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/1.126, allocations: 29.25 kB / 1.14 GB, free: 22.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/1.126, allocations: 24.53 kB / 1.14 GB, free: 22.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/1.126, allocations: 10.5 kB / 1.14 GB, free: 22.12 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002247/1.127, allocations: 273.8 kB / 1.14 GB, free: 21.88 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.127, allocations: 0 / 1.14 GB, free: 21.88 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004282/1.127, allocations: 113 kB / 1.14 GB, free: 21.77 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.0001484/1.127, allocations: 116.6 kB / 1.141 GB, free: 21.65 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005769/1.128, allocations: 357.3 kB / 1.141 GB, free: 21.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.128, allocations: 0 / 1.141 GB, free: 21.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/1.128, allocations: 117.4 kB / 1.141 GB, free: 21.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/1.128, allocations: 66.8 kB / 1.141 GB, free: 21.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/1.13, allocations: 0.8185 MB / 1.142 GB, free: 20.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/1.13, allocations: 0.8048 MB / 1.143 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001974/1.13, allocations: 48.58 kB / 1.143 GB, free: 19.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.357e-05/1.13, allocations: 29.36 kB / 1.143 GB, free: 19.54 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/1.13, allocations: 4 kB / 1.143 GB, free: 19.54 MB / 0.7292 GB Notification: Performance of Templates: time 0.00772/1.138, allocations: 3.082 MB / 1.146 GB, free: 17.8 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)