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 2.177/2.177, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001198/0.001198, allocations: 172.9 kB / 361.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.372/2.372, allocations: 205.2 MB / 0.62 GB, free: 11.68 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.0008966/0.0008959, allocations: 94.55 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.906e-05/3.921e-05, allocations: 8 kB / 0.8519 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7063/0.7064, allocations: 115.3 MB / 0.9645 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.265/0.9715, allocations: 139.1 MB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.9718, allocations: 77.08 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04407/1.016, allocations: 15.83 MB / 1.116 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.114e-06/1.016, allocations: 0 / 1.116 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.489e-05/1.016, allocations: 23.98 kB / 1.116 GB, free: 0.832 MB / 0.7136 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.001897/1.018, allocations: 1.095 MB / 1.117 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.018, allocations: 8.031 kB / 1.117 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/1.018, allocations: 119.6 kB / 1.117 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/1.02, allocations: 0.6491 MB / 1.118 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/1.02, allocations: 24 kB / 1.118 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/1.02, allocations: 56 kB / 1.118 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009593/1.021, allocations: 484 kB / 1.118 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/1.022, allocations: 0.6333 MB / 1.119 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/1.022, allocations: 7.938 kB / 1.119 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.604e-05/1.022, allocations: 7.984 kB / 1.119 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/1.022, allocations: 23.94 kB / 1.119 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003878/1.026, allocations: 2.485 MB / 1.121 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/1.027, allocations: 0.5526 MB / 1.122 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004182/1.027, allocations: 253.4 kB / 1.122 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-05/1.027, allocations: 8.562 kB / 1.122 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000502/1.028, allocations: 267.1 kB / 1.122 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 3.136e-06/1.028, allocations: 0 / 1.122 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.000858/1.029, allocations: 478.1 kB / 1.123 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/1.029, allocations: 192.5 kB / 1.123 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000624/1.03, allocations: 487.6 kB / 1.123 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/1.03, allocations: 33.64 kB / 1.124 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/1.03, allocations: 443.8 kB / 1.124 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/1.03, allocations: 194.4 kB / 1.124 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/1.03, allocations: 0 / 1.124 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002167/1.031, allocations: 382.8 kB / 1.124 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/1.031, allocations: 189.5 kB / 1.125 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/1.031, allocations: 324.5 kB / 1.125 GB, free: 7.191 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/1.032, allocations: 228.2 kB / 1.125 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.032, allocations: 4 kB / 1.125 GB, free: 6.969 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001049/1.033, allocations: 0.5878 MB / 1.126 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002854/1.033, allocations: 0.5649 MB / 1.126 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/1.033, allocations: 0 / 1.126 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/1.033, allocations: 7.953 kB / 1.126 GB, free: 5.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/1.034, allocations: 143.8 kB / 1.126 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/1.034, allocations: 11.94 kB / 1.126 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000591/1.034, allocations: 127.5 kB / 1.127 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/1.035, allocations: 24.92 kB / 1.127 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/1.035, allocations: 4 kB / 1.127 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009022/1.035, allocations: 481.2 kB / 1.127 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/1.035, allocations: 0.9375 kB / 1.127 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.144e-06/1.036, allocations: 4 kB / 1.127 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/1.036, allocations: 111.8 kB / 1.127 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/1.036, allocations: 6.891 kB / 1.127 GB, free: 4.855 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/1.036, allocations: 95.59 kB / 1.127 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/1.036, allocations: 23.98 kB / 1.127 GB, free: 4.738 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 () * 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.0001814/1.037, allocations: 124.8 kB / 1.127 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007463/1.037, allocations: 459.4 kB / 1.128 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.938e-05/1.038, allocations: 71.16 kB / 1.128 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/1.038, allocations: 82.41 kB / 1.128 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/1.038, allocations: 4 kB / 1.128 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/1.038, allocations: 7.984 kB / 1.128 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/1.038, allocations: 0 / 1.128 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/1.04, allocations: 1.184 MB / 1.129 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/1.04, allocations: 4 kB / 1.129 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/1.04, allocations: 127.8 kB / 1.129 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/1.04, allocations: 4 kB / 1.129 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/1.04, allocations: 11.98 kB / 1.129 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.04, allocations: 0 / 1.129 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.04, allocations: 0 / 1.129 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/1.041, allocations: 0.7989 MB / 1.13 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/1.041, allocations: 163.1 kB / 1.13 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.295e-05/1.042, allocations: 4 kB / 1.13 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/1.042, allocations: 43.95 kB / 1.13 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.859e-05/1.042, allocations: 44.5 kB / 1.13 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/1.042, allocations: 16 kB / 1.13 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004733/1.043, allocations: 375.2 kB / 1.131 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.043, allocations: 0 / 1.131 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008636/1.043, allocations: 290.5 kB / 1.131 GB, free: 0.8672 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 () * 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.001575/1.045, allocations: 1.379 MB / 1.132 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001434/1.046, allocations: 0.8738 MB / 1.133 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.046, allocations: 3.984 kB / 1.133 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003471/1.047, allocations: 226 kB / 1.133 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008541/1.048, allocations: 146.4 kB / 1.134 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/1.05, allocations: 1.15 MB / 1.135 GB, free: 13 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007404/1.051, allocations: 1.003 MB / 1.136 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005809/1.051, allocations: 127.5 kB / 1.136 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004361/1.052, allocations: 335.3 kB / 1.136 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/1.052, allocations: 0 / 1.136 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0415/1.093, allocations: 14.82 MB / 1.151 GB, free: 13 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002292/1.094, allocations: 150.1 kB / 1.151 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.77/3.864, allocations: 2.625 kB / 1.151 GB, free: 12.82 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)