Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 249.5 MB / 257 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009424/0.0009423, allocations: 191.4 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008572/0.0008575, allocations: 99.48 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.32e-05, allocations: 12 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2007, allocations: 106.4 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6904/0.8912, allocations: 134.8 MB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/0.8914, allocations: 86 kB / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05297/0.9444, allocations: 21.69 MB / 1.038 GB, free: 0.5859 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.032e-06/0.9444, allocations: 0 / 1.038 GB, free: 0.5859 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.177e-05/0.9445, allocations: 35.98 kB / 1.038 GB, free: 0.5508 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.002251/0.9468, allocations: 1.303 MB / 1.04 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.9468, allocations: 11.97 kB / 1.04 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.9471, allocations: 154.2 kB / 1.04 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.9484, allocations: 0.7793 MB / 1.04 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.9484, allocations: 32 kB / 1.04 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.9485, allocations: 64 kB / 1.041 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00113/0.9497, allocations: 0.6349 MB / 1.041 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.9511, allocations: 0.8531 MB / 1.042 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.9511, allocations: 4 kB / 1.042 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.125e-05/0.9512, allocations: 4 kB / 1.042 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.9512, allocations: 27.94 kB / 1.042 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004866/0.9561, allocations: 3.718 MB / 1.046 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.9577, allocations: 0.836 MB / 1.046 GB, free: 9.551 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00047/0.9581, allocations: 352.1 kB / 1.047 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.746e-05/0.9582, allocations: 8.781 kB / 1.047 GB, free: 9.324 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005848/0.9588, allocations: 352.7 kB / 1.047 GB, free: 9.07 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 3.536e-06/0.9588, allocations: 3.938 kB / 1.047 GB, free: 9.066 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.001124/0.9599, allocations: 0.6168 MB / 1.048 GB, free: 8.605 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.9601, allocations: 222.2 kB / 1.048 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008216/0.9609, allocations: 0.6063 MB / 1.049 GB, free: 7.883 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/0.961, allocations: 32.77 kB / 1.049 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/0.9615, allocations: 0.5332 MB / 1.049 GB, free: 7.5 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.9617, allocations: 284.2 kB / 1.049 GB, free: 7.254 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.9617, allocations: 0 / 1.049 GB, free: 7.254 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.9619, allocations: 346.3 kB / 1.05 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.9623, allocations: 226.1 kB / 1.05 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/0.9628, allocations: 401.5 kB / 1.05 GB, free: 6.484 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004283/0.9632, allocations: 272.2 kB / 1.051 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.9632, allocations: 0 / 1.051 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001098/0.9643, allocations: 0.7346 MB / 1.051 GB, free: 5.773 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002259/0.9646, allocations: 453.7 kB / 1.052 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.9646, allocations: 4 kB / 1.052 GB, free: 5.301 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.9646, allocations: 4 kB / 1.052 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00087/0.9655, allocations: 215.1 kB / 1.052 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.9655, allocations: 4 kB / 1.052 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005976/0.9661, allocations: 127.3 kB / 1.052 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/0.9662, allocations: 30.98 kB / 1.052 GB, free: 4.941 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.9662, allocations: 7.938 kB / 1.052 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000841/0.967, allocations: 0.5638 MB / 1.053 GB, free: 4.547 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.9671, allocations: 4 kB / 1.053 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.243e-06/0.9671, allocations: 4 kB / 1.053 GB, free: 4.539 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006362/0.9677, allocations: 166 kB / 1.053 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.9677, allocations: 7.938 kB / 1.053 GB, free: 4.375 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.9682, allocations: 95.41 kB / 1.053 GB, free: 4.281 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.9682, allocations: 27.31 kB / 1.053 GB, free: 4.262 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * 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.0001645/0.9684, allocations: 122.5 kB / 1.053 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009158/0.9693, allocations: 0.606 MB / 1.054 GB, free: 3.684 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.9695, allocations: 98.78 kB / 1.054 GB, free: 3.586 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.9697, allocations: 105.1 kB / 1.054 GB, free: 3.527 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.9697, allocations: 11.95 kB / 1.054 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.9697, allocations: 0 / 1.054 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.9698, allocations: 3.984 kB / 1.054 GB, free: 3.512 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009957/0.9708, allocations: 0.8564 MB / 1.055 GB, free: 2.848 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.9708, allocations: 4 kB / 1.055 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007658/0.9715, allocations: 186.6 kB / 1.055 GB, free: 2.668 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.9716, allocations: 0 / 1.055 GB, free: 2.668 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.9716, allocations: 11.8 kB / 1.055 GB, free: 2.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.9716, allocations: 4 kB / 1.055 GB, free: 2.656 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.9716, allocations: 7.922 kB / 1.055 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.973, allocations: 0.9918 MB / 1.056 GB, free: 1.965 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.9731, allocations: 183.4 kB / 1.056 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.996e-05/0.9732, allocations: 7.812 kB / 1.056 GB, free: 1.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.9737, allocations: 71.94 kB / 1.056 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.9738, allocations: 60.33 kB / 1.056 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/0.9739, allocations: 19.8 kB / 1.056 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005187/0.9744, allocations: 477.7 kB / 1.057 GB, free: 1.301 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9744, allocations: 0 / 1.057 GB, free: 1.301 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008369/0.9752, allocations: 350.2 kB / 1.057 GB, free: 0.957 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001811/0.9771, allocations: 1.552 MB / 1.058 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001488/0.9786, allocations: 0.9699 MB / 1.059 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.9786, allocations: 0 / 1.059 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004246/0.979, allocations: 313.6 kB / 1.06 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.98, allocations: 218.2 kB / 1.06 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.9827, allocations: 1.51 MB / 1.061 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006579/0.9833, allocations: 1.111 MB / 1.063 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007288/0.9841, allocations: 163.8 kB / 1.063 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004495/0.9845, allocations: 442.8 kB / 1.063 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of SimCode: time 1.342e-06/0.9845, allocations: 0 / 1.063 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04446/1.029, allocations: 19.05 MB / 1.082 GB, free: 8.996 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/1.029, allocations: 153.4 kB / 1.082 GB, free: 8.805 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.413/3.442, allocations: 0 / 1.082 GB, free: 8.805 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)