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.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.729/1.729, allocations: 289.9 MB / 297.4 MB, free: 6.344 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.001056/0.001056, allocations: 180.8 kB / 366.7 MB, free: 1.641 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.638/1.638, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.0008366/0.0008365, allocations: 81.61 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.877e-05/3.886e-05, allocations: 8 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.791/0.791, allocations: 116.3 MB / 0.9734 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2128/1.004, allocations: 140.1 MB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/1.004, allocations: 76.58 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04366/1.048, allocations: 15.82 MB / 1.126 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.807e-06/1.048, allocations: 0 / 1.126 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.23e-05/1.048, allocations: 31.92 kB / 1.126 GB, free: 10.24 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.001842/1.05, allocations: 1.086 MB / 1.127 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/1.05, allocations: 12.03 kB / 1.127 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/1.05, allocations: 118.6 kB / 1.127 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/1.051, allocations: 0.6429 MB / 1.128 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.551e-05/1.051, allocations: 28 kB / 1.128 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/1.051, allocations: 59.98 kB / 1.128 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001016/1.052, allocations: 487.9 kB / 1.128 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/1.054, allocations: 0.6294 MB / 1.129 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/1.054, allocations: 4 kB / 1.129 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.385e-05/1.054, allocations: 7.922 kB / 1.129 GB, free: 7.062 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/1.054, allocations: 27.94 kB / 1.129 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004096/1.058, allocations: 2.485 MB / 1.131 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/1.059, allocations: 0.5423 MB / 1.132 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004151/1.06, allocations: 250.8 kB / 1.132 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.026e-05/1.06, allocations: 12.56 kB / 1.132 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004708/1.06, allocations: 275 kB / 1.132 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 2.455e-06/1.06, allocations: 0 / 1.132 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.0008306/1.061, allocations: 470.1 kB / 1.133 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/1.061, allocations: 192.5 kB / 1.133 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005795/1.062, allocations: 489.5 kB / 1.133 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.153e-05/1.062, allocations: 29.7 kB / 1.133 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000339/1.062, allocations: 447.8 kB / 1.134 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/1.062, allocations: 193 kB / 1.134 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/1.062, allocations: 0 / 1.134 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001975/1.062, allocations: 382.8 kB / 1.134 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/1.063, allocations: 193.5 kB / 1.135 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/1.063, allocations: 328.5 kB / 1.135 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004821/1.064, allocations: 228.2 kB / 1.135 GB, free: 384 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.064, allocations: 0 / 1.135 GB, free: 384 kB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001066/1.065, allocations: 0.588 MB / 1.136 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002948/1.065, allocations: 0.561 MB / 1.136 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.065, allocations: 10.75 kB / 1.136 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/1.065, allocations: 7.953 kB / 1.136 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005634/1.066, allocations: 143.7 kB / 1.136 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/1.066, allocations: 7.281 kB / 1.136 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/1.066, allocations: 127.5 kB / 1.136 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/1.066, allocations: 31.98 kB / 1.136 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/1.066, allocations: 4 kB / 1.136 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008297/1.067, allocations: 475.8 kB / 1.137 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/1.067, allocations: 7.984 kB / 1.137 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/1.067, allocations: 8.156 kB / 1.137 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/1.068, allocations: 103.8 kB / 1.137 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/1.068, allocations: 4 kB / 1.137 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/1.068, allocations: 95.47 kB / 1.137 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/1.068, allocations: 27.98 kB / 1.137 GB, free: 14.15 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.000147/1.068, allocations: 121.8 kB / 1.137 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006675/1.069, allocations: 454.2 kB / 1.138 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.264e-05/1.069, allocations: 71.16 kB / 1.138 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/1.069, allocations: 79.34 kB / 1.138 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/1.069, allocations: 8 kB / 1.138 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.069, allocations: 4 kB / 1.138 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/1.069, allocations: 0 / 1.138 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/1.071, allocations: 1.188 MB / 1.139 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.071, allocations: 0 / 1.139 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005545/1.071, allocations: 130 kB / 1.139 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/1.071, allocations: 4 kB / 1.139 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/1.071, allocations: 11.98 kB / 1.139 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/1.071, allocations: 0 / 1.139 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.071, allocations: 4 kB / 1.139 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/1.073, allocations: 0.7951 MB / 1.14 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/1.073, allocations: 152.1 kB / 1.14 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.044e-05/1.073, allocations: 4 kB / 1.14 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/1.073, allocations: 51.95 kB / 1.14 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/1.073, allocations: 36.5 kB / 1.14 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/1.073, allocations: 19.94 kB / 1.14 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004223/1.074, allocations: 379.2 kB / 1.141 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.21e-07/1.074, allocations: 2.344 kB / 1.141 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007418/1.074, allocations: 294.5 kB / 1.141 GB, free: 10.28 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.001495/1.076, allocations: 1.367 MB / 1.142 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001298/1.077, allocations: 0.8816 MB / 1.143 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.077, allocations: 4 kB / 1.143 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003133/1.078, allocations: 222 kB / 1.143 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007653/1.078, allocations: 147.6 kB / 1.143 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/1.08, allocations: 1.158 MB / 1.145 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/1.081, allocations: 1.003 MB / 1.146 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005039/1.081, allocations: 115.1 kB / 1.146 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/1.082, allocations: 335.3 kB / 1.146 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of SimCode: time 4e-07/1.082, allocations: 4 kB / 1.146 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03758/1.12, allocations: 14.81 MB / 1.16 GB, free: 6.387 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003157/1.12, allocations: 151.4 kB / 1.161 GB, free: 6.184 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.618, allocations: 4 kB / 1.161 GB, free: 6.18 MB / 0.7605 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)