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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002236/0.002236, allocations: 197.8 kB / 16.26 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 292.2 MB / 0.5485 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 67.3 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2978, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.005205/0.3031, allocations: 3.288 MB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003179/0.3063, allocations: 1.657 MB / 0.7877 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005054/0.3068, allocations: 19.94 kB / 0.7877 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004538/0.3073, allocations: 110.9 kB / 0.7878 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004587/0.3078, allocations: 102.5 kB / 0.7879 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.3083, allocations: 299.8 kB / 0.7882 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008718/0.3092, allocations: 1.053 MB / 0.7892 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007765/0.31, allocations: 0.6115 MB / 0.7898 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003403/0.3104, allocations: 398.3 kB / 0.7902 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.3107, allocations: 453.5 kB / 0.7906 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.3109, allocations: 120 kB / 0.7908 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.311, allocations: 116 kB / 0.7909 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.3112, allocations: 247.2 kB / 0.7911 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003628/0.3116, allocations: 497.1 kB / 0.7916 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.3126, allocations: 1.266 MB / 0.7928 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3126, allocations: 4 kB / 0.7928 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3126, allocations: 0 / 0.7928 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.3126, allocations: 0 / 0.7928 GB, free: 3.645 MB / 0.6075 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.002122/0.3148, allocations: 1.321 MB / 0.7941 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3148, allocations: 12.03 kB / 0.7941 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.315, allocations: 115.5 kB / 0.7942 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007548/0.3157, allocations: 0.5908 MB / 0.7948 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.599e-05/0.3158, allocations: 70.38 kB / 0.7949 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.3159, allocations: 104.2 kB / 0.795 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.3173, allocations: 0.8399 MB / 0.7958 GB, free: 492 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.3173, allocations: 4.125 kB / 0.7958 GB, free: 488 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.769e-05/0.3174, allocations: 43.92 kB / 0.7958 GB, free: 444 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.3174, allocations: 24 kB / 0.7959 GB, free: 420 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.3186, allocations: 0.5934 MB / 0.7964 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003587/0.3222, allocations: 2.697 MB / 0.7991 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.3237, allocations: 1.291 MB / 0.8003 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005881/0.3243, allocations: 378.6 kB / 0.8007 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/0.3243, allocations: 4.562 kB / 0.8007 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006629/0.325, allocations: 339 kB / 0.801 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 2.495e-06/0.325, allocations: 0 / 0.801 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.001425/0.3264, allocations: 0.7597 MB / 0.8018 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/0.3265, allocations: 174.8 kB / 0.8019 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006586/0.3272, allocations: 0.5901 MB / 0.8025 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/0.3273, allocations: 41.7 kB / 0.8025 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.3276, allocations: 420 kB / 0.8029 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.3278, allocations: 228.6 kB / 0.8032 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.328, allocations: 122.3 kB / 0.8033 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3282, allocations: 386.7 kB / 0.8037 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/0.3286, allocations: 223.4 kB / 0.8039 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005182/0.3291, allocations: 341.3 kB / 0.8042 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008717/0.33, allocations: 0.5 MB / 0.8047 GB, free: 7 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.33, allocations: 0 / 0.8047 GB, free: 7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001141/0.3312, allocations: 0.6487 MB / 0.8053 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3312, allocations: 4 kB / 0.8053 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3312, allocations: 4.094 kB / 0.8053 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3312, allocations: 7.938 kB / 0.8053 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.3318, allocations: 143.8 kB / 0.8055 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.3318, allocations: 0 / 0.8055 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.3322, allocations: 91.48 kB / 0.8056 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.3322, allocations: 20 kB / 0.8056 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000477/0.3327, allocations: 338 kB / 0.8059 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003757/0.3331, allocations: 285.4 kB / 0.8062 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005879/0.3337, allocations: 428.1 kB / 0.8066 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.3337, allocations: 3.938 kB / 0.8066 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.0007819/0.3345, allocations: 0.5511 MB / 0.8071 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3345, allocations: 8 kB / 0.8071 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.3345, allocations: 0 / 0.8071 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.602e-06/0.3345, allocations: 4.094 kB / 0.8071 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.335, allocations: 127.8 kB / 0.8072 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.335, allocations: 4 kB / 0.8073 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.3353, allocations: 75.41 kB / 0.8073 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.3353, allocations: 20 kB / 0.8073 GB, free: 4.199 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000253/0.3356, allocations: 224 kB / 0.8076 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.659e-05/0.3357, allocations: 71.16 kB / 0.8076 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.3359, allocations: 82.95 kB / 0.8077 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.3359, allocations: 8 kB / 0.8077 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.379e-05/0.3359, allocations: 0 / 0.8077 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.3359, allocations: 3.984 kB / 0.8077 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.3382, allocations: 1.562 MB / 0.8092 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3382, allocations: 0 / 0.8092 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.3387, allocations: 119.8 kB / 0.8094 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.3388, allocations: 7.984 kB / 0.8094 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.3388, allocations: 12 kB / 0.8094 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.3388, allocations: 8 kB / 0.8094 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3388, allocations: 3.938 kB / 0.8094 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.3404, allocations: 0.9671 MB / 0.8103 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.3406, allocations: 167.9 kB / 0.8105 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.127e-05/0.3407, allocations: 16 kB / 0.8105 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.341, allocations: 43.89 kB / 0.8105 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.3411, allocations: 32.52 kB / 0.8106 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.3411, allocations: 23.98 kB / 0.8106 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005296/0.3417, allocations: 423.1 kB / 0.811 GB, free: 356 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3417, allocations: 0 / 0.811 GB, free: 356 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008003/0.3425, allocations: 302.5 kB / 0.8113 GB, free: 52 kB / 0.6231 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: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000259/0.3427, allocations: 127.3 kB / 0.8114 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001713/0.3445, allocations: 0.8355 MB / 0.8122 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3445, allocations: 0 / 0.8122 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.345, allocations: 287.1 kB / 0.8125 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007824/0.3458, allocations: 155.3 kB / 0.8127 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.3485, allocations: 1.867 MB / 0.8145 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006249/0.3492, allocations: 0.9817 MB / 0.8154 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003452/0.3495, allocations: 85.2 kB / 0.8155 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.3497, allocations: 55.42 kB / 0.8156 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of SimCode: time 1.332e-06/0.3497, allocations: 0 / 0.8156 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of Templates: time 0.01467/0.3644, allocations: 7.173 MB / 0.8226 GB, free: 4.508 MB / 0.6387 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)