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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00121/0.00121, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.784/1.784, allocations: 292.5 MB / 0.5497 GB, free: 14.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.0005267/0.0005267, allocations: 14.28 kB / 0.6736 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2703, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.004174/0.2745, allocations: 3.681 MB / 0.7907 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.2765, allocations: 1.042 MB / 0.7917 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.2769, allocations: 27.88 kB / 0.7918 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.277, allocations: 83.02 kB / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005198/0.2775, allocations: 163.4 kB / 0.792 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.278, allocations: 263.7 kB / 0.7923 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008623/0.2789, allocations: 0.6793 MB / 0.7929 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000658/0.2795, allocations: 477.1 kB / 0.7934 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.2798, allocations: 250.5 kB / 0.7936 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.2801, allocations: 317.9 kB / 0.7939 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.404e-05/0.2802, allocations: 28 kB / 0.794 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.649e-05/0.2803, allocations: 24 kB / 0.794 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.2804, allocations: 139.3 kB / 0.7941 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.2806, allocations: 181.1 kB / 0.7943 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009022/0.2815, allocations: 1.091 MB / 0.7953 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2815, allocations: 0 / 0.7953 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2815, allocations: 0 / 0.7953 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.2815, allocations: 0 / 0.7953 GB, free: 3.484 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002146/0.2837, allocations: 1.243 MB / 0.7966 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.2837, allocations: 12.03 kB / 0.7966 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.2839, allocations: 130.4 kB / 0.7967 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008421/0.2848, allocations: 0.6015 MB / 0.7973 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.637e-05/0.2848, allocations: 70 kB / 0.7973 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.285, allocations: 100 kB / 0.7974 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.2866, allocations: 0.9134 MB / 0.7983 GB, free: 312 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.2866, allocations: 7.984 kB / 0.7983 GB, free: 304 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.593e-05/0.2867, allocations: 40 kB / 0.7984 GB, free: 264 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/0.2867, allocations: 20 kB / 0.7984 GB, free: 244 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.2881, allocations: 0.6754 MB / 0.7991 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004107/0.2922, allocations: 2.888 MB / 0.8019 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.2934, allocations: 0.7341 MB / 0.8026 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.2935, allocations: 8.656 kB / 0.8026 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006971/0.2942, allocations: 368.3 kB / 0.803 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 2.805e-06/0.2942, allocations: 0 / 0.803 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.001667/0.2958, allocations: 0.8757 MB / 0.8038 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/0.2959, allocations: 162.9 kB / 0.804 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008056/0.2968, allocations: 0.6255 MB / 0.8046 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.385e-05/0.2968, allocations: 45.69 kB / 0.8046 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.2972, allocations: 468 kB / 0.8051 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.2974, allocations: 248.3 kB / 0.8053 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.2974, allocations: 16 kB / 0.8053 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2976, allocations: 333.9 kB / 0.8056 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/0.2981, allocations: 257.9 kB / 0.8059 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/0.2987, allocations: 382 kB / 0.8062 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/0.2992, allocations: 299 kB / 0.8065 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2992, allocations: 0 / 0.8065 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001269/0.3005, allocations: 0.7661 MB / 0.8073 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001867/0.3007, allocations: 453 kB / 0.8077 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3007, allocations: 0 / 0.8077 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.3007, allocations: 4 kB / 0.8077 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.3014, allocations: 167.7 kB / 0.8079 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3014, allocations: 4 kB / 0.8079 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/0.3018, allocations: 119.2 kB / 0.808 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/0.3019, allocations: 20 kB / 0.808 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.3019, allocations: 11.95 kB / 0.808 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007905/0.3027, allocations: 0.5389 MB / 0.8086 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3027, allocations: 7.984 kB / 0.8086 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.65e-06/0.3027, allocations: 7.938 kB / 0.8086 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/0.3032, allocations: 135.8 kB / 0.8087 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3032, allocations: 8 kB / 0.8087 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.3035, allocations: 87.48 kB / 0.8088 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.3036, allocations: 20 kB / 0.8088 GB, free: 5.32 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,$whenCondition1,limPIDInp.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0003516/0.3039, allocations: 309.6 kB / 0.8091 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.304, allocations: 82.92 kB / 0.8092 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.3042, allocations: 92.27 kB / 0.8093 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.3042, allocations: 11.98 kB / 0.8093 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.3042, allocations: 0 / 0.8093 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3042, allocations: 0 / 0.8093 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.3066, allocations: 1.656 MB / 0.8109 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3066, allocations: 0 / 0.8109 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/0.3072, allocations: 143.8 kB / 0.811 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.3072, allocations: 4 kB / 0.811 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.572e-05/0.3073, allocations: 16 kB / 0.8111 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3073, allocations: 4 kB / 0.8111 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3073, allocations: 4 kB / 0.8111 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.309, allocations: 1.1 MB / 0.8121 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.3092, allocations: 164 kB / 0.8123 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/0.3093, allocations: 16 kB / 0.8123 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.3096, allocations: 56.14 kB / 0.8124 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.157e-05/0.3097, allocations: 36.61 kB / 0.8124 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.3098, allocations: 27.92 kB / 0.8124 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005214/0.3103, allocations: 439 kB / 0.8128 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3103, allocations: 0 / 0.8128 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007288/0.311, allocations: 330.2 kB / 0.8132 GB, free: 0.7578 MB / 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 (74): * Single equations (assignments): 74 * 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.0001804/0.3112, allocations: 135.1 kB / 0.8133 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001659/0.3129, allocations: 0.9308 MB / 0.8142 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3129, allocations: 0.5 kB / 0.8142 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005303/0.3134, allocations: 331.6 kB / 0.8145 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007319/0.3142, allocations: 137.8 kB / 0.8146 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.3168, allocations: 1.984 MB / 0.8166 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/0.3174, allocations: 1.029 MB / 0.8176 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003332/0.3177, allocations: 93.84 kB / 0.8177 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.3179, allocations: 63.42 kB / 0.8177 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of SimCode: time 7.71e-07/0.3179, allocations: 4 kB / 0.8177 GB, free: 12 MB / 0.6387 GB Notification: Performance of Templates: time 0.01453/0.3324, allocations: 7.134 MB / 0.8247 GB, free: 4.938 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: