Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",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.767/1.767, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001274/0.001274, allocations: 180.7 kB / 371.6 MB, free: 3.324 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.697/1.697, allocations: 205.1 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.0009523/0.000952, allocations: 90.81 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.774e-05/6.786e-05, allocations: 8 kB / 0.8664 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2766, allocations: 116.3 MB / 0.9799 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8081/1.085, allocations: 140.7 MB / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/1.085, allocations: 77 kB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02296/1.108, allocations: 9.303 MB / 1.126 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.694e-06/1.108, allocations: 0 / 1.126 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.249e-05/1.108, allocations: 8 kB / 1.126 GB, free: 38.53 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001119/1.109, allocations: 0.7474 MB / 1.127 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/1.109, allocations: 8.031 kB / 1.127 GB, free: 37.83 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.041e-05/1.109, allocations: 87.86 kB / 1.127 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/1.109, allocations: 72.88 kB / 1.127 GB, free: 37.71 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007302/1.11, allocations: 441.3 kB / 1.128 GB, free: 37.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/1.11, allocations: 36.56 kB / 1.128 GB, free: 37.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.057e-05/1.11, allocations: 63.08 kB / 1.128 GB, free: 37.29 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/1.111, allocations: 442.3 kB / 1.128 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/1.111, allocations: 0 / 1.128 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/1.111, allocations: 21.25 kB / 1.128 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/1.111, allocations: 12.56 kB / 1.128 GB, free: 37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/1.111, allocations: 286.2 kB / 1.129 GB, free: 36.83 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/1.113, allocations: 1.495 MB / 1.13 GB, free: 35.89 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/1.114, allocations: 0.8053 MB / 1.131 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/1.114, allocations: 171.5 kB / 1.131 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/1.114, allocations: 15.94 kB / 1.131 GB, free: 35 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/1.114, allocations: 204.2 kB / 1.131 GB, free: 34.87 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=43): time 2.475e-06/1.114, allocations: 4 kB / 1.131 GB, free: 34.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43): time 0.0005226/1.115, allocations: 333.2 kB / 1.132 GB, free: 34.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/1.115, allocations: 106.8 kB / 1.132 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/1.115, allocations: 351 kB / 1.132 GB, free: 34.26 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/1.115, allocations: 37.14 kB / 1.132 GB, free: 34.22 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/1.115, allocations: 252.4 kB / 1.132 GB, free: 34.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.304e-05/1.116, allocations: 141.8 kB / 1.132 GB, free: 33.96 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/1.116, allocations: 14.31 kB / 1.132 GB, free: 33.96 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.318e-05/1.116, allocations: 355.7 kB / 1.133 GB, free: 33.63 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/1.116, allocations: 138.7 kB / 1.133 GB, free: 33.55 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/1.116, allocations: 218.7 kB / 1.133 GB, free: 33.38 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/1.116, allocations: 170.1 kB / 1.133 GB, free: 33.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.116, allocations: 4 kB / 1.133 GB, free: 33.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006477/1.117, allocations: 474.4 kB / 1.134 GB, free: 32.94 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/1.117, allocations: 0.5672 MB / 1.134 GB, free: 32.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.117, allocations: 0 / 1.134 GB, free: 32.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/1.117, allocations: 4 kB / 1.134 GB, free: 32.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/1.118, allocations: 93.19 kB / 1.134 GB, free: 32.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/1.118, allocations: 4 kB / 1.134 GB, free: 32.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/1.118, allocations: 89.03 kB / 1.134 GB, free: 32.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/1.118, allocations: 19.56 kB / 1.134 GB, free: 32.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.243e-06/1.118, allocations: 4 kB / 1.134 GB, free: 32.18 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005362/1.119, allocations: 404.8 kB / 1.135 GB, free: 31.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/1.119, allocations: 4 kB / 1.135 GB, free: 31.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.291e-06/1.119, allocations: 9.125 kB / 1.135 GB, free: 31.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/1.119, allocations: 65.95 kB / 1.135 GB, free: 31.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/1.119, allocations: 9.25 kB / 1.135 GB, free: 31.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/1.119, allocations: 72.75 kB / 1.135 GB, free: 31.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/1.119, allocations: 26.94 kB / 1.135 GB, free: 31.77 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 (50): * Single equations (assignments): 49 * 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 9.82e-05/1.119, allocations: 136.2 kB / 1.135 GB, free: 31.65 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/1.119, allocations: 43.44 kB / 1.135 GB, free: 31.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/1.12, allocations: 54.2 kB / 1.135 GB, free: 31.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.12, allocations: 4.656 kB / 1.135 GB, free: 31.58 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.12, allocations: 3.938 kB / 1.135 GB, free: 31.58 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/1.12, allocations: 0 / 1.135 GB, free: 31.58 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/1.121, allocations: 0.9833 MB / 1.136 GB, free: 30.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.121, allocations: 0 / 1.136 GB, free: 30.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/1.121, allocations: 77.59 kB / 1.136 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.121, allocations: 0 / 1.136 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/1.121, allocations: 10.09 kB / 1.136 GB, free: 30.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.121, allocations: 3.953 kB / 1.136 GB, free: 30.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/1.121, allocations: 0 / 1.136 GB, free: 30.87 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006505/1.122, allocations: 0.5907 MB / 1.137 GB, free: 30.44 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/1.122, allocations: 123.5 kB / 1.137 GB, free: 30.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/1.122, allocations: 14.08 kB / 1.137 GB, free: 30.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/1.122, allocations: 29.22 kB / 1.137 GB, free: 30.28 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/1.122, allocations: 30.56 kB / 1.137 GB, free: 30.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/1.122, allocations: 11 kB / 1.137 GB, free: 30.26 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002405/1.122, allocations: 283.4 kB / 1.137 GB, free: 30.06 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.122, allocations: 0 / 1.137 GB, free: 30.06 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005016/1.123, allocations: 194.3 kB / 1.138 GB, free: 29.89 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * 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 (43): * Single equations (assignments): 42 * 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.0008843/1.124, allocations: 1.158 MB / 1.139 GB, free: 28.9 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008075/1.125, allocations: 0.6694 MB / 1.139 GB, free: 28.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/1.125, allocations: 0 / 1.139 GB, free: 28.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/1.125, allocations: 164.1 kB / 1.14 GB, free: 28.29 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/1.125, allocations: 86.2 kB / 1.14 GB, free: 28.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/1.126, allocations: 0.765 MB / 1.14 GB, free: 27.63 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/1.127, allocations: 0.8614 MB / 1.141 GB, free: 26.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002972/1.127, allocations: 79.28 kB / 1.141 GB, free: 26.76 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/1.127, allocations: 182.5 kB / 1.141 GB, free: 26.73 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/1.127, allocations: 0.6562 kB / 1.141 GB, free: 26.73 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/1.155, allocations: 10.06 MB / 1.151 GB, free: 20.88 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/1.155, allocations: 153.4 kB / 1.151 GB, free: 20.66 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/3.466, allocations: 0 / 1.151 GB, free: 20.66 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)