Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.946/1.946, allocations: 285.4 MB / 298 MB, free: 5.957 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.001504/0.001504, allocations: 176.9 kB / 366.4 MB, free: 2.082 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.84/1.84, allocations: 205.1 MB / 0.6248 GB, free: 7.719 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.0008897/0.0008895, allocations: 90.23 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.362e-05/4.364e-05, allocations: 8 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8016/0.8016, allocations: 115.3 MB / 0.971 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/1.005, allocations: 139.8 MB / 1.108 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/1.005, allocations: 75.95 kB / 1.108 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04267/1.048, allocations: 15.94 MB / 1.123 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.803e-06/1.048, allocations: 4 kB / 1.123 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.736e-05/1.048, allocations: 20 kB / 1.123 GB, free: 12.04 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.001827/1.05, allocations: 1.096 MB / 1.124 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/1.05, allocations: 8.031 kB / 1.124 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000154/1.05, allocations: 127 kB / 1.124 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/1.05, allocations: 118.6 kB / 1.125 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/1.051, allocations: 0.6453 MB / 1.125 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.997e-05/1.051, allocations: 66 kB / 1.125 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/1.051, allocations: 88 kB / 1.125 GB, free: 9.797 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/1.053, allocations: 0.7544 MB / 1.126 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/1.053, allocations: 4 kB / 1.126 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/1.053, allocations: 36 kB / 1.126 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/1.053, allocations: 23.94 kB / 1.126 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000927/1.054, allocations: 0.5155 MB / 1.127 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003753/1.057, allocations: 2.68 MB / 1.129 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/1.059, allocations: 0.5658 MB / 1.13 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/1.059, allocations: 268.3 kB / 1.13 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/1.059, allocations: 4.562 kB / 1.13 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004865/1.059, allocations: 300.1 kB / 1.13 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 3.306e-06/1.059, allocations: 4 kB / 1.13 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.0008275/1.06, allocations: 0.502 MB / 1.131 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/1.06, allocations: 188.5 kB / 1.131 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007987/1.061, allocations: 0.6177 MB / 1.132 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.074e-05/1.061, allocations: 45.7 kB / 1.132 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/1.062, allocations: 441.8 kB / 1.132 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/1.062, allocations: 201 kB / 1.132 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/1.062, allocations: 16 kB / 1.132 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.062, allocations: 330 kB / 1.133 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/1.062, allocations: 205.5 kB / 1.133 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/1.063, allocations: 339.8 kB / 1.133 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/1.063, allocations: 259.6 kB / 1.133 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.063, allocations: 4 kB / 1.133 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00103/1.064, allocations: 0.6674 MB / 1.134 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002773/1.065, allocations: 0.5687 MB / 1.135 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.505e-06/1.065, allocations: 128 / 1.135 GB, free: 16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/1.065, allocations: 7.938 kB / 1.135 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/1.065, allocations: 147.8 kB / 1.135 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/1.065, allocations: 6.734 kB / 1.135 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/1.066, allocations: 151.2 kB / 1.135 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.38e-05/1.066, allocations: 31.98 kB / 1.135 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/1.066, allocations: 4 kB / 1.135 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008657/1.067, allocations: 0.5529 MB / 1.135 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-06/1.067, allocations: 0 / 1.135 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/1.067, allocations: 4 kB / 1.135 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/1.067, allocations: 119.4 kB / 1.136 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/1.067, allocations: 4 kB / 1.136 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/1.068, allocations: 115.5 kB / 1.136 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/1.068, allocations: 20 kB / 1.136 GB, free: 14.85 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.0001578/1.068, allocations: 148.8 kB / 1.136 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/1.068, allocations: 86.95 kB / 1.136 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/1.068, allocations: 88.36 kB / 1.136 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/1.068, allocations: 8 kB / 1.136 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.068, allocations: 0 / 1.136 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/1.068, allocations: 7.922 kB / 1.136 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/1.07, allocations: 1.336 MB / 1.137 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.07, allocations: 0 / 1.137 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005399/1.071, allocations: 131.8 kB / 1.137 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/1.071, allocations: 4 kB / 1.137 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/1.071, allocations: 15.98 kB / 1.137 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/1.071, allocations: 0 / 1.137 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.071, allocations: 0 / 1.137 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/1.072, allocations: 0.8651 MB / 1.138 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/1.072, allocations: 171.9 kB / 1.138 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.507e-05/1.072, allocations: 16 kB / 1.138 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/1.072, allocations: 59.95 kB / 1.139 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/1.073, allocations: 36.45 kB / 1.139 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/1.073, allocations: 19.98 kB / 1.139 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006244/1.073, allocations: 499.2 kB / 1.139 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.51e-07/1.073, allocations: 0 / 1.139 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007203/1.074, allocations: 318.7 kB / 1.139 GB, free: 10.96 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.001574/1.076, allocations: 1.434 MB / 1.141 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001398/1.077, allocations: 0.9329 MB / 1.142 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.077, allocations: 1.312 kB / 1.142 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003451/1.077, allocations: 243.2 kB / 1.142 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007989/1.078, allocations: 169.3 kB / 1.142 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/1.08, allocations: 1.229 MB / 1.143 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/1.081, allocations: 0.9996 MB / 1.144 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005569/1.081, allocations: 144 kB / 1.144 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/1.082, allocations: 339.3 kB / 1.145 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/1.082, allocations: 0 / 1.145 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03572/1.117, allocations: 17.1 MB / 1.161 GB, free: 4.637 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/1.118, allocations: 162.8 kB / 1.162 GB, free: 4.414 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/3.681, allocations: 0 / 1.162 GB, free: 4.414 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)