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.791/1.791, allocations: 288.2 MB / 303.2 MB, free: 8.215 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.001144/0.001144, allocations: 185 kB / 371.8 MB, free: 10.27 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.802/1.802, allocations: 205.4 MB / 0.6305 GB, free: 9.961 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009794/0.0009795, allocations: 95.42 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004575, allocations: 14.19 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2701, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8614/1.132, allocations: 139.9 MB / 1.116 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/1.132, allocations: 78.16 kB / 1.116 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03802/1.17, allocations: 15.98 MB / 1.132 GB, free: 28.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.036e-06/1.17, allocations: 0 / 1.132 GB, free: 28.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.103e-05/1.17, allocations: 23.31 kB / 1.132 GB, free: 28.97 MB / 0.698 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.002212/1.172, allocations: 1.265 MB / 1.133 GB, free: 28.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/1.172, allocations: 11.67 kB / 1.133 GB, free: 28.07 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/1.173, allocations: 132.4 kB / 1.133 GB, free: 28.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/1.173, allocations: 124.4 kB / 1.133 GB, free: 27.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/1.174, allocations: 0.6447 MB / 1.134 GB, free: 27.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/1.174, allocations: 66.16 kB / 1.134 GB, free: 27.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/1.174, allocations: 87.78 kB / 1.134 GB, free: 27.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/1.175, allocations: 0.8308 MB / 1.135 GB, free: 27.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/1.175, allocations: 0 / 1.135 GB, free: 27.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.794e-05/1.176, allocations: 34.78 kB / 1.135 GB, free: 27.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/1.176, allocations: 19.25 kB / 1.135 GB, free: 27.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/1.177, allocations: 0.6612 MB / 1.136 GB, free: 27.19 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003416/1.18, allocations: 2.669 MB / 1.138 GB, free: 25.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/1.182, allocations: 0.7684 MB / 1.139 GB, free: 25.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/1.182, allocations: 8.359 kB / 1.139 GB, free: 25.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006069/1.182, allocations: 365.6 kB / 1.139 GB, free: 25.49 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 2.985e-06/1.182, allocations: 4 kB / 1.139 GB, free: 25.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.001496/1.184, allocations: 0.8554 MB / 1.14 GB, free: 25.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/1.184, allocations: 192.2 kB / 1.14 GB, free: 25.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006879/1.185, allocations: 0.6359 MB / 1.141 GB, free: 24.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.128e-05/1.185, allocations: 36.61 kB / 1.141 GB, free: 24.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/1.185, allocations: 440.2 kB / 1.141 GB, free: 24.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/1.185, allocations: 214.5 kB / 1.142 GB, free: 24.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/1.185, allocations: 13.72 kB / 1.142 GB, free: 24.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.185, allocations: 328.4 kB / 1.142 GB, free: 24.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/1.186, allocations: 266.5 kB / 1.142 GB, free: 24.13 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/1.186, allocations: 412.2 kB / 1.143 GB, free: 23.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/1.187, allocations: 328.3 kB / 1.143 GB, free: 23.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.187, allocations: 3.688 kB / 1.143 GB, free: 23.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001315/1.188, allocations: 0.8043 MB / 1.144 GB, free: 23.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002576/1.188, allocations: 0.5657 MB / 1.144 GB, free: 23.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.188, allocations: 7.812 kB / 1.144 GB, free: 23.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.188, allocations: 3.781 kB / 1.144 GB, free: 23.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/1.189, allocations: 140.3 kB / 1.144 GB, free: 23.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/1.189, allocations: 3.875 kB / 1.144 GB, free: 23.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006036/1.19, allocations: 157.1 kB / 1.145 GB, free: 22.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/1.19, allocations: 26.17 kB / 1.145 GB, free: 22.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/1.19, allocations: 3.812 kB / 1.145 GB, free: 22.98 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007541/1.19, allocations: 0.5583 MB / 1.145 GB, free: 22.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/1.19, allocations: 0 / 1.145 GB, free: 22.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.99e-06/1.19, allocations: 3.844 kB / 1.145 GB, free: 22.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/1.191, allocations: 120.1 kB / 1.145 GB, free: 22.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/1.191, allocations: 3.688 kB / 1.145 GB, free: 22.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004449/1.191, allocations: 115 kB / 1.145 GB, free: 22.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/1.191, allocations: 26.41 kB / 1.145 GB, free: 22.82 MB / 0.698 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.0005313/1.192, allocations: 297.3 kB / 1.146 GB, free: 22.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/1.192, allocations: 89.31 kB / 1.146 GB, free: 22.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/1.192, allocations: 87.27 kB / 1.146 GB, free: 22.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.192, allocations: 11.67 kB / 1.146 GB, free: 22.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/1.192, allocations: 0 / 1.146 GB, free: 22.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/1.192, allocations: 4 kB / 1.146 GB, free: 22.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/1.194, allocations: 1.473 MB / 1.147 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/1.194, allocations: 0 / 1.147 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004812/1.195, allocations: 127.6 kB / 1.147 GB, free: 21.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/1.195, allocations: 0 / 1.147 GB, free: 21.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/1.195, allocations: 18.16 kB / 1.147 GB, free: 21.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.195, allocations: 3.844 kB / 1.147 GB, free: 21.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.195, allocations: 4 kB / 1.147 GB, free: 21.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/1.196, allocations: 1.058 MB / 1.148 GB, free: 21.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/1.196, allocations: 173.6 kB / 1.149 GB, free: 21.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.666e-05/1.196, allocations: 13.56 kB / 1.149 GB, free: 21.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/1.197, allocations: 60.2 kB / 1.149 GB, free: 21.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.102e-05/1.197, allocations: 42.66 kB / 1.149 GB, free: 21.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/1.197, allocations: 19.41 kB / 1.149 GB, free: 21.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005448/1.197, allocations: 0.4988 MB / 1.149 GB, free: 21.24 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.197, allocations: 0 / 1.149 GB, free: 21.24 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007977/1.198, allocations: 308.9 kB / 1.15 GB, free: 21.18 MB / 0.698 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.001867/1.2, allocations: 1.634 MB / 1.151 GB, free: 20.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001695/1.202, allocations: 1.043 MB / 1.152 GB, free: 20.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.202, allocations: 0 / 1.152 GB, free: 20.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004732/1.202, allocations: 308.4 kB / 1.152 GB, free: 20.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008376/1.203, allocations: 165.4 kB / 1.153 GB, free: 19.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/1.206, allocations: 3.337 MB / 1.156 GB, free: 17.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/1.207, allocations: 1.002 MB / 1.157 GB, free: 16.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000459/1.207, allocations: 103.9 kB / 1.157 GB, free: 16.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004566/1.208, allocations: 352.3 kB / 1.157 GB, free: 16.49 MB / 0.698 GB Notification: Performance of SimCode: time 1.964e-06/1.208, allocations: 0 / 1.157 GB, free: 16.49 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/1.241, allocations: 15.66 MB / 1.173 GB, free: 2.121 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/1.241, allocations: 196.1 kB / 1.173 GB, free: 1.875 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/3.688, allocations: 2.391 kB / 1.173 GB, free: 1.875 MB / 0.698 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)