Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.642/1.642, allocations: 297.8 MB / 313.7 MB, free: 184 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 184.5 kB / 384.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.2 MB / 0.6626 GB, free: 4.332 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000741/0.000741, allocations: 98.66 kB / 0.7808 GB, free: 50.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003708, allocations: 16 kB / 0.9088 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5759/0.5763, allocations: 120.3 MB / 1.026 GB, free: 55.96 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.7498, allocations: 142.7 MB / 1.166 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.7501, allocations: 80.33 kB / 1.166 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03552/0.7856, allocations: 13.82 MB / 1.179 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.286e-06/0.7856, allocations: 4 kB / 1.179 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.89e-05/0.7857, allocations: 20 kB / 1.179 GB, free: 5.406 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00236/0.7881, allocations: 1.165 MB / 1.18 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.7881, allocations: 8.031 kB / 1.18 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003188/0.7885, allocations: 120.3 kB / 1.181 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.7896, allocations: 0.6143 MB / 1.181 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.963e-05/0.7897, allocations: 66.38 kB / 1.181 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.7898, allocations: 93.36 kB / 1.181 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.7913, allocations: 0.8671 MB / 1.182 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.7913, allocations: 4.969 kB / 1.182 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.232e-05/0.7914, allocations: 40 kB / 1.182 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.7915, allocations: 20 kB / 1.182 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.7928, allocations: 0.641 MB / 1.183 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003607/0.7964, allocations: 2.511 MB / 1.185 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.7978, allocations: 1.325 MB / 1.187 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005754/0.7984, allocations: 370.5 kB / 1.187 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.7985, allocations: 8.562 kB / 1.187 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006345/0.7991, allocations: 355 kB / 1.187 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=69): time 2.946e-06/0.7991, allocations: 0 / 1.187 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69): time 0.001511/0.8006, allocations: 0.8261 MB / 1.188 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/0.8007, allocations: 167.6 kB / 1.188 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006673/0.8014, allocations: 0.594 MB / 1.189 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.882e-05/0.8015, allocations: 45.69 kB / 1.189 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.8017, allocations: 404.3 kB / 1.189 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.8019, allocations: 240.5 kB / 1.189 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.8019, allocations: 8 kB / 1.19 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.802, allocations: 337.9 kB / 1.19 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/0.8025, allocations: 229.2 kB / 1.19 GB, free: 10 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/0.803, allocations: 336.9 kB / 1.19 GB, free: 9.645 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000896/0.8039, allocations: 0.5022 MB / 1.191 GB, free: 9.137 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.8039, allocations: 0 / 1.191 GB, free: 9.137 MB / 0.7605 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001134/0.8051, allocations: 0.6644 MB / 1.192 GB, free: 8.465 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-05/0.8051, allocations: 108.5 kB / 1.192 GB, free: 8.348 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.8052, allocations: 0 / 1.192 GB, free: 8.348 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.8052, allocations: 4 kB / 1.192 GB, free: 8.344 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005478/0.8057, allocations: 144.7 kB / 1.192 GB, free: 8.203 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.8058, allocations: 7.938 kB / 1.192 GB, free: 8.195 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.8062, allocations: 119.2 kB / 1.192 GB, free: 8.078 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.8062, allocations: 16 kB / 1.192 GB, free: 8.062 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.8062, allocations: 4 kB / 1.192 GB, free: 8.059 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006617/0.8069, allocations: 463.6 kB / 1.192 GB, free: 7.605 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.8069, allocations: 6.281 kB / 1.192 GB, free: 7.602 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.651e-06/0.8069, allocations: 4 kB / 1.192 GB, free: 7.598 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.8073, allocations: 120.6 kB / 1.192 GB, free: 7.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.8073, allocations: 0 / 1.192 GB, free: 7.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.8076, allocations: 75.5 kB / 1.193 GB, free: 7.406 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.8077, allocations: 16 kB / 1.193 GB, free: 7.391 MB / 0.7605 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0003707/0.808, allocations: 301.5 kB / 1.193 GB, free: 7.086 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.795e-05/0.8082, allocations: 76.22 kB / 1.193 GB, free: 7.012 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.8083, allocations: 83.83 kB / 1.193 GB, free: 6.922 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.8083, allocations: 8 kB / 1.193 GB, free: 6.914 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.8083, allocations: 0 / 1.193 GB, free: 6.914 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.8084, allocations: 3.984 kB / 1.193 GB, free: 6.91 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.8107, allocations: 1.617 MB / 1.195 GB, free: 5.234 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.8107, allocations: 0.75 kB / 1.195 GB, free: 5.234 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005213/0.8112, allocations: 131.8 kB / 1.195 GB, free: 5.105 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.8112, allocations: 4 kB / 1.195 GB, free: 5.102 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.8113, allocations: 17.11 kB / 1.195 GB, free: 5.086 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.8113, allocations: 4 kB / 1.195 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8113, allocations: 0.6875 kB / 1.195 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.8129, allocations: 1.033 MB / 1.196 GB, free: 4.031 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.813, allocations: 156 kB / 1.196 GB, free: 3.859 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.3e-05/0.8131, allocations: 15.94 kB / 1.196 GB, free: 3.844 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.8134, allocations: 63.42 kB / 1.196 GB, free: 3.785 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.8135, allocations: 40.59 kB / 1.196 GB, free: 3.746 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.8135, allocations: 20.88 kB / 1.196 GB, free: 3.727 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004752/0.814, allocations: 423.1 kB / 1.196 GB, free: 3.316 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.4e-07/0.814, allocations: 0 / 1.196 GB, free: 3.316 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006629/0.8147, allocations: 295.1 kB / 1.197 GB, free: 3.027 MB / 0.7605 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 69 * 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.0002023/0.8149, allocations: 137.5 kB / 1.197 GB, free: 2.883 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001386/0.8163, allocations: 0.82 MB / 1.198 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.8163, allocations: 0 / 1.198 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004984/0.8168, allocations: 307.1 kB / 1.198 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007374/0.8176, allocations: 138.6 kB / 1.198 GB, free: 1.641 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.8201, allocations: 1.825 MB / 1.2 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.8207, allocations: 0.9863 MB / 1.201 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000354/0.821, allocations: 83.23 kB / 1.201 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.8212, allocations: 55.42 kB / 1.201 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of SimCode: time 7.22e-07/0.8212, allocations: 0 / 1.201 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of Templates: time 0.0138/0.835, allocations: 6.689 MB / 1.207 GB, free: 8.18 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)