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.PIDScale.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.PIDScale,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.704/1.704, allocations: 285.4 MB / 298 MB, free: 5.973 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.001208/0.001208, allocations: 184.8 kB / 366.4 MB, free: 2.059 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.839/1.839, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.0008818/0.000882, allocations: 91.64 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.527e-05/4.528e-05, allocations: 8 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9015/0.9015, allocations: 115.3 MB / 0.971 GB, free: 77.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2178/1.119, allocations: 139.7 MB / 1.107 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/1.12, allocations: 75.95 kB / 1.108 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02625/1.146, allocations: 9.31 MB / 1.117 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.575e-06/1.146, allocations: 0 / 1.117 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.153e-05/1.146, allocations: 12 kB / 1.117 GB, free: 2.676 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001284/1.147, allocations: 0.7482 MB / 1.117 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.574e-05/1.148, allocations: 12.03 kB / 1.117 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/1.148, allocations: 82.52 kB / 1.117 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/1.148, allocations: 71.25 kB / 1.118 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008284/1.149, allocations: 432.3 kB / 1.118 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/1.149, allocations: 44.94 kB / 1.118 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.411e-05/1.149, allocations: 55.98 kB / 1.118 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/1.15, allocations: 439.1 kB / 1.118 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/1.15, allocations: 0 / 1.118 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/1.15, allocations: 23.98 kB / 1.118 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/1.15, allocations: 12 kB / 1.119 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004999/1.15, allocations: 283.9 kB / 1.119 GB, free: 392 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/1.153, allocations: 1.498 MB / 1.12 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008256/1.153, allocations: 0.8107 MB / 1.121 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/1.154, allocations: 164.8 kB / 1.121 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.604e-05/1.154, allocations: 8.578 kB / 1.121 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003921/1.154, allocations: 211.3 kB / 1.121 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=43): time 3.226e-06/1.154, allocations: 0 / 1.121 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.0006452/1.155, allocations: 332.9 kB / 1.122 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.049e-05/1.155, allocations: 110.8 kB / 1.122 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/1.155, allocations: 343.2 kB / 1.122 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/1.155, allocations: 37.7 kB / 1.122 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/1.156, allocations: 256.5 kB / 1.122 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/1.156, allocations: 141.9 kB / 1.123 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/1.156, allocations: 8 kB / 1.123 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.156, allocations: 362.8 kB / 1.123 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/1.156, allocations: 132.9 kB / 1.123 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/1.156, allocations: 213.3 kB / 1.123 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/1.157, allocations: 189 kB / 1.123 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.157, allocations: 0 / 1.123 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007266/1.157, allocations: 468.4 kB / 1.124 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002681/1.158, allocations: 0.5638 MB / 1.124 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.158, allocations: 48 / 1.124 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/1.158, allocations: 11.92 kB / 1.124 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/1.158, allocations: 87.89 kB / 1.125 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/1.158, allocations: 3.938 kB / 1.125 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/1.159, allocations: 91.64 kB / 1.125 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/1.159, allocations: 19.98 kB / 1.125 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/1.159, allocations: 5.094 kB / 1.125 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006232/1.159, allocations: 409.5 kB / 1.125 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/1.159, allocations: 0 / 1.125 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.55e-06/1.159, allocations: 4 kB / 1.125 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/1.16, allocations: 73.22 kB / 1.125 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/1.16, allocations: 4 kB / 1.125 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/1.16, allocations: 79.7 kB / 1.125 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/1.16, allocations: 23.94 kB / 1.125 GB, free: 9.453 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 (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 0.000131/1.16, allocations: 132.9 kB / 1.125 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/1.16, allocations: 48.84 kB / 1.125 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/1.16, allocations: 48.66 kB / 1.125 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/1.16, allocations: 7.984 kB / 1.125 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/1.16, allocations: 4 kB / 1.125 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.16, allocations: 4 kB / 1.125 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/1.162, allocations: 0.9745 MB / 1.126 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/1.162, allocations: 0 / 1.126 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/1.162, allocations: 77.39 kB / 1.126 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/1.162, allocations: 4 kB / 1.126 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/1.162, allocations: 8 kB / 1.126 GB, free: 8.086 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/1.162, allocations: 7.953 kB / 1.126 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.162, allocations: 0 / 1.126 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007692/1.163, allocations: 0.5871 MB / 1.127 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/1.163, allocations: 124.5 kB / 1.127 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/1.163, allocations: 12 kB / 1.127 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/1.163, allocations: 29.95 kB / 1.127 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/1.163, allocations: 31.91 kB / 1.127 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/1.163, allocations: 14.5 kB / 1.127 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003104/1.164, allocations: 277.2 kB / 1.128 GB, free: 6.984 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.164, allocations: 0 / 1.128 GB, free: 6.984 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006126/1.164, allocations: 199.2 kB / 1.128 GB, free: 6.789 MB / 0.7292 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.001163/1.165, allocations: 1.153 MB / 1.129 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009987/1.166, allocations: 0.6784 MB / 1.13 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.166, allocations: 0 / 1.13 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/1.167, allocations: 160.4 kB / 1.13 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/1.167, allocations: 85.69 kB / 1.13 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/1.169, allocations: 0.7666 MB / 1.13 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/1.169, allocations: 0.8597 MB / 1.131 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003402/1.169, allocations: 81.39 kB / 1.131 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/1.17, allocations: 179.4 kB / 1.132 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of SimCode: time 4.41e-07/1.17, allocations: 0 / 1.132 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/1.196, allocations: 10.07 MB / 1.141 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/1.197, allocations: 174.3 kB / 1.142 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/3.46, allocations: 0 / 1.142 GB, free: 8.75 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)