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.PIDWithReset.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.651/1.651, allocations: 285.7 MB / 293.1 MB, free: 10.24 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.001203/0.001203, allocations: 180.9 kB / 361.4 MB, free: 6.875 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.748/1.748, allocations: 205.2 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.0009604/0.0009603, allocations: 102.6 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.195e-05, allocations: 8 kB / 0.8518 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7296/0.7296, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1947/0.9244, allocations: 138.8 MB / 1.1 GB, free: 1.086 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.9246, allocations: 74.08 kB / 1.1 GB, free: 1.016 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03415/0.9588, allocations: 13.65 MB / 1.113 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9589, allocations: 0 / 1.113 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.448e-05/0.9589, allocations: 24 kB / 1.113 GB, free: 3.465 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001833/0.9608, allocations: 1.028 MB / 1.114 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.9608, allocations: 8.031 kB / 1.114 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.961, allocations: 115.7 kB / 1.114 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009961/0.9621, allocations: 0.586 MB / 1.115 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.9621, allocations: 28 kB / 1.115 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.9622, allocations: 63.89 kB / 1.115 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000887/0.9631, allocations: 484.8 kB / 1.116 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.9643, allocations: 0.6637 MB / 1.116 GB, free: 396 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.9643, allocations: 4 kB / 1.116 GB, free: 392 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.9644, allocations: 4 kB / 1.116 GB, free: 388 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.9644, allocations: 20 kB / 1.116 GB, free: 368 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003346/0.9678, allocations: 2.342 MB / 1.119 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.9689, allocations: 1.179 MB / 1.12 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/0.9692, allocations: 290.6 kB / 1.12 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.76e-05/0.9693, allocations: 8.562 kB / 1.12 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004244/0.9697, allocations: 274 kB / 1.12 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 2.444e-06/0.9697, allocations: 0 / 1.12 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.0007538/0.9705, allocations: 474.2 kB / 1.121 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.604e-05/0.9706, allocations: 166.8 kB / 1.121 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/0.9711, allocations: 414.2 kB / 1.121 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/0.9711, allocations: 33.7 kB / 1.121 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.9714, allocations: 408.1 kB / 1.122 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.9716, allocations: 228.5 kB / 1.122 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.9716, allocations: 0 / 1.122 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.9718, allocations: 374.8 kB / 1.122 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.972, allocations: 167.3 kB / 1.122 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.9724, allocations: 263.5 kB / 1.123 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.9727, allocations: 192.5 kB / 1.123 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9727, allocations: 0 / 1.123 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0007375/0.9734, allocations: 0.5188 MB / 1.123 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.9735, allocations: 181.1 kB / 1.124 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.9736, allocations: 5.312 kB / 1.124 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.9736, allocations: 0 / 1.124 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/0.9742, allocations: 151.8 kB / 1.124 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.9742, allocations: 4 kB / 1.124 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/0.9746, allocations: 87.52 kB / 1.124 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.9747, allocations: 16 kB / 1.124 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.9747, allocations: 4 kB / 1.124 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005571/0.9752, allocations: 394.6 kB / 1.124 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.9752, allocations: 0 / 1.124 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.18e-06/0.9753, allocations: 7.938 kB / 1.124 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.9757, allocations: 119.9 kB / 1.124 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.9757, allocations: 7.938 kB / 1.124 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.976, allocations: 64.69 kB / 1.124 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.9761, allocations: 20 kB / 1.124 GB, free: 7.719 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 () * 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.0001625/0.9762, allocations: 113.9 kB / 1.124 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.551e-05/0.9763, allocations: 63.25 kB / 1.125 GB, free: 7.539 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.9765, allocations: 70.5 kB / 1.125 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-06/0.9765, allocations: 12 kB / 1.125 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.9765, allocations: 0 / 1.125 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.9766, allocations: 3.984 kB / 1.125 GB, free: 7.449 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.9787, allocations: 1.34 MB / 1.126 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.9787, allocations: 4 kB / 1.126 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/0.9792, allocations: 131.8 kB / 1.126 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.9793, allocations: 7.984 kB / 1.126 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.9793, allocations: 7.984 kB / 1.126 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.9793, allocations: 0 / 1.126 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9793, allocations: 0 / 1.126 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.9804, allocations: 0.8194 MB / 1.127 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.9805, allocations: 148.1 kB / 1.127 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.46e-05/0.9806, allocations: 0 / 1.127 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.981, allocations: 47.91 kB / 1.127 GB, free: 4.867 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.618e-05/0.981, allocations: 40.53 kB / 1.127 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.9811, allocations: 25.48 kB / 1.127 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003694/0.9815, allocations: 315 kB / 1.127 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9815, allocations: 0 / 1.127 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006686/0.9821, allocations: 273.1 kB / 1.128 GB, free: 4.23 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 () * 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.0002026/0.9824, allocations: 127.6 kB / 1.128 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.9834, allocations: 0.6804 MB / 1.128 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.9834, allocations: 0 / 1.128 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.9837, allocations: 242 kB / 1.129 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006351/0.9844, allocations: 110.8 kB / 1.129 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.9862, allocations: 1.093 MB / 1.13 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000706/0.9869, allocations: 0.9984 MB / 1.131 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0005039/0.9875, allocations: 108.8 kB / 1.131 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.9876, allocations: 51.42 kB / 1.131 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of SimCode: time 1.483e-06/0.9876, allocations: 0 / 1.131 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of Templates: time 0.0137/1.001, allocations: 6.755 MB / 1.138 GB, free: 10.18 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)