Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 293 MB / 309 MB, free: 4.801 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.001005/0.001005, allocations: 176.2 kB / 378.7 MB, free: 1.012 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.661/1.661, allocations: 205.4 MB / 0.6383 GB, free: 8.219 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.0007803/0.0007802, allocations: 99.45 kB / 0.7527 GB, free: 62.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003772, allocations: 16 kB / 0.8768 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2606, allocations: 116.4 MB / 0.9905 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7002/0.9609, allocations: 140.6 MB / 1.128 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.9612, allocations: 76.39 kB / 1.128 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03553/0.9967, allocations: 13.82 MB / 1.141 GB, free: 24.38 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.625e-06/0.9968, allocations: 0 / 1.141 GB, free: 24.38 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.729e-05/0.9968, allocations: 24 kB / 1.141 GB, free: 24.35 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002049/0.9989, allocations: 1.16 MB / 1.142 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.999, allocations: 8.031 kB / 1.142 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.9992, allocations: 117.2 kB / 1.143 GB, free: 23.15 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/1, allocations: 0.6176 MB / 1.143 GB, free: 22.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.976e-05/1, allocations: 70.38 kB / 1.143 GB, free: 22.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/1.001, allocations: 100.9 kB / 1.143 GB, free: 22.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/1.002, allocations: 0.8569 MB / 1.144 GB, free: 21.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/1.002, allocations: 3.938 kB / 1.144 GB, free: 21.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-05/1.002, allocations: 37.31 kB / 1.144 GB, free: 21.62 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/1.002, allocations: 20 kB / 1.144 GB, free: 21.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/1.004, allocations: 0.6461 MB / 1.145 GB, free: 21.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004021/1.008, allocations: 2.511 MB / 1.147 GB, free: 18.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/1.009, allocations: 1.336 MB / 1.149 GB, free: 17.54 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005141/1.009, allocations: 360.9 kB / 1.149 GB, free: 17.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.794e-05/1.009, allocations: 10.25 kB / 1.149 GB, free: 17.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006364/1.01, allocations: 356.3 kB / 1.149 GB, free: 16.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 3.417e-06/1.01, allocations: 0 / 1.149 GB, free: 16.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.001492/1.012, allocations: 0.8292 MB / 1.15 GB, free: 16.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/1.012, allocations: 162.8 kB / 1.15 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006962/1.012, allocations: 0.5977 MB / 1.151 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.979e-05/1.012, allocations: 44.28 kB / 1.151 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/1.013, allocations: 407.3 kB / 1.151 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/1.013, allocations: 235.9 kB / 1.152 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/1.013, allocations: 12 kB / 1.152 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.883e-05/1.013, allocations: 334.6 kB / 1.152 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/1.013, allocations: 229.7 kB / 1.152 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/1.014, allocations: 332.7 kB / 1.152 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008542/1.015, allocations: 0.5105 MB / 1.153 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.015, allocations: 0 / 1.153 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001099/1.016, allocations: 0.6602 MB / 1.154 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.925e-05/1.016, allocations: 106.5 kB / 1.154 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/1.016, allocations: 0 / 1.154 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/1.016, allocations: 4 kB / 1.154 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/1.017, allocations: 151.9 kB / 1.154 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/1.017, allocations: 8.797 kB / 1.154 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003932/1.017, allocations: 106.2 kB / 1.154 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/1.017, allocations: 25.36 kB / 1.154 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.769e-06/1.017, allocations: 0 / 1.154 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005894/1.018, allocations: 455.8 kB / 1.154 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/1.018, allocations: 4.938 kB / 1.154 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-06/1.018, allocations: 0 / 1.154 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/1.018, allocations: 119.8 kB / 1.154 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/1.018, allocations: 7.938 kB / 1.154 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/1.018, allocations: 82.73 kB / 1.155 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/1.018, allocations: 16 kB / 1.155 GB, free: 11.86 MB / 0.7292 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.000511/1.019, allocations: 295 kB / 1.155 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.772e-05/1.019, allocations: 75.67 kB / 1.155 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/1.019, allocations: 96.5 kB / 1.155 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.019, allocations: 7.938 kB / 1.155 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.019, allocations: 1.031 kB / 1.155 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/1.019, allocations: 3.75 kB / 1.155 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/1.021, allocations: 1.609 MB / 1.157 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.022, allocations: 0 / 1.157 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005106/1.022, allocations: 139 kB / 1.157 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/1.022, allocations: 0 / 1.157 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/1.022, allocations: 25.48 kB / 1.157 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/1.022, allocations: 0 / 1.157 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.022, allocations: 1.703 kB / 1.157 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/1.024, allocations: 1.037 MB / 1.158 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/1.024, allocations: 152.8 kB / 1.158 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.285e-05/1.024, allocations: 21.11 kB / 1.158 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/1.024, allocations: 59.25 kB / 1.158 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/1.024, allocations: 34.72 kB / 1.158 GB, free: 8.656 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/1.024, allocations: 26.53 kB / 1.158 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004631/1.025, allocations: 418.7 kB / 1.158 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.025, allocations: 0 / 1.158 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006794/1.025, allocations: 288.3 kB / 1.159 GB, free: 8 MB / 0.7292 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.0002087/1.026, allocations: 131.6 kB / 1.159 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001409/1.027, allocations: 0.8201 MB / 1.16 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.027, allocations: 4 kB / 1.16 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004429/1.028, allocations: 308.5 kB / 1.16 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007627/1.028, allocations: 134.6 kB / 1.16 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/1.031, allocations: 1.829 MB / 1.162 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/1.031, allocations: 0.9808 MB / 1.163 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000386/1.032, allocations: 93.11 kB / 1.163 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/1.032, allocations: 54.48 kB / 1.163 GB, free: 4.012 MB / 0.7292 GB Notification: Performance of SimCode: time 1.052e-06/1.032, allocations: 4 kB / 1.163 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of Templates: time 0.01235/1.044, allocations: 6.686 MB / 1.169 GB, free: 13.84 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)