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.001454/0.001454, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001769/0.001769, allocations: 199.2 kB / 16.26 MB, free: 6.621 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.378/1.378, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.654/1.654, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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: 68.27 kB / 0.671 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1923, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.004931/0.1973, allocations: 4.385 MB / 0.7872 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.1993, allocations: 1.061 MB / 0.7882 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006239/0.1999, allocations: 19.94 kB / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004763/0.2004, allocations: 138.7 kB / 0.7883 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006065/0.201, allocations: 87.27 kB / 0.7884 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006782/0.2017, allocations: 335.7 kB / 0.7888 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00114/0.2029, allocations: 1.151 MB / 0.7899 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008329/0.2037, allocations: 0.6629 MB / 0.7905 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.2041, allocations: 414.2 kB / 0.7909 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003073/0.2044, allocations: 481.3 kB / 0.7914 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.2045, allocations: 132 kB / 0.7915 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.2046, allocations: 124 kB / 0.7916 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.2048, allocations: 271.1 kB / 0.7919 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002997/0.2051, allocations: 0.5165 MB / 0.7924 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008883/0.206, allocations: 1.409 MB / 0.7938 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.206, allocations: 0 / 0.7938 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.206, allocations: 0 / 0.7938 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.206, allocations: 0 / 0.7938 GB, free: 2.668 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.001904/0.2079, allocations: 1.391 MB / 0.7951 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.208, allocations: 12.03 kB / 0.7951 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.2081, allocations: 123.4 kB / 0.7952 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/0.2088, allocations: 0.6256 MB / 0.7959 GB, free: 432 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/0.2089, allocations: 74.38 kB / 0.7959 GB, free: 356 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.209, allocations: 100.4 kB / 0.796 GB, free: 256 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.2104, allocations: 0.8984 MB / 0.7969 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.2104, allocations: 8.125 kB / 0.7969 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-05/0.2105, allocations: 43.94 kB / 0.797 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.2105, allocations: 24 kB / 0.797 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.2116, allocations: 0.6441 MB / 0.7976 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003425/0.2151, allocations: 2.864 MB / 0.8004 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.2161, allocations: 0.6872 MB / 0.8011 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005583/0.2167, allocations: 406.9 kB / 0.8015 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.2167, allocations: 12.64 kB / 0.8015 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006376/0.2174, allocations: 352.3 kB / 0.8018 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 2.384e-06/0.2174, allocations: 0 / 0.8018 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.001475/0.2189, allocations: 0.8405 MB / 0.8026 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/0.2189, allocations: 162.9 kB / 0.8028 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006368/0.2196, allocations: 0.6293 MB / 0.8034 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.2196, allocations: 45.69 kB / 0.8034 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.2199, allocations: 464.2 kB / 0.8039 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.2201, allocations: 252.2 kB / 0.8041 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.2202, allocations: 134.7 kB / 0.8043 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.2203, allocations: 330 kB / 0.8046 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/0.2208, allocations: 256.7 kB / 0.8048 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005029/0.2213, allocations: 378 kB / 0.8052 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008843/0.2222, allocations: 0.5574 MB / 0.8057 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2222, allocations: 0 / 0.8057 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001116/0.2233, allocations: 0.7465 MB / 0.8064 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.2233, allocations: 4 kB / 0.8065 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.2234, allocations: 3.984 kB / 0.8065 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.2234, allocations: 8 kB / 0.8065 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.224, allocations: 159.7 kB / 0.8066 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.224, allocations: 4 kB / 0.8066 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.2244, allocations: 107.2 kB / 0.8067 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.2244, allocations: 27.98 kB / 0.8067 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004522/0.2249, allocations: 362.7 kB / 0.8071 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003393/0.2252, allocations: 326.1 kB / 0.8074 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005731/0.2258, allocations: 490.8 kB / 0.8079 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.2258, allocations: 0 / 0.8079 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.000785/0.2266, allocations: 0.6411 MB / 0.8085 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.2266, allocations: 16.06 kB / 0.8085 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.2266, allocations: 0 / 0.8085 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/0.2266, allocations: 4 kB / 0.8085 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/0.2271, allocations: 139.8 kB / 0.8087 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2271, allocations: 7.938 kB / 0.8087 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.2274, allocations: 75.5 kB / 0.8087 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.2275, allocations: 20 kB / 0.8088 GB, free: 2.879 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,limPIDInp.trigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.2276, allocations: 232.1 kB / 0.809 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/0.2277, allocations: 82.91 kB / 0.8091 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.2279, allocations: 88.27 kB / 0.8091 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.2279, allocations: 8 kB / 0.8091 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.2279, allocations: 0 / 0.8091 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.2279, allocations: 3.984 kB / 0.8091 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.2299, allocations: 1.62 MB / 0.8107 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2299, allocations: 0 / 0.8107 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005538/0.2304, allocations: 139.8 kB / 0.8109 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.2305, allocations: 0 / 0.8109 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.2305, allocations: 15.98 kB / 0.8109 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2305, allocations: 4 kB / 0.8109 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2305, allocations: 0 / 0.8109 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.232, allocations: 1.061 MB / 0.8119 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.2322, allocations: 160 kB / 0.8121 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.575e-05/0.2322, allocations: 23.98 kB / 0.8121 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.2326, allocations: 35.97 kB / 0.8121 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/0.2326, allocations: 40.59 kB / 0.8122 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.2327, allocations: 23.98 kB / 0.8122 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000444/0.2331, allocations: 439.2 kB / 0.8126 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2331, allocations: 3.938 kB / 0.8126 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006246/0.2338, allocations: 338.3 kB / 0.8129 GB, free: 14.49 MB / 0.6387 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 (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.0001324/0.2339, allocations: 127.1 kB / 0.8131 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001713/0.2356, allocations: 0.9424 MB / 0.814 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2356, allocations: 192 / 0.814 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004502/0.2361, allocations: 311.6 kB / 0.8143 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000738/0.2368, allocations: 182.1 kB / 0.8144 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.2391, allocations: 2.044 MB / 0.8164 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.2395, allocations: 1.009 MB / 0.8174 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003136/0.2398, allocations: 89.92 kB / 0.8175 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.24, allocations: 59.42 kB / 0.8176 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.24, allocations: 0 / 0.8176 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of Templates: time 0.01215/0.2522, allocations: 7.854 MB / 0.8252 GB, free: 1.906 MB / 0.6387 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)