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.PIDWithResetScale.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.PIDWithResetScale,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",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.672/1.672, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001299/0.001299, allocations: 184.9 kB / 361.4 MB, free: 6.84 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.375/2.375, allocations: 205.3 MB / 0.62 GB, free: 11.61 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.0009061/0.0009059, allocations: 95.72 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.832e-05/3.855e-05, allocations: 8 kB / 0.8519 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.036, allocations: 115.3 MB / 0.9645 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2125/1.248, allocations: 139.1 MB / 1.1 GB, free: 0.668 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/1.248, allocations: 77.36 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03021/1.279, allocations: 10.54 MB / 1.111 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.174e-06/1.279, allocations: 0 / 1.111 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.549e-05/1.279, allocations: 12 kB / 1.111 GB, free: 6.133 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001772/1.281, allocations: 0.8069 MB / 1.112 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.281, allocations: 12.03 kB / 1.112 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/1.281, allocations: 72.19 kB / 1.112 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/1.282, allocations: 468.5 kB / 1.112 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/1.282, allocations: 16 kB / 1.112 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/1.282, allocations: 36 kB / 1.112 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006105/1.283, allocations: 274.6 kB / 1.112 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007315/1.284, allocations: 409.1 kB / 1.113 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/1.284, allocations: 0 / 1.113 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/1.284, allocations: 3.984 kB / 1.113 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/1.284, allocations: 12 kB / 1.113 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002799/1.286, allocations: 1.484 MB / 1.114 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008412/1.287, allocations: 0.805 MB / 1.115 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/1.288, allocations: 164.8 kB / 1.115 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.287e-05/1.288, allocations: 4 kB / 1.115 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004486/1.288, allocations: 233.3 kB / 1.115 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 3.917e-06/1.288, allocations: 0 / 1.115 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47): time 0.0007148/1.289, allocations: 343.5 kB / 1.116 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/1.289, allocations: 111.2 kB / 1.116 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/1.289, allocations: 296.2 kB / 1.116 GB, free: 308 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-05/1.289, allocations: 33.7 kB / 1.116 GB, free: 268 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/1.29, allocations: 268.8 kB / 1.116 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/1.29, allocations: 137.8 kB / 1.116 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/1.29, allocations: 8 kB / 1.117 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001736/1.29, allocations: 358.8 kB / 1.117 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/1.29, allocations: 153.1 kB / 1.117 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/1.291, allocations: 238.3 kB / 1.117 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/1.291, allocations: 188.7 kB / 1.117 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.291, allocations: 0 / 1.117 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001132/1.293, allocations: 499.5 kB / 1.118 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004372/1.293, allocations: 0.6837 MB / 1.119 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/1.293, allocations: 2.438 kB / 1.119 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/1.293, allocations: 4 kB / 1.119 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/1.293, allocations: 95.83 kB / 1.119 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/1.294, allocations: 5.719 kB / 1.119 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005901/1.294, allocations: 115.6 kB / 1.119 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/1.294, allocations: 27.92 kB / 1.119 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/1.294, allocations: 4 kB / 1.119 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009395/1.295, allocations: 438.2 kB / 1.119 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.295, allocations: 0.9375 kB / 1.119 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/1.295, allocations: 4 kB / 1.119 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/1.296, allocations: 79.84 kB / 1.119 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/1.296, allocations: 4 kB / 1.119 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005003/1.296, allocations: 103.8 kB / 1.119 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.706e-05/1.296, allocations: 23.98 kB / 1.119 GB, free: 12.77 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0001799/1.296, allocations: 129.3 kB / 1.12 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005322/1.297, allocations: 327.6 kB / 1.12 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/1.297, allocations: 47.44 kB / 1.12 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/1.297, allocations: 44.67 kB / 1.12 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/1.297, allocations: 14.77 kB / 1.12 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/1.297, allocations: 0 / 1.12 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/1.297, allocations: 1.625 kB / 1.12 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/1.299, allocations: 0.9203 MB / 1.121 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/1.299, allocations: 0 / 1.121 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/1.299, allocations: 75.91 kB / 1.121 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/1.299, allocations: 7.938 kB / 1.121 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/1.299, allocations: 4 kB / 1.121 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.299, allocations: 0 / 1.121 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.299, allocations: 0 / 1.121 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009021/1.3, allocations: 0.6075 MB / 1.122 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/1.3, allocations: 116.5 kB / 1.122 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.555e-05/1.3, allocations: 8.016 kB / 1.122 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/1.301, allocations: 27.41 kB / 1.122 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.287e-05/1.301, allocations: 24.41 kB / 1.122 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/1.301, allocations: 23.98 kB / 1.122 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000274/1.301, allocations: 220.6 kB / 1.122 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.4e-07/1.301, allocations: 0 / 1.122 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008094/1.302, allocations: 203.1 kB / 1.122 GB, free: 9.906 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: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * 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.001248/1.303, allocations: 1.177 MB / 1.123 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001375/1.304, allocations: 0.8522 MB / 1.124 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.304, allocations: 0 / 1.124 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002331/1.305, allocations: 161.6 kB / 1.124 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/1.305, allocations: 76.11 kB / 1.124 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/1.307, allocations: 0.7652 MB / 1.125 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/1.307, allocations: 0.8752 MB / 1.126 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003722/1.308, allocations: 83.58 kB / 1.126 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/1.308, allocations: 187.4 kB / 1.126 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of SimCode: time 1.152e-06/1.308, allocations: 0 / 1.126 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04074/1.349, allocations: 10.23 MB / 1.136 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003488/1.349, allocations: 166.6 kB / 1.136 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.521/3.87, allocations: 2.062 kB / 1.136 GB, free: 11.4 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)