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.709/1.709, allocations: 285.6 MB / 293.1 MB, free: 10.29 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.001442/0.001442, allocations: 192.8 kB / 361.4 MB, free: 6.852 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.132/2.132, allocations: 205.3 MB / 0.62 GB, free: 11.69 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.0009642/0.0009642, allocations: 83.41 kB / 0.733 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.657e-05/2.66e-05, allocations: 8 kB / 0.8518 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8716/0.8716, allocations: 115.3 MB / 0.9645 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2615/1.133, allocations: 139.1 MB / 1.1 GB, free: 0.668 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/1.134, allocations: 76.64 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03641/1.17, allocations: 9.248 MB / 1.109 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.205e-06/1.17, allocations: 0 / 1.109 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.647e-05/1.17, allocations: 8 kB / 1.109 GB, free: 7.43 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.00202/1.172, allocations: 0.7483 MB / 1.11 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/1.172, allocations: 12.03 kB / 1.11 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003418/1.173, allocations: 65.97 kB / 1.11 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/1.174, allocations: 440.8 kB / 1.111 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/1.174, allocations: 19.94 kB / 1.111 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/1.174, allocations: 32 kB / 1.111 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007889/1.175, allocations: 258.6 kB / 1.111 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009501/1.176, allocations: 377.1 kB / 1.111 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/1.176, allocations: 4 kB / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/1.176, allocations: 0 / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/1.176, allocations: 12 kB / 1.111 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003262/1.179, allocations: 1.397 MB / 1.113 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009584/1.18, allocations: 0.7979 MB / 1.113 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/1.181, allocations: 152.8 kB / 1.114 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.534e-05/1.181, allocations: 7.938 kB / 1.114 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004815/1.181, allocations: 191.9 kB / 1.114 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 3.046e-06/1.181, allocations: 0 / 1.114 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.0008303/1.182, allocations: 312.9 kB / 1.114 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/1.182, allocations: 118.8 kB / 1.114 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004677/1.183, allocations: 274.4 kB / 1.114 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.008e-05/1.183, allocations: 36.31 kB / 1.114 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/1.183, allocations: 256.8 kB / 1.115 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/1.183, allocations: 138 kB / 1.115 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/1.183, allocations: 0 / 1.115 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002004/1.183, allocations: 351.8 kB / 1.115 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/1.184, allocations: 128.8 kB / 1.115 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/1.184, allocations: 208.4 kB / 1.116 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/1.185, allocations: 144.7 kB / 1.116 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/1.185, allocations: 4 kB / 1.116 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001081/1.186, allocations: 414.6 kB / 1.116 GB, free: 244 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003527/1.186, allocations: 0.56 MB / 1.117 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.186, allocations: 4 kB / 1.117 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/1.186, allocations: 11.89 kB / 1.117 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/1.187, allocations: 87.83 kB / 1.117 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/1.187, allocations: 2.812 kB / 1.117 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/1.187, allocations: 83.69 kB / 1.117 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/1.187, allocations: 16 kB / 1.117 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/1.188, allocations: 0 / 1.117 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009398/1.188, allocations: 344.1 kB / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/1.189, allocations: 0 / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/1.189, allocations: 8.156 kB / 1.117 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/1.189, allocations: 71.91 kB / 1.117 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/1.189, allocations: 4 kB / 1.117 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/1.189, allocations: 67.64 kB / 1.117 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/1.189, allocations: 16 kB / 1.117 GB, free: 14.93 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.000181/1.19, allocations: 120.9 kB / 1.117 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006573/1.19, allocations: 301.4 kB / 1.118 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-05/1.19, allocations: 43.38 kB / 1.118 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/1.191, allocations: 44.58 kB / 1.118 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/1.191, allocations: 4 kB / 1.118 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.191, allocations: 1.438 kB / 1.118 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/1.191, allocations: 3.984 kB / 1.118 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/1.192, allocations: 0.8817 MB / 1.119 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.192, allocations: 0 / 1.119 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/1.193, allocations: 75.89 kB / 1.119 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/1.193, allocations: 4 kB / 1.119 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/1.193, allocations: 0 / 1.119 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/1.193, allocations: 8 kB / 1.119 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/1.193, allocations: 3.953 kB / 1.119 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/1.194, allocations: 0.5568 MB / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/1.194, allocations: 120.5 kB / 1.119 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.704e-05/1.194, allocations: 0 / 1.119 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/1.195, allocations: 28.05 kB / 1.119 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.683e-05/1.195, allocations: 23.92 kB / 1.119 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/1.195, allocations: 15.98 kB / 1.119 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003568/1.195, allocations: 220.6 kB / 1.12 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/1.195, allocations: 0 / 1.12 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000938/1.196, allocations: 175.2 kB / 1.12 GB, free: 12.24 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.001496/1.198, allocations: 1.123 MB / 1.121 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001399/1.199, allocations: 0.6344 MB / 1.122 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.199, allocations: 0 / 1.122 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00032/1.199, allocations: 152.5 kB / 1.122 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007129/1.2, allocations: 70.05 kB / 1.122 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/1.202, allocations: 0.7204 MB / 1.122 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/1.203, allocations: 0.8708 MB / 1.123 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004679/1.203, allocations: 68.72 kB / 1.123 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/1.204, allocations: 175.4 kB / 1.124 GB, free: 8.32 MB / 0.7292 GB Notification: Performance of SimCode: time 4.11e-07/1.204, allocations: 0 / 1.124 GB, free: 8.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04574/1.249, allocations: 8.868 MB / 1.132 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002949/1.25, allocations: 163.2 kB / 1.132 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.542/3.792, allocations: 4.031 kB / 1.132 GB, free: 15.44 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)