Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.53/1.53, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001107/0.001107, allocations: 180.8 kB / 366.7 MB, free: 1.633 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.271/1.271, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008046/0.0008046, allocations: 85.12 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.453e-05/1.455e-05, allocations: 4 kB / 0.8597 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5532/0.5532, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.7205, allocations: 143.1 MB / 1.113 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.7208, allocations: 91.92 kB / 1.113 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04028/0.7611, allocations: 17.3 MB / 1.13 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7612, allocations: 4 kB / 1.13 GB, free: 5.785 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.197e-05/0.7613, allocations: 27.94 kB / 1.13 GB, free: 5.758 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.002271/0.7636, allocations: 1.087 MB / 1.131 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.7636, allocations: 8.031 kB / 1.131 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003372/0.7639, allocations: 126.5 kB / 1.131 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.7651, allocations: 0.6016 MB / 1.132 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.7651, allocations: 32 kB / 1.132 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.7653, allocations: 59.91 kB / 1.132 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001063/0.7663, allocations: 0.5272 MB / 1.132 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.7676, allocations: 0.7094 MB / 1.133 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.7676, allocations: 4 kB / 1.133 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/0.7677, allocations: 3.984 kB / 1.133 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.7677, allocations: 24 kB / 1.133 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003875/0.7716, allocations: 2.54 MB / 1.136 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008925/0.7725, allocations: 0.6136 MB / 1.136 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004257/0.773, allocations: 323.2 kB / 1.137 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.934e-05/0.773, allocations: 8.781 kB / 1.137 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004795/0.7735, allocations: 314 kB / 1.137 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=77): time 2.445e-06/0.7735, allocations: 4 kB / 1.137 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77): time 0.0008518/0.7744, allocations: 0.5124 MB / 1.137 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/0.7745, allocations: 167 kB / 1.138 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005217/0.775, allocations: 471.4 kB / 1.138 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.7751, allocations: 25.7 kB / 1.138 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/0.7754, allocations: 448 kB / 1.138 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.7756, allocations: 256.1 kB / 1.139 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.7756, allocations: 0 / 1.139 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.7758, allocations: 390.7 kB / 1.139 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.7761, allocations: 185.6 kB / 1.139 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.7764, allocations: 287.6 kB / 1.139 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.7768, allocations: 224.5 kB / 1.14 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.7768, allocations: 0 / 1.14 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008241/0.7776, allocations: 0.5841 MB / 1.14 GB, free: 11 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.021e-05/0.7777, allocations: 177.1 kB / 1.14 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.7777, allocations: 0 / 1.14 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.7778, allocations: 7.953 kB / 1.14 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/0.7784, allocations: 171.8 kB / 1.141 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.7784, allocations: 4 kB / 1.141 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.7788, allocations: 83.48 kB / 1.141 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.7789, allocations: 23.98 kB / 1.141 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.7789, allocations: 4 kB / 1.141 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006603/0.7795, allocations: 450.7 kB / 1.141 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.7796, allocations: 7.984 kB / 1.141 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-06/0.7796, allocations: 5.875 kB / 1.141 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/0.7801, allocations: 143.8 kB / 1.141 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.7801, allocations: 0 / 1.141 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.7804, allocations: 63.41 kB / 1.141 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.7804, allocations: 20 kB / 1.141 GB, free: 9.852 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.0001365/0.7806, allocations: 116.8 kB / 1.141 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.7807, allocations: 79.06 kB / 1.142 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.7808, allocations: 80 kB / 1.142 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.7809, allocations: 11.94 kB / 1.142 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.7809, allocations: 0 / 1.142 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.7809, allocations: 3.984 kB / 1.142 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.7828, allocations: 1.421 MB / 1.143 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.7828, allocations: 0 / 1.143 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/0.7834, allocations: 151.8 kB / 1.143 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.7834, allocations: 1.062 kB / 1.143 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.7835, allocations: 7.984 kB / 1.143 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.7835, allocations: 4 kB / 1.143 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.7835, allocations: 0 / 1.143 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.7846, allocations: 0.9107 MB / 1.144 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.7847, allocations: 160 kB / 1.144 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-05/0.7848, allocations: 7.984 kB / 1.144 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.7852, allocations: 39.97 kB / 1.144 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.375e-05/0.7852, allocations: 46.69 kB / 1.144 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.7853, allocations: 23.98 kB / 1.144 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003617/0.7856, allocations: 359.2 kB / 1.145 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7857, allocations: 0 / 1.145 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006909/0.7863, allocations: 286.3 kB / 1.145 GB, free: 6.086 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.0001745/0.7865, allocations: 126.1 kB / 1.145 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.7877, allocations: 0.7891 MB / 1.146 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.7877, allocations: 4.125 kB / 1.146 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003484/0.788, allocations: 274.8 kB / 1.146 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006833/0.7887, allocations: 128.5 kB / 1.146 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.7908, allocations: 1.193 MB / 1.147 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.7914, allocations: 1.03 MB / 1.148 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005173/0.7919, allocations: 120.2 kB / 1.149 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.7921, allocations: 63.36 kB / 1.149 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.7921, allocations: 0 / 1.149 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of Templates: time 0.01428/0.8064, allocations: 7.563 MB / 1.156 GB, free: 10.94 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)