Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.331/2.331, allocations: 284.7 MB / 297.2 MB, free: 6.379 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.001441/0.001441, allocations: 180.9 kB / 365.6 MB, free: 2.613 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.961/1.961, allocations: 205.1 MB / 0.624 GB, free: 8.23 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.001047/0.001047, allocations: 94.95 kB / 0.7371 GB, free: 40.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.34e-05/4.356e-05, allocations: 4 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7712/0.7713, allocations: 115.2 MB / 0.97 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.237/1.008, allocations: 142.6 MB / 1.109 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/1.009, allocations: 89.23 kB / 1.109 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.07304/1.082, allocations: 17.42 MB / 1.126 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.964e-06/1.082, allocations: 1.125 kB / 1.126 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.054e-05/1.082, allocations: 20 kB / 1.126 GB, free: 8.34 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.003038/1.085, allocations: 1.103 MB / 1.127 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/1.085, allocations: 12.03 kB / 1.127 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000385/1.085, allocations: 145.1 kB / 1.128 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000394/1.086, allocations: 126.5 kB / 1.128 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/1.088, allocations: 0.5977 MB / 1.128 GB, free: 6.266 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/1.088, allocations: 74 kB / 1.128 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002482/1.088, allocations: 103.9 kB / 1.128 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/1.09, allocations: 0.8512 MB / 1.129 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/1.09, allocations: 0 / 1.129 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/1.091, allocations: 36 kB / 1.129 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/1.091, allocations: 25.78 kB / 1.129 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/1.092, allocations: 0.578 MB / 1.13 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006935/1.099, allocations: 2.73 MB / 1.133 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/1.101, allocations: 0.6341 MB / 1.133 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008576/1.102, allocations: 355.2 kB / 1.134 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.602e-05/1.102, allocations: 8.781 kB / 1.134 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008643/1.103, allocations: 328 kB / 1.134 GB, free: 448 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=77): time 4.319e-06/1.103, allocations: 0 / 1.134 GB, free: 448 kB / 0.7292 GB Notification: Performance of matching and sorting (n=77): time 0.001618/1.105, allocations: 0.5663 MB / 1.134 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/1.105, allocations: 167 kB / 1.135 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/1.106, allocations: 0.5624 MB / 1.135 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001668/1.106, allocations: 45.64 kB / 1.135 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004749/1.107, allocations: 444.2 kB / 1.136 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/1.107, allocations: 272.1 kB / 1.136 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/1.107, allocations: 8 kB / 1.136 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.107, allocations: 334 kB / 1.136 GB, free: 14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005995/1.108, allocations: 197.6 kB / 1.136 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000719/1.109, allocations: 313.1 kB / 1.137 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006473/1.109, allocations: 231.4 kB / 1.137 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.109, allocations: 0 / 1.137 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001737/1.111, allocations: 0.6321 MB / 1.138 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/1.111, allocations: 189.1 kB / 1.138 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/1.111, allocations: 0 / 1.138 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/1.111, allocations: 4 kB / 1.138 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/1.113, allocations: 167.8 kB / 1.138 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/1.113, allocations: 4 kB / 1.138 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008311/1.113, allocations: 111.2 kB / 1.138 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.657e-05/1.114, allocations: 20 kB / 1.138 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.114, allocations: 7.984 kB / 1.138 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001373/1.115, allocations: 0.5143 MB / 1.139 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.115, allocations: 0 / 1.139 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/1.115, allocations: 4 kB / 1.139 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009845/1.116, allocations: 135.8 kB / 1.139 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.519e-06/1.116, allocations: 5.969 kB / 1.139 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006416/1.117, allocations: 87.34 kB / 1.139 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/1.117, allocations: 24 kB / 1.139 GB, free: 11.33 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0002431/1.117, allocations: 143.2 kB / 1.139 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/1.117, allocations: 82.97 kB / 1.139 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/1.117, allocations: 92.66 kB / 1.139 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/1.117, allocations: 11.98 kB / 1.139 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.118, allocations: 7.938 kB / 1.139 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/1.118, allocations: 3.984 kB / 1.139 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/1.121, allocations: 1.597 MB / 1.141 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.121, allocations: 0 / 1.141 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/1.122, allocations: 147.8 kB / 1.141 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/1.122, allocations: 0 / 1.141 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.328e-05/1.122, allocations: 16 kB / 1.141 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/1.122, allocations: 4 kB / 1.141 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.122, allocations: 3.953 kB / 1.141 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/1.125, allocations: 0.9742 MB / 1.142 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/1.125, allocations: 167.9 kB / 1.142 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/1.125, allocations: 16 kB / 1.142 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000704/1.126, allocations: 62.86 kB / 1.142 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/1.126, allocations: 47.36 kB / 1.142 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/1.126, allocations: 23.98 kB / 1.142 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008759/1.127, allocations: 451.2 kB / 1.142 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.31e-07/1.127, allocations: 4 kB / 1.142 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001062/1.128, allocations: 322.5 kB / 1.143 GB, free: 7.09 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * 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 Backend phase and start with SimCode phase: time 0.002676/1.131, allocations: 1.548 MB / 1.144 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002236/1.133, allocations: 0.8452 MB / 1.145 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.133, allocations: 4 kB / 1.145 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000716/1.134, allocations: 284.4 kB / 1.145 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/1.135, allocations: 156.6 kB / 1.146 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/1.139, allocations: 1.409 MB / 1.147 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/1.14, allocations: 1.035 MB / 1.148 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000985/1.141, allocations: 141.8 kB / 1.148 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007239/1.142, allocations: 367.3 kB / 1.148 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of SimCode: time 1.232e-06/1.142, allocations: 0 / 1.148 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06087/1.202, allocations: 15.95 MB / 1.164 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/1.203, allocations: 186 kB / 1.164 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.053/4.256, allocations: 0 / 1.164 GB, free: 1.43 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)