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.592/1.592, allocations: 289.7 MB / 302.3 MB, free: 2.164 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.00107/0.00107, allocations: 179.5 kB / 371.6 MB, free: 3.445 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.722/1.722, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.001177/0.001177, allocations: 86.88 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 7.43e-05/7.432e-05, allocations: 4 kB / 0.8663 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.32, allocations: 116.3 MB / 0.9798 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9797/1.3, allocations: 139.9 MB / 1.116 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/1.3, allocations: 74.81 kB / 1.116 GB, free: 44.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01567/1.316, allocations: 6.529 MB / 1.123 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.253e-06/1.316, allocations: 0 / 1.123 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.956e-05/1.316, allocations: 8 kB / 1.123 GB, free: 40.64 MB / 0.7448 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.0007444/1.317, allocations: 0.6068 MB / 1.123 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1.317, allocations: 12.03 kB / 1.123 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.305e-05/1.317, allocations: 45.78 kB / 1.123 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005636/1.317, allocations: 379.3 kB / 1.124 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/1.317, allocations: 24.91 kB / 1.124 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/1.317, allocations: 39 kB / 1.124 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/1.318, allocations: 327.9 kB / 1.124 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.318, allocations: 0 / 1.124 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/1.318, allocations: 11 kB / 1.124 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/1.318, allocations: 12 kB / 1.124 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/1.318, allocations: 219 kB / 1.124 GB, free: 39.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/1.32, allocations: 1.206 MB / 1.126 GB, free: 38.49 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/1.32, allocations: 202.9 kB / 1.126 GB, free: 38.36 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/1.32, allocations: 106 kB / 1.126 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/1.32, allocations: 4.188 kB / 1.126 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/1.321, allocations: 139.8 kB / 1.126 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/1.321, allocations: 0 / 1.126 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.0003487/1.321, allocations: 210.3 kB / 1.126 GB, free: 38.03 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/1.321, allocations: 132.5 kB / 1.126 GB, free: 37.87 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/1.321, allocations: 334.6 kB / 1.127 GB, free: 37.63 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/1.321, allocations: 33.39 kB / 1.127 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/1.321, allocations: 227.5 kB / 1.127 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/1.321, allocations: 68.78 kB / 1.127 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/1.322, allocations: 7.312 kB / 1.127 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.744e-05/1.322, allocations: 353.4 kB / 1.127 GB, free: 37.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/1.322, allocations: 69.94 kB / 1.127 GB, free: 37.03 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/1.322, allocations: 159.5 kB / 1.128 GB, free: 36.89 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/1.322, allocations: 82.3 kB / 1.128 GB, free: 36.85 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.322, allocations: 0 / 1.128 GB, free: 36.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003503/1.322, allocations: 282.8 kB / 1.128 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/1.323, allocations: 448.8 kB / 1.128 GB, free: 36.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.323, allocations: 0 / 1.128 GB, free: 36.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/1.323, allocations: 7.516 kB / 1.128 GB, free: 36.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/1.323, allocations: 67.44 kB / 1.128 GB, free: 36.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.323, allocations: 0 / 1.128 GB, free: 36.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/1.323, allocations: 62.47 kB / 1.129 GB, free: 36.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/1.323, allocations: 8.656 kB / 1.129 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.843e-06/1.323, allocations: 0 / 1.129 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000274/1.323, allocations: 204.7 kB / 1.129 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/1.323, allocations: 0 / 1.129 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.421e-06/1.323, allocations: 7.375 kB / 1.129 GB, free: 35.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/1.324, allocations: 44.41 kB / 1.129 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/1.324, allocations: 9.031 kB / 1.129 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/1.324, allocations: 40.25 kB / 1.129 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/1.324, allocations: 11.83 kB / 1.129 GB, free: 35.87 MB / 0.7448 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 () * 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 9.212e-05/1.324, allocations: 119.7 kB / 1.129 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/1.324, allocations: 35.53 kB / 1.129 GB, free: 35.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/1.324, allocations: 41.17 kB / 1.129 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/1.324, allocations: 4.703 kB / 1.129 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.324, allocations: 4 kB / 1.129 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.324, allocations: 0 / 1.129 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/1.325, allocations: 0.8604 MB / 1.13 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.325, allocations: 4.875 kB / 1.13 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/1.325, allocations: 51.56 kB / 1.13 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/1.325, allocations: 11.47 kB / 1.13 GB, free: 34.97 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/1.325, allocations: 4 kB / 1.13 GB, free: 34.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/1.325, allocations: 4 kB / 1.13 GB, free: 34.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.325, allocations: 0 / 1.13 GB, free: 34.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/1.326, allocations: 0.6102 MB / 1.131 GB, free: 34.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/1.326, allocations: 124.4 kB / 1.131 GB, free: 34.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/1.326, allocations: 11.45 kB / 1.131 GB, free: 34.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/1.326, allocations: 23.47 kB / 1.131 GB, free: 34.23 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/1.326, allocations: 23.17 kB / 1.131 GB, free: 34.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/1.326, allocations: 11.47 kB / 1.131 GB, free: 34.21 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002312/1.327, allocations: 264.8 kB / 1.131 GB, free: 34.03 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.327, allocations: 1.312 kB / 1.131 GB, free: 34.03 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004723/1.327, allocations: 115.2 kB / 1.131 GB, free: 33.93 MB / 0.7448 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 () * 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.0002274/1.327, allocations: 120.7 kB / 1.131 GB, free: 33.81 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004811/1.328, allocations: 310.8 kB / 1.131 GB, free: 33.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.328, allocations: 4 kB / 1.131 GB, free: 33.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/1.328, allocations: 85.16 kB / 1.132 GB, free: 33.55 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/1.328, allocations: 74.25 kB / 1.132 GB, free: 33.51 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/1.33, allocations: 0.5298 MB / 1.132 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/1.33, allocations: 0.8065 MB / 1.133 GB, free: 32.26 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002706/1.33, allocations: 57.33 kB / 1.133 GB, free: 32.22 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/1.33, allocations: 31.23 kB / 1.133 GB, free: 32.2 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.33, allocations: 0 / 1.133 GB, free: 32.2 MB / 0.7448 GB Notification: Performance of Templates: time 0.00679/1.337, allocations: 3.624 MB / 1.137 GB, free: 30.14 MB / 0.7448 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)