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.76/1.76, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001326/0.001326, allocations: 173.1 kB / 377.1 MB, free: 1.52 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.748/1.748, allocations: 205.4 MB / 0.6366 GB, free: 8.605 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.0009531/0.0009529, allocations: 92.83 kB / 0.7509 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 12 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2987, allocations: 116.3 MB / 0.9884 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.83/1.129, allocations: 140.8 MB / 1.126 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/1.129, allocations: 79.72 kB / 1.126 GB, free: 34.22 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04372/1.173, allocations: 15.98 MB / 1.142 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.984e-06/1.173, allocations: 0 / 1.142 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.854e-05/1.173, allocations: 28.84 kB / 1.142 GB, free: 23.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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00281/1.176, allocations: 1.253 MB / 1.143 GB, free: 22.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.527e-05/1.176, allocations: 19.95 kB / 1.143 GB, free: 22.28 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002646/1.176, allocations: 131 kB / 1.143 GB, free: 22.16 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/1.176, allocations: 122.5 kB / 1.143 GB, free: 22.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/1.178, allocations: 0.653 MB / 1.144 GB, free: 21.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.9e-05/1.178, allocations: 66 kB / 1.144 GB, free: 21.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/1.178, allocations: 88.75 kB / 1.144 GB, free: 21.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/1.18, allocations: 0.8289 MB / 1.145 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/1.18, allocations: 4.75 kB / 1.145 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.016e-05/1.18, allocations: 33.5 kB / 1.145 GB, free: 20.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/1.18, allocations: 20 kB / 1.145 GB, free: 20.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/1.181, allocations: 0.6587 MB / 1.145 GB, free: 19.94 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004688/1.186, allocations: 2.673 MB / 1.148 GB, free: 17.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/1.188, allocations: 0.7587 MB / 1.149 GB, free: 17.04 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.947e-05/1.188, allocations: 17.36 kB / 1.149 GB, free: 17.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007571/1.189, allocations: 366.7 kB / 1.149 GB, free: 16.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 3.076e-06/1.189, allocations: 1.031 kB / 1.149 GB, free: 16.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.001619/1.19, allocations: 0.8549 MB / 1.15 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/1.19, allocations: 189.7 kB / 1.15 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007907/1.191, allocations: 0.6268 MB / 1.151 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.365e-05/1.191, allocations: 43.2 kB / 1.151 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/1.192, allocations: 441.2 kB / 1.151 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/1.192, allocations: 219.1 kB / 1.151 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/1.192, allocations: 16 kB / 1.151 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.105e-05/1.192, allocations: 324.6 kB / 1.152 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/1.192, allocations: 273.5 kB / 1.152 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006241/1.193, allocations: 413.2 kB / 1.152 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/1.193, allocations: 322.6 kB / 1.153 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.194, allocations: 0 / 1.153 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001305/1.195, allocations: 0.8099 MB / 1.154 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001649/1.195, allocations: 0.5634 MB / 1.154 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/1.195, allocations: 4 kB / 1.154 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.195, allocations: 7.984 kB / 1.154 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/1.196, allocations: 140.7 kB / 1.154 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.196, allocations: 9.531 kB / 1.154 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005988/1.196, allocations: 151.2 kB / 1.154 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/1.196, allocations: 27.19 kB / 1.154 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.876e-06/1.196, allocations: 5.875 kB / 1.154 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007729/1.197, allocations: 0.5651 MB / 1.155 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/1.197, allocations: 0 / 1.155 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.139e-06/1.197, allocations: 4 kB / 1.155 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/1.197, allocations: 105.9 kB / 1.155 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/1.197, allocations: 6.312 kB / 1.155 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004553/1.198, allocations: 120.3 kB / 1.155 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/1.198, allocations: 25.64 kB / 1.155 GB, free: 10.83 MB / 0.7292 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 () * Number of clocked 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.0004537/1.198, allocations: 298.8 kB / 1.156 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/1.199, allocations: 90.88 kB / 1.156 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/1.199, allocations: 91.78 kB / 1.156 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.199, allocations: 8 kB / 1.156 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.199, allocations: 0 / 1.156 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/1.199, allocations: 4.547 kB / 1.156 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/1.201, allocations: 1.47 MB / 1.157 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.201, allocations: 0.9375 kB / 1.157 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/1.201, allocations: 127.8 kB / 1.157 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/1.201, allocations: 7.938 kB / 1.157 GB, free: 8.969 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/1.201, allocations: 13.73 kB / 1.157 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.201, allocations: 0 / 1.157 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.201, allocations: 1.031 kB / 1.157 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/1.203, allocations: 1.062 MB / 1.158 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/1.203, allocations: 174.4 kB / 1.158 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.028e-05/1.203, allocations: 13.31 kB / 1.159 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/1.203, allocations: 63.72 kB / 1.159 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/1.203, allocations: 33.45 kB / 1.159 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/1.204, allocations: 19.14 kB / 1.159 GB, free: 7.688 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005858/1.204, allocations: 0.4997 MB / 1.159 GB, free: 7.258 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.204, allocations: 4 kB / 1.159 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008222/1.205, allocations: 308.4 kB / 1.159 GB, free: 6.953 MB / 0.7292 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 () * Number of clocked 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.001853/1.207, allocations: 1.631 MB / 1.161 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001663/1.208, allocations: 1.047 MB / 1.162 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.209, allocations: 4 kB / 1.162 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004588/1.209, allocations: 307.1 kB / 1.162 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008514/1.21, allocations: 164.1 kB / 1.162 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/1.213, allocations: 3.332 MB / 1.166 GB, free: 432 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/1.213, allocations: 1.006 MB / 1.167 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000443/1.214, allocations: 99.72 kB / 1.167 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004446/1.214, allocations: 351.3 kB / 1.167 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of SimCode: time 4.678e-06/1.214, allocations: 0.75 kB / 1.167 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03721/1.251, allocations: 15.66 MB / 1.182 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/1.252, allocations: 179.9 kB / 1.183 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.617/3.868, allocations: 4 kB / 1.183 GB, free: 15.34 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)