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.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.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.1-maint.8.1.x/package.mo): time 1.832/1.832, allocations: 293 MB / 309 MB, free: 4.848 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.000983/0.0009832, allocations: 175.5 kB / 378.7 MB, free: 1.031 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.642/1.642, allocations: 205.4 MB / 0.6383 GB, free: 8.234 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.0007491/0.000749, allocations: 95.55 kB / 0.7527 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005266/0.0005268, allocations: 16 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3486, allocations: 116.4 MB / 0.9905 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.778/1.127, allocations: 140 MB / 1.127 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/1.127, allocations: 79.05 kB / 1.127 GB, free: 34.02 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01502/1.142, allocations: 6.563 MB / 1.134 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.436e-06/1.142, allocations: 0 / 1.134 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.147e-05/1.142, allocations: 12 kB / 1.134 GB, free: 29.56 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.0009548/1.143, allocations: 0.6706 MB / 1.134 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/1.143, allocations: 8.688 kB / 1.134 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.042e-05/1.143, allocations: 48.38 kB / 1.134 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/1.144, allocations: 381.8 kB / 1.135 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/1.144, allocations: 32.97 kB / 1.135 GB, free: 28.44 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/1.144, allocations: 36.94 kB / 1.135 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/1.144, allocations: 358.2 kB / 1.135 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/1.144, allocations: 7.938 kB / 1.135 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/1.145, allocations: 12.75 kB / 1.135 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/1.145, allocations: 12.61 kB / 1.135 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004764/1.145, allocations: 269.2 kB / 1.135 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/1.147, allocations: 1.202 MB / 1.137 GB, free: 26.78 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006191/1.147, allocations: 288.6 kB / 1.137 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/1.148, allocations: 129.8 kB / 1.137 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/1.148, allocations: 4 kB / 1.137 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003324/1.148, allocations: 175 kB / 1.137 GB, free: 26.24 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 2.184e-06/1.148, allocations: 0 / 1.137 GB, free: 26.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.0006635/1.149, allocations: 351.8 kB / 1.138 GB, free: 25.92 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/1.149, allocations: 133.2 kB / 1.138 GB, free: 25.76 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/1.149, allocations: 383.8 kB / 1.138 GB, free: 25.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/1.149, allocations: 29.7 kB / 1.138 GB, free: 25.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/1.149, allocations: 224.6 kB / 1.138 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/1.149, allocations: 81.72 kB / 1.138 GB, free: 25.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/1.149, allocations: 4 kB / 1.138 GB, free: 25.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.044e-05/1.149, allocations: 347.1 kB / 1.139 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/1.15, allocations: 109.3 kB / 1.139 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/1.15, allocations: 176.3 kB / 1.139 GB, free: 24.49 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/1.15, allocations: 247.7 kB / 1.139 GB, free: 24.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.15, allocations: 0 / 1.139 GB, free: 24.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005054/1.151, allocations: 330.6 kB / 1.14 GB, free: 23.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/1.151, allocations: 130.8 kB / 1.14 GB, free: 23.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/1.151, allocations: 4.891 kB / 1.14 GB, free: 23.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/1.151, allocations: 0 / 1.14 GB, free: 23.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/1.151, allocations: 61.08 kB / 1.14 GB, free: 23.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/1.151, allocations: 9.906 kB / 1.14 GB, free: 23.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/1.151, allocations: 53.55 kB / 1.14 GB, free: 23.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/1.151, allocations: 13.31 kB / 1.14 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.061e-06/1.151, allocations: 6.5 kB / 1.14 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000267/1.152, allocations: 199.1 kB / 1.14 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/1.152, allocations: 1.5 kB / 1.14 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-06/1.152, allocations: 4.938 kB / 1.14 GB, free: 23.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/1.152, allocations: 52.25 kB / 1.14 GB, free: 23.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/1.152, allocations: 8.453 kB / 1.14 GB, free: 23.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/1.152, allocations: 35.3 kB / 1.14 GB, free: 23.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/1.152, allocations: 13.62 kB / 1.14 GB, free: 23.39 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.0001442/1.152, allocations: 222.7 kB / 1.14 GB, free: 23.17 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/1.152, allocations: 35.53 kB / 1.14 GB, free: 23.13 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.699e-05/1.152, allocations: 46.45 kB / 1.14 GB, free: 23.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/1.152, allocations: 15.88 kB / 1.14 GB, free: 23.08 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.152, allocations: 0 / 1.14 GB, free: 23.08 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.152, allocations: 6.281 kB / 1.14 GB, free: 23.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/1.153, allocations: 0.9032 MB / 1.141 GB, free: 22.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.153, allocations: 4.219 kB / 1.141 GB, free: 22.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/1.154, allocations: 51.95 kB / 1.141 GB, free: 22.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.154, allocations: 4.656 kB / 1.141 GB, free: 22.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/1.154, allocations: 9.312 kB / 1.141 GB, free: 22.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/1.154, allocations: 0.6562 kB / 1.141 GB, free: 22.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.154, allocations: 7.938 kB / 1.141 GB, free: 22.14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006685/1.154, allocations: 0.5942 MB / 1.142 GB, free: 21.55 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.168e-05/1.154, allocations: 125.7 kB / 1.142 GB, free: 21.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/1.154, allocations: 8.703 kB / 1.142 GB, free: 21.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/1.155, allocations: 21.86 kB / 1.142 GB, free: 21.39 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/1.155, allocations: 21.42 kB / 1.142 GB, free: 21.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/1.155, allocations: 8.609 kB / 1.142 GB, free: 21.37 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002532/1.155, allocations: 277.6 kB / 1.142 GB, free: 21.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.1e-07/1.155, allocations: 0 / 1.142 GB, free: 21.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004382/1.156, allocations: 109.1 kB / 1.142 GB, free: 21.02 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.0001635/1.156, allocations: 113.3 kB / 1.143 GB, free: 20.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006085/1.156, allocations: 361.9 kB / 1.143 GB, free: 20.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.156, allocations: 0 / 1.143 GB, free: 20.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/1.156, allocations: 117.6 kB / 1.143 GB, free: 20.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/1.157, allocations: 76.72 kB / 1.143 GB, free: 20.42 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/1.158, allocations: 0.8251 MB / 1.144 GB, free: 19.62 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/1.159, allocations: 0.793 MB / 1.145 GB, free: 18.84 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002013/1.159, allocations: 46.36 kB / 1.145 GB, free: 18.81 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/1.159, allocations: 29.31 kB / 1.145 GB, free: 18.79 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/1.159, allocations: 0 / 1.145 GB, free: 18.79 MB / 0.7292 GB Notification: Performance of Templates: time 0.007762/1.167, allocations: 3.137 MB / 1.148 GB, free: 17.02 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)